palavatv / palava

palava browser-to-browser video
https://palava.tv
30 stars 3 forks source link

Renegotiation #39

Open farao opened 4 years ago

farao commented 4 years ago

To be able to add streams after the peer connection is already established, we need to add renegotiation: https://blog.mozilla.org/webrtc/perfect-negotiation-in-webrtc/

For example, this is the precondition to be able to turn on screen sharing during a conversation because the screen sharing stream needs to be added to the peer connection when the user starts it.