[Live-devel] Handing the disconnection of LiveSource in RTSP server

Ross Finlayson finlayson at live555.com
Sat Jun 11 23:33:52 PDT 2022



> On Jun 11, 2022, at 11:22 PM, 林柏昇 <personlin at edimax.com.tw> wrote:
> 
> Do I have to reconstruct the corresponding server media session and rebind them if I use Medium::close in my instance of FrameSource subclass?

No - the existing “ServerMediaSession” (and “ServerMediaSubsession”) objects can remain as is.  The server code should automatically create a new instance of your “FramedSource” subclass (by calling “createNewStreamSource()”) if a new client decides to connect to the server.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the live-devel mailing list