W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > April 2019

Re: [webrtc-pc] transceiver.stop() needs more work (avoid BUNDLE footgun) (#2150)

From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
Date: Wed, 17 Apr 2019 19:29:59 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-484229131-1555529398-sysbot+gh@w3.org>
> ```js
> const pc = new RTCPeerConnection(config);
> const dummy = pc.addTransceiver("audio", {direction: "inactive"});
> ```

Even this workaround has wrinkles: it [won't work](https://jsfiddle.net/jib1/6ct0b8fq/33/) with *addTrack* which will reuse the dummy.

if we get around that, having both ends do this, means we end up with *two* extra m-lines, not one.

GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2150#issuecomment-484229131 using your GitHub account
Received on Wednesday, 17 April 2019 19:30:01 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:47 UTC