This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |
lwc:networking:webrtc [2025/01/22 17:02] – John Harrison | lwc:networking:webrtc [2025/01/23 15:42] (current) – John Harrison |
---|
* 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'' |