sfu icon indicating copy to clipboard operation
sfu copied to clipboard

Is there any way to unsubscribe to client tracks?

Open moksh-samespace opened this issue 1 year ago • 3 comments
trafficstars

moksh-samespace avatar Aug 08 '24 20:08 moksh-samespace

There is no specific method for unsubscribe without stop the connection. But will consider to add it. For now you can stop the transceiver https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpTransceiver/stop

tyohan avatar Aug 11 '24 17:08 tyohan

Thanks, @tyohan . Do you have any suggestions on how I can resume it agin? I’m planning to use it for a contact center solution that includes a hold/unhold function.

moksh-samespace avatar Aug 11 '24 19:08 moksh-samespace

Ah I think I answered that question on Pion slack.

tyohan avatar Aug 12 '24 02:08 tyohan