[Live-devel] how to add a control line into sdp file

Ross Finlayson finlayson at live.com
Wed Apr 7 19:23:40 PDT 2004


At 03:01 AM 4/7/04, you wrote:
>i want to add a control line in the sdp description file "a=....:......" 
>before the "m=......." line;
>can you tell how can i add it, i mean where can i add it in the RTSPServer.

Note that the RTSP server (actually, "ServerMediaSession" and subclasses) 
implementation already adds "a=control:" lines to its SDP descriptions - so 
you probably don't need to add new "a=control:" lines of your own.

But anyway, a session-level 'wildcard' "a=control:" line is added in 
"ServerMediaSession.cpp", and media-level "a-control:" lines (one for each 
media  'subsession' in the stream) are added in 
"PassiveServerMediaSubsession.cpp" (for multicast streams), and 
"OnDemandServerMediaSubsession.cpp" (for unicast streams).


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



More information about the live-devel mailing list