Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Create PeerConnection and prepare the room config for the creation of session and room

code

Code Block
languagejs
themeRDark
//create peer connection
const pc = new RTCPeerConnection();
//get config object for room creation
const roomConfig = cControls.roomConfig();
roomConfig.pc = pc;

...