[Live-devel] Handing the disconnection of LiveSource in RTSP server
林柏昇
personlin at edimax.com.tw
Tue Jun 14 22:12:41 PDT 2022
Hi Ross,
To continus this issue.
Our server media session has two LiveSources, that one is a video, and
another is audio.
The disconnection occurred by the video device, so the audio channel is
fine.
Regarding this situation, the RTSP server doesn't disconnect all clients
well due to any source being alive.
Do you have suggestions for our application?
If we want any live source is disconnected, we want to drop all clients.
Best Regards,
Person Lin
IoT BU/ R&D Div.
EDIMAX Technology Co., Ltd.
Tel: 886-2-7739-6888 ext.6957
林柏昇 <personlin at edimax.com.tw> 於 2022年6月13日 週一 下午5:09寫道:
> Hi Rose,
> Thank you for your help. It is working and straightforward to be done.
>
> Best Regards,
>
> Person Lin
>
> IoT BU/ R&D Div.
> EDIMAX Technology Co., Ltd.
> Tel: 886-2-7739-6888 ext.6957
>
>
> Ross Finlayson <finlayson at live555.com> 於 2022年6月12日 週日 下午2:33寫道:
>
>>
>>
>> > 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/
>>
>>
>> _______________________________________________
>> live-devel mailing list
>> live-devel at lists.live555.com
>> http://lists.live555.com/mailman/listinfo/live-devel
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20220615/108c13a2/attachment.htm>
More information about the live-devel
mailing list