AxisCommunications / locomote-video-player

Media Player in Adobe Flash with RTSP support. (THIS PROJECT IS NO LONGER MAINTAINED)
BSD 3-Clause "New" or "Revised" License
133 stars 79 forks source link

Don't force a close on POST channel after 2s #192

Closed RHammar closed 7 years ago

RHammar commented 7 years ago

Most browsers only allow a specific number of concurrent open requests. If mulitple locomote players are used, that number might be reached. Keeping the POST channel open unnecessary long might impact the time it takes to setup the RTSP session. Also, when forcing a close on the POST channel after a given time the request might never have been sent. Instead the POST channel is only closed once the next request is about to be sent.