Last active
January 17, 2018 19:50
-
-
Save cozzbie/c5c0f46ec2fcee4dd7a90eb6924dd258 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alice.createOffer({ offerToRecieveAudio: 1, offerToReceiveVideo: 1 }) | |
.then(function(description){ | |
// Alice adds the description as her local description. | |
alice.setLocalDescription(new RTCSessionDescription(description)); | |
// Alice then sends this description to Bob. This action is seen as the 'call' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment