Ticket #1098 (closed bug: fixed)
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
Note: See
TracTickets for help on using
tickets.

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 ..