Re: [webrtc-pc] order of transceivers, senders/receivers?

@alvestrand A use-case would be:
```js
pc.addTransceiver("audio");
pc.addTransceiver("video");
pc.getTransceivers()[0].direction = "recvonly";
pc.getTransceivers()[1].direction = "inactive";
```
Of course there are other ways to write it, but this is a convenient way to keep track of transceivers.

In fact, Firefox's [own tests](https://reviewboard.mozilla.org/r/171860/diff/13#index_header) rely on this pattern, even though it is not standard.

Another way to look at: if this ends up working in all browsers, we should probably standardize it.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1669#issuecomment-347609280 using your GitHub account

Received on Tuesday, 28 November 2017 17:58:54 UTC