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

Re: [webrtc-pc] offerToReceive* legacy behaviour spec does not match the behaviour of legacy implementations

From: Philipp Hancke via GitHub <sysbot+gh@w3.org>
Date: Thu, 15 Jun 2017 08:03:05 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-308659172-1497513784-sysbot+gh@w3.org>
I checked (1) in both Chrome (beta with experimental web platform features flag) and Firefox.
```
var pc = new RTCPeerConnection(); pc.createOffer({offerToReceiveAudio: true}).then(function(offer) { console.log(pc.getReceivers()); })
```
both return an empty array.

-- 
GitHub Notification of comment by fippo
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1383#issuecomment-308659172 using your GitHub account
Received on Thursday, 15 June 2017 08:04:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 4 June 2019 15:32:44 UTC