Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove legacy offerOptions.mandatory #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

remove legacy offerOptions.mandatory #37

wants to merge 1 commit into from

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