[Live-devel] Streaming from subdirectories not working with embedded RTSP player

Jos Huybrighs jhuybrighs at hotmail.com
Mon Oct 10 03:54:09 PDT 2011


Ross,
Thanks for the prompt feedback.I tried now with 0.72 but the problem still occurs. Wit the embedded RTSP player of the setop box (player software coming from Broadcom I think) I still get a "404 Stream Not Foud" response on the SETUP request.
Here is the RTSP dump (exported from wireshark):
----- Dump begin ------------------------------------------------------------------
>>Real Time Streaming Protocol    Request: OPTIONS * RTSP/1.0\r\n    CSeq: 1\r\n    User-Agent: Pisces1xx.XAVi\r\n    \r\n
<<Real Time Streaming Protocol    Response: RTSP/1.0 200 OK\r\n    CSeq: 1\r\n    Date: Mon, Oct 10 2011 08:44:04 GMT\r\n    Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER\r\n    \r\n
>>Real Time Streaming Protocol    Request: DESCRIBE rtsp://192.168.0.195/Videos/TransportStreams/lim_original.ts RTSP/1.0\r\n    CSeq: 2\r\n    Accept: application/sdp\r\n    User-Agent: Pisces1xx.XAVi\r\n    \r\n
<<Real Time Streaming Protocol    Response: RTSP/1.0 200 OK\r\n    CSeq: 2\r\n    Date: Mon, Oct 10 2011 08:44:04 GMT\r\n    Content-Base: rtsp://192.168.0.195/Videos/TransportStreams/lim_original.ts/\r\n    Content-type: application/sdp    Content-length: 457    \r\n    Session Description Protocol        Session Description Protocol Version (v): 0        Owner/Creator, Session Id (o): - 1318236186194340 1 IN IP4 192.168.0.195        Session Name (s): MPEG Transport Stream, streamed by the LIVE555 Media Server        Session Information (i): Videos/TransportStreams/lim_original.ts        Time Description, active time (t): 0 0        Session Attribute (a): tool:LIVE555 Streaming Media v2011.08.13        Session Attribute (a): type:broadcast        Session Attribute (a): control:*        Session Attribute (a): range:npt=0-        Session Attribute (a): x-qt-text-nam:MPEG Transport Stream, streamed by the LIVE555 Media Server        Session Attribute (a): x-qt-text-inf:Videos/TransportStreams/lim_original.ts        Media Description, name and address (m): video 0 RTP/AVP 33        Connection Information (c): IN IP4 0.0.0.0        Bandwidth Information (b): AS:5000        Media Attribute (a): control:track1
>>Real Time Streaming Protocol    Request: SETUP rtsp://192.168.0.195/Videos/TransportStreams/lim_original.ts RTSP/1.0\r\n    CSeq: 3\r\n    Transport: RTP/AVP;unicast;client_port=55554-55555    User-Agent: Pisces1xx.XAVi\r\n    \r\n
<<Real Time Streaming Protocol    Response: RTSP/1.0 404 Stream Not Found\r\n    CSeq: 3\r\n    Date: Mon, Oct 10 2011 08:44:04 GMT\r\n    \r\n
----- Dump end ------------------------------------------------------------------
As you can see, the RTSP client is not passing 'track1' in the SETUP url.
Any thoughts on this?
Jos

From: finlayson at live555.com
Date: Mon, 10 Oct 2011 00:46:49 -0700
To: live-devel at ns.live555.com
Subject: Re: [Live-devel] Streaming from subdirectories not working with	embedded RTSP player



I read in the history notes that starting from v.0-71 streaming from a subdirectory (like in: rtsp://<host>/MyVideos/MyStreams/a-video.ts) now works.I can confirm that it indeed works with the VLC player, but unfortunately not with the RTSP player I am working with on an embedded device (a browser-based setop box).
You should consider using our own RTSP client implementation; several people/organizations have already used it for embedded devices.
In any case, there is now a new version (0.72) of the "LIVE555 Media Server" (that uses a new version 2011.10.09 of the "LIVE555 Streaming Media" source code) that better supports subdirectories in "rtsp://" URLs.  If you use this new version, you may find that streaming from subdirectories works for you now.
But if this still doesn't work, then please post (to this mailing list) an example of the RTSP protocol exchange that fails for you, and I'll take a look at it.  (Alternative, you could just use our RTSP client implementation, because it is known to work OK :-)


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/



_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111010/8f41902d/attachment-0001.html>


More information about the live-devel mailing list