- From: Philipp Hancke via GitHub <sysbot+gh@w3.org>
- Date: Wed, 08 Nov 2017 06:57:20 +0000
- To: public-webrtc-logs@w3.org
Similar to (1): ``` const pc = new RTCPeerConnection(); pc.createOffer({offerToReceiveAudio: true}) .then(offer => { const transceiver = pc.getTransceivers()[0]; console.log(offer.sdp); console.log(transceiver.direction); }) ``` I would expect a recvonly sdp but there is nothing in the legacy offerToReceive text that talks about direction. The fix (for both this and (1) from the initial question) is probably to have addTransceiver with kind set the direction to recvonly. -- GitHub Notification of comment by fippo Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1662#issuecomment-342727739 using your GitHub account
Received on Wednesday, 8 November 2017 06:57:27 UTC