[FFmpeg-user] rtsp streams stop after ~80 seconds

Tommy Winther tommy at net-comm.dk
Sun Feb 19 19:35:26 CET 2012


Hey, I'm having problem with rtsp streams for a specific provider.
The streams stop after ~80 seconds.

This is an example stream url, but it only works for a short while and
for customers of the provider.
rtsp://62.242.233.129/rtpencoder/e20_wcif.sdp?ir=850000&life=0&ttl=20&ip&gtime=1327344362&tn=key5&guid=bCZhgCggQC//0Q==ACEow69c&da=0&key=/dznsJ2d8FNZV0iCnjmWqw==

With the attached patch - a one-line change - 
the streams plays correctly, but I'm wondering if this is just a
workaround for a different problem.

It looks like the keep-alive is sent using an incorrect session id,
which causes the stream to stop.

I have also opened a trac ticket a while back with tcpdump of the
communication without the patch applied.
https://ffmpeg.org/trac/ffmpeg/ticket/945

Br.
Tommy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtsp-fix.patch
Type: text/x-patch
Size: 631 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20120219/9c296e9d/attachment.bin>


More information about the ffmpeg-user mailing list