5,343
edits
Line 39: | Line 39: | ||
Next the local and remote clients exchange descriptions: | Next the local and remote clients exchange descriptions: | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
const localOffer = await localConnection.createOffer(); | const localOffer = await localConnection.createOffer(); | ||
Line 57: | Line 56: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
* Note that both clients can continue to update descriptions as the network updates. | |||
*: As long as the signalling is setup correctly, you don't need to worry about what RTCPeerConnection is doing under the hood. | |||
{{ hidden | RTCPeerConnection Example | | {{ hidden | RTCPeerConnection Example | |