[Live-devel] On Demand RTSP Server

Ross Finlayson finlayson at live.com
Thu Jan 22 16:57:02 PST 2004


>It works just fine. But i have another scenario.
>- My application is a SIP application. And offer the
>SDP for both
>media(audio and video) with two different ports.
>    Let say m=audio 1234 RTP/AVP 0 and m=video 1236
>RTP/AVP 31.
>     For this case i create 2 different RTSPServer for
>each port with
>same environment and taskscheduler. Is this right?

No.  As I said in my last message:
         "If you want to include two media types (e.g., audio and video) 
within a single RTSP-initiated stream, then you should create just one 
"RTSPServer" object, and one "ServerMediaSession" object, but add two 
separate "ServerMediaSubsession" objects to it.  For an example of this, 
see the "vobStreamer" implementation."

But, more importantly, note that RTSP and SIP are different protocols (even 
though they have a lot in common).  A RTSP server will *not* be able to 
handle SIP calls.

At some point in the future, it's likely that a SIP server will be added to 
the "LIVE.COM Streaming Media" software distribution, but this is currently 
not a funded project.

>-  Second, can one RTSPServer that already streamed
>data to a client,
>stream to another client? So there will be more than
>one client streaming
>    from the server.

Yes.  The "testOnDemandRTSPServer" lets you do just this.  Try it and see...


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



More information about the live-devel mailing list