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

Re: [webrtc-pc] Remove stopped transceivers from getTransceivers() (#2092)

From: henbos via GitHub <sysbot+gh@w3.org>
Date: Thu, 14 Feb 2019 12:52:45 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-463616236-1550148764-sysbot+gh@w3.org>
Unless I'm missing something, even your own example doesn't care about the indices, it does this:
```
    let transceivers = [
      pc1.addTransceiver(camStream.getVideoTracks()[0]),
      pc1.addTransceiver(camStream.getAudioTracks()[0]),
      pc1.addTransceiver(noise)
    ];
```
And then wires pc.ontrack in such a way that I don't think the order of things firing or the transceiver indices matters.

-- 
GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2092#issuecomment-463616236 using your GitHub account
Received on Thursday, 14 February 2019 12:52:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 4 June 2019 15:32:55 UTC