[Live-devel] add and REMOVE ServerMediaSessions to a RTSP

vincent van der locht vincent.van.der.locht at axon.tv
Mon Sep 27 10:04:25 PDT 2004


Hi,

I've already looked at the code to make these changes. What i've added 
is the possibility to add a timeout to a ServerMediaSession.
If the stream is not used for the timeout, it will be deleted. This 
works for me, there are 2 problems. first it's not quiet easy to cleanly 
remove a SMS,
and second of all, I use scheduleDelayedTask (int microseconds, TaskFunc 
*proc, void *clientData)=0. it would nice if the delay isn't in usec, 
but in a timeval variable. So also big steps are possible. Now you can 
have a max. delay of (MAX_INT32) usec.

We could excange ideas and code to make a good sollution.

grtz,
Vincent

>Date: Fri, 24 Sep 2004 12:50:18 -0700
>From: Ross Finlayson <finlayson at live.com>
>Subject: Re: [Live-devel] add and REMOVE ServerMediaSessions to a RTSP
>	server
>
>  
>
>>i'm writing a RTP/RTSP server, which has to add and remove Sessions 
>>(onDemandSessions) from a RTSP server. Is there a clean way to do this?
>>    
>>
>
>There's no support for this at present.  However, back in July Greg Bothe 
>made a suggestion about how to do this.  (Removing a session from a RTSP 
>server is non-trivial, because of the possibility that the session is 
>currently being played.)
>
>I'll review Greg's earlier suggestion, and see if I can add this to the 
>library soon.
>
>
>	Ross Finlayson
>	LIVE.COM
>	<http://www.live.com/>
>
>  
>



The information contained in this communication is confidential and is intended solely for the use of the individual or entity to whom it is addressed. Axon Digital Design Group is neither liable for the proper nor for the complete transmission of the information contained in this communication nor for any delay in its receipt. Axon Digital Design Group does not guarantee that the integrity of this communication has been maintained nor that the communication is free of viruses, interceptions or interference. If you are not the intended recipient of this communication, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited. In that case please return the communication to the sender and delete and destroy all copies. In carrying out its engagements, Axon Digital Design Group applies general terms and conditions, which contain a clause that limits its liability. A copy of these terms and conditions is available on request free of charge.





More information about the live-devel mailing list