> 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