Skip to content

ParticipantMedia

Ajša Terko edited this page Aug 7, 2025 · 2 revisions



init(audio, video)

Description

Creates a new instance of ParticipantMedia with the sent audio and video information.

Arguments

  • audio: Audio - Represents audio information about the participant.
  • video: Video - Represents video information about the participant.

Returns

  • N/A

Example

let audio = Audio(true, false);
let video = Video(false);
let participantMedia = ParticipantMedia(audio, video);
os_log("Participant media audio muted: %@, participant media audio deafened: %@, participant media video blinded: %@", participantMedia.audio.muted, participantMedia.audio.deaf, participantMedia.video.blind);



audio

Description

Represents the value of the participant's audio information as an Audio object.



video

Description

Represents the value of the participant's video information as a Video object.

Tutorials

Migration guides

Reference documentation

Clone this wiki locally