lwc:networking:webrtc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
lwc:networking:webrtc [2025/01/22 17:02] John Harrisonlwc:networking:webrtc [2025/01/23 15:42] (current) John Harrison
Line 60: Line 60:
   * the ''"sdp": "v=0\r\n...",'' stuff is about agreeing on what protocols, types of messages, etc. And SDP is currently at version 0   * the ''"sdp": "v=0\r\n...",'' stuff is about agreeing on what protocols, types of messages, etc. And SDP is currently at version 0
   * the tutorialspoint example does not use the "name" label when negotiating candidates. Is that because the offer and answer have already happened so both clients know the other client is the one offering the candidates?   * the tutorialspoint example does not use the "name" label when negotiating candidates. Is that because the offer and answer have already happened so both clients know the other client is the one offering the candidates?
-  + 
 +==== Notes ==== 
 +  when we connect to the STUN server we need to give it info on the type of data we are sending 
 +    * straight-up data: use ''openDataChannel'' and ''onDataChannel'' 
 +    * audio or video: use ''addTrack'' and ''onTrack''
  • lwc/networking/webrtc.1737586921.txt.gz
  • Last modified: 2025/01/22 17:02
  • by John Harrison