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

[webrtc-pc] example 13: getReceivers semantics

From: Philipp Hancke via GitHub <sysbot+gh@w3.org>
Date: Mon, 17 Apr 2017 08:33:05 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-222090841-1492417983-sysbot+gh@w3.org>
fippo has just created a new issue for https://github.com/w3c/webrtc-pc:

== example 13: getReceivers semantics ==
http://w3c.github.io/webrtc-pc/#peer-to-peer-example-with-media-before-signaling
essentially does this:
```
    pc.addTrack(...)
    pc.addTrack(...)
    pc.getReceivers().forEach(...)
```
Firefox returns an empty array of receivers at this point. Chrome 59 (after addStream) returns an empty array as well.

Is the example wrong or the implementations?

@jan-ivar @henbos

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1128 using your GitHub account
Received on Monday, 17 April 2017 08:33:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:50 UTC