RemoteAudio

The RemoteAudio model allows the local participant to locally mute and unmute remote participants.

This model is supported only in SDK 3.7 and later.

Methods

start

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

Allows the local participant to unmute a specific remote participant who is locally muted through the stop method. The start method does not impact audio 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.

Parameters:

NameTypeDescription
participantVTParticipantThe selected remote participant who is locally muted through the stop method.
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 locally mute 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.

Parameters:

NameTypeDescription
participantVTParticipantThe selected remote participant who should be locally muted.
completion((_ error: NSError) -> Void)?The block to execute when the query completes.