Skip to content
Commit b7192d90 authored by Daniel Calviño Sánchez's avatar Daniel Calviño Sánchez
Browse files

Make possible to block the video of a receiver peer



Remote video can be blocked and allowed again by adjusting the direction
of the video transceiver of RTCPeerConnections, which triggers a
"negotiationneeded" event. When a negotiation is needed a new exchange
of offers and answers needs to be made between the peers.

Renegotiations need to be supported by both peers, so currently this is
available only with the HPB, and only on versions that support the
"subscriber-update" feature.

When the HPB is being used "negotiationneeded" event causes a new offer
to be requested, which will be an update if the HPB supports it. Updates
rather than new connections are needed to prevent an audio interruption
while the connection changes.

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent 9d0abd49
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment