Skip to main content
Version: 2.0.x

Meeting Class Properties - iOS

id

  • type: String

  • Unique id of the meeting where the participant has joined.


localParticipant

  • type: Participant

  • It will be the instance of Participant class for the local participant(You) who joined the meeting.


participants

  • type: [Dictionary] of Participant

  • [String: Participant]

    • [participantId, Participant]
  • It will contain all joined participants in the meeting except the localParticipant.

  • This will be the [Dictionary] what will container all participants attached with the key as id of that participant.

let remoteParticipantId = "ajf897";

let remoteParticipant = participants[remoteParticipantId];

meetingState

  • type : MeetingState
  • MeetingState will be the current state of the meeting.

hlsUrls

  • type : HLSUrl
    • playbackHlsUrl: String
    • livestreamUrl: String
  • hlsUrls will proide all the URLs for the ongoing meeting HLS.
note

downstreamUrl is now depecated. Use playbackHlsUrl or livestreamUrl in place of downstreamUrl


hlsState

  • type : HLSState
  • HLSState will be the current state of the meeting HLS.

liveStreamState

  • type : LiveStreamState
  • LiveStreamState will be the current state of the liveStream.

recordingState

  • type : RecordingState
  • RecordingState will be the current state of the recording.

LeaveReason Enum

The LeaveReason enum provides detailed context for why a meeting or participant departure event was triggered. The following table lists all possible values:

CodeReasonDescription
1001websocketDisconnectedSocket disconnected.
1002removePeerParticipant was removed from the meeting.
1003removePeerViewerModeChangedParticipant Removed because viewer mode was changed.
1004removePeerMediaRelayStopParticipant Removed because media relay was stopped.
1005switchRoomParticipant switched to a different room.
1006roomCloseThe meeting has been closed.
1007unknownParticipant disconnected due to an unknown reason.
1008removeAllRemove All from the meeting.
1009meetingEndApiMeeting Ended.
1010removePeerApiParticipant removed from the meeting.
1011duplicateParticipantLeaving meeting, since this 'participantId' joined from another device.
1101manualLeaveCalledParticipant manually called the leave() method to exit the meeting.
1102websocketConnectionAttemptsExhaustedMeeting left after multiple failed websocket connection attempts.
1103joinRoomFailedMeeting left due to an error while joining the room.
1104switchRoomFailedMeeting left due to an error while switching rooms.

listeners

  • type: MeetingMulticastDelegate

  • It will listens the events of Meeting class for the local participant who joined the meeting.

transcriptionState

  • type: TranscriptionState

  • It gives the current state of transcription in the meeting, initially it is TRANSCRIPTION_STOPPED.

Got a Question? Ask us on discord