- From: Philipp Hancke via GitHub <sysbot+gh@w3.org>
- Date: Wed, 14 Aug 2019 07:57:28 +0000
- To: public-webrtc-logs@w3.org
You're a bit meta by clarifying the example on the example, no? :-) The example remains wrong though, see also #1709: ``` remoteView.srcObject = new MediaStream(pc.getReceivers().map((r) => r.track)); ``` is called in start() which is immediately after the peerconnection creation. Since there are no calls to addTransceiver, `pc.getReceivers()` will return `[]` and the result is not useful. I still think removing it (as proposed in #1926) is easier than coming up with something that is not confusing. Maybe @jan-ivar can be convinced to write a blog post instead? -- GitHub Notification of comment by fippo Please view or discuss this issue at https://github.com/w3c/webrtc-pc/pull/2266#issuecomment-521143165 using your GitHub account
Received on Wednesday, 14 August 2019 07:57:31 UTC