Ticket #1098 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

RTMP keeps two connections open instead of one

Reported by: pablo Owned by: jeroen
Priority: Milestone: Player 5.4
Component: flash Keywords:
Cc: Forum thread: http://www.longtailvideo.com/support/forums/jw-player/bug-reports/14858/redirect-load-balancing-with-jw-player-53

Description

From Prâsad:

it's not really a problem if content is only pulled from one connection, however, it overloads the server by maintaining this two connections. Is there any reason to keep two connections?

Since there isn't a great reason to keep both the RTMP and RTMPT connections open after one of them has successfully connected, we should close the other one.

Change History

comment:1 Changed 3 years ago by jeroen

  • Owner set to jeroen
  • Component changed from embedder to flash

That should be easy to do - when one connection succeeds, schedule the other for closure. Need to see if a connection can be closed befor it is opened though, or that'll result in an error again. RTMP .. aargh ..

comment:2 Changed 3 years ago by jeroen

  • Status changed from new to closed
  • Resolution set to fixed

Fixed by closing the connection that lost the rtmp/rtmpt race.

Note: See TracTickets for help on using tickets.