> On Jun 11, 2022, at 8:16 PM, 林柏昇 <[email protected]> wrote: > > We want to make disconnections with all current RTSP clients who conducted to > this source only if happens a disconnection between the source and our device. > What can I do?
You can do this by closing (using “Medium::close()”) the input device (i.e., the instance of your “FramedSource” subclass). If you do this, then a RTCP “BYE” will get sent to each client that is currently streaming from the source. (Each client will usually handle this by closing its connection.) Ross Finlayson Live Networks, Inc. http://www.live555.com/ _______________________________________________ live-devel mailing list [email protected] http://lists.live555.com/mailman/listinfo/live-devel
