Re: [webrtc-pc] Should the spec describe addStream/onaddstream as legacy API?

btw, trying to shim addTrack on top of addStream (kids, do not try this at home) in Chrome it turned out that 
```
pc.addTrack(audioStream, audiovideoStream);
pc.getLocalStreams()[0].getTracks(); // contains audio and video
```
is somewhat consistent and that
```
pc.addTrack(audioStream, someStream)
...
stream = pc.getLocalStreams()[0];
stream.addTrack(videostream)
pc.addTrack(videostream, stream)
```
is how people use the combination in the wild.

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

Received on Thursday, 15 June 2017 11:54:16 UTC