Re: [webrtc-pc] How reuse transceiver (#2639)

`transceiver.stop()` will irreversible stop the transceiver so that it cannot be reused.

`transceiver.direction = "inactive"` or `"recvonly"` (which is also what happens when you do pc.removeTrack(sender)) on the sender side is reversible.

You can reuse transceivers with...

transceiver.direction = "sendonly" or "sendrecv"
await transceiver.sender.replaceTrack(newTrack);
/* perform O/A */

GitHub Notification of comment by henbos
Please view or discuss this issue at using your GitHub account

Sent via github-notify-ml as configured in

Received on Thursday, 25 March 2021 08:52:41 UTC