Skip to content

remove legacy offerOptions.mandatory#37

Open
fippo wants to merge 1 commit intomasterfrom
remove-cruft
Open

remove legacy offerOptions.mandatory#37
fippo wants to merge 1 commit intomasterfrom
remove-cruft

Conversation

@fippo
Copy link
Member

@fippo fippo commented Apr 19, 2018

also the webrtc bug indicated seems not to exist anymore

also the webrtc bug indicated seems not to exist anymore
@fippo fippo requested a review from legastero April 19, 2018 18:50
@fippo
Copy link
Member Author

fippo commented Apr 19, 2018

var pc = new RTCPeerConnection();
navigator.mediaDevices.getUserMedia({audio: true})
  .then(s => pc.addTrack(s.getTracks()[0], s))
  .then(() => pc.createOffer({offerToReceiveAudio: false}).then(offer => console.log(offer.sdp)));

generates a a=sendonly mediaSection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants