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

RTSPoverTCPHandle stops receiving data after 30 seconds #141

Closed aalbericio closed 4 years ago

aalbericio commented 9 years ago

Hello,

I'm evaluating this video player to connect to an RTSP stream.

The player starts playing as expected but, after 30 seconds of receiving data, it just stops receiving new one, then:

1) The buffer plays after it becomes Empty (which is fine) 2) The player is stopped after a time-out without receiving any data (which is fine)

Traces on onData(event:ProgressEvent) shows this behaviour but I'm not really sure if there is something wrong/missing with this class or there is a some kind of "proxy-in-the-middle" closing (well, not really closing the connection at all but pausing it) the socket connection.

I have also tried to set up a "keep-alive" to write channel.write somthing with no luck. The message is send but the socket pauses receiving data after those 30 seconds.

No error events are received but just that PAUSE on receiving data that silently "closes" the player for reason 2).

Thank you.

noseglid commented 9 years ago

Look at #145 , is the timeout function called for you aswell? That would indicate that the server is not sending data. Perhaps a SET_PARAMETER keep alive would work for you too?