[Live-devel] SDP Question
Ross Finlayson
finlayson at live555.com
Tue Jan 17 15:20:30 PST 2012
> 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120117/50a9138c/attachment.html>
More information about the live-devel
mailing list