>    In my RTSP server, I create a ServerMediaSession with 
> ServerMediaSubsession for H.264 video stream. Somehow, I need to turn audio 
> on later while streaming. I can add a ServerMediaSubsession into the 
> ServerMediaSession, so the ServerMediaSession has 2 sub-sessions. But in this 
> case, the player client is not aware of that the audio is on now. Per my 
> understanding, the RTSP server shall notify the client by sending ANNOUNCE 
> command with new SDP payload. So, is there anyway to let RTSP to do so?

No, not with our software (or any other software that I'm aware of).  The 
"ANNOUNCE" RTSP command has always been optional, and is barely implemented by 
anyone.  Our library allows a RTSP client to send an "ANNOUNCE" command to the 
server, but we do not support a server sending an "ANNOUNCE" command to the 
client, nor do we have any way for the client to handle such a command.

Your best solution would be to create your "ServerMediaSession" initially with 
an audio "ServerMediaSubsession", even if the audio stream doesn't actually 
exist at first.  Then later, if you wish, you can actually start streaming the 
audio, and clients should start playing it.


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