I just realized what the issue was. In this particular case, the SDP file is 
used to receive an old RTSP stream that is being looped via sending a pcap of 
the video. Seeing as there is no RTSP server to communicate with, that part 
isn't used but everything else regarding the session, subsession, and sink is 
fine (for anyone trying to follow along: see testRTSPClient). By changing that 
"0.0.0.0" to the IP address that the video was being streamed to, the sink was 
able to find and receive the video. I am grateful for your help and prompt 
responses, Ross.

Keep up the good work.
-Neil

From: live-devel-boun...@ns.live555.com 
[mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson
Sent: Tuesday, January 17, 2012 6:21 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] SDP Question

I'm trying to add the functionality of opening a video stream given an SDP file 
like the one included. Given that there's no URL, it doesn't seem possible to 
parse it for the RTSP URL then initialize the RTSPClient; however, if you look 
at the SDP file, there isn't a URL to find.

Is there a way to figure this out using the MediaSession as it is created using 
a sdp description?

Well, you could do this if the SDP description was for a multicast stream, 
because then the SDP description would contain the IP multicast address in its 
"c=" line.

However, in your case the "c=" line contains only the 'null' address "0.0.0.0", 
which usually means that an additional control protocol (like RTSP or SIP) is 
necessary to set up the reception of the stream.

So the real question here is: Where is this video stream coming from?  And how 
did you get this SDP description?  If the stream's server supports RTSP, then 
you should be able to access directly using a RTSP client (which means that the 
SDP description gets processed internally, and you shouldn't need to concern 
yourself with it).  But if the stream's server *doesn't* support RTSP, then how 
did you get the SDP description?

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

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to