Skip to content

Instantly share code, notes, and snippets.

@41y08h
Last active April 5, 2022 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 41y08h/fe3e14ae861570355b2ec336352d1d9d to your computer and use it in GitHub Desktop.
Save 41y08h/fe3e14ae861570355b2ec336352d1d9d to your computer and use it in GitHub Desktop.
Web RTC Signaling
Initiate CALLER.
Create data channel.
CALLER - Create offer.
CALLER - Set the offer created as local description.
Grab the CALLER's local description.
Initiate CALLEE.
CALLEE - Set the CALLER's local description as remote description.
CALLEE - Create an answer offer.
CALLEE - Set the answer offer created as local description.
Grab the CALLEE's local description.
CALLER - Set the CALLEE's local description as remote description.
Picture Illustration - https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Signaling_and_video_calling/webrtc_-_signaling_diagram.svg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment