[Live-devel] one source, multiple resolutions

Ross Finlayson finlayson at live.com
Mon Aug 29 10:04:45 PDT 2005


>I would like to use the same video source, but stream at different 
>resolutions, depending on which URL the user chooses. Is there a 
>ready hook in the RTSP implementation that lets me determine that a 
>stream associated with the URL is being accessed, so I can 
>reconfigure the video source on-the-fly?

Yes, a "RTSPServer" can contain several different 
"ServerMediaSession" objects, each with a different stream name (and 
thus, different URL).  See, for example, the code for the 
"testOnDemandRTSPServer" demo application, which does just this.


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>



More information about the live-devel mailing list