RemoteVideo

The RemoteVideo model allows the local participant to locally start and stop remote participants` video streams transmission.

This model is supported only in SDK 3.7 and later.

Methods

start

start(participant: VTParticipant, completion: ((_ error: NSError) -> Void)?)

If the local participant used the stop method to stop receiving video streams from selected remote participants, the start method allows the participant to start receiving video streams from these participants. The start method does not impact the video transmission between remote participants and a conference and does not allow the local participant to force sending remote participants’ streams to the conference or to the local participant.

The start method requires a few seconds to become effective and is not available for mixed listeners.

Parameters:

NameTypeDescription
participantVTParticipantThe selected remote participants whose video streams the local participant would like to receive.
completion((_ error: NSError) -> Void)?The block to execute when the query completes.

stop

stop(participant: VTParticipant, completion: ((_ error: NSError) -> Void)?)

Allows the local participant to stop receiving video from specific remote participants. This method does not impact audio transmission between remote participants and a conference and does not allow the local participant to stop sending remote participants’ streams to the conference.

The stop method requires a few seconds to become effective and is not available for mixed listeners.

Parameters:

NameTypeDescription
participantVTParticipantThe selected remote participants whose video streams the local participants wouldn't like to receive.
completion((_ error: NSError) -> Void)?The block to execute when the query completes.