W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > July 2017

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

From: Philipp Hancke via GitHub <sysbot+gh@w3.org>
Date: Mon, 03 Jul 2017 16:28:03 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-312688445-1499099282-sysbot+gh@w3.org>
@jan-ivar @youennf  actually addStream is not quite as simple (at least when used together with addTrack), see @henbos' comment [here](https://github.com/webrtc/adapter/pull/610#discussion_r125317404)
```
pc.addTrack(video, audioVideoStream);
pc.addStream(audioVideoStream)
```
must not throw an error while changing pc.getSenders().

-- 
GitHub Notification of comment by fippo
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1125#issuecomment-312688445 using your GitHub account
Received on Monday, 3 July 2017 16:28:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:21:40 UTC