Closed birme closed 1 year ago
Commit (https://github.com/Eyevinn/srt-whep/commit/81fb1195d591e795cc92ad783fb33842ce189bb4) tried to handle disconnects from SRT clients. When we are in listener mode and the client (caller) disconnects, we reset the pipeline so another client could connect.
Changes are:
Problems:
Possible solutions are:
Some updates on this issue:
It will be difficult from the player side to send a DELETE when the browser tab is closed. We should have a mechanism that removes viewer resources that are idle. What if all viewer resources are removed when the SRT input is lost?
Some updates on this issue:
Right now all viewer resources are removed when the SRT input is lost.
A better approach is to monitor 'consumer-added/removed' signal from webrtcbin but it seems not to work as expected. Will keep investigating on that.
When running in listener mode it needs to handle connect and disconnects from SRT client (in caller mode)