Skip to main content

Participant Class

using Participant Class#

The Participant Class includes methods and events for participants and their associated video & audio streams, data channels and UI customisation.

Properties#

  • __properties

      Properties
    • idString

    • displayNameString

    • videoQualityString

    • isLocalBool

    • streams[String: MediaStream]

Events#

  • __events

      Events
    • addEventListener(_ listener: ParticipantEventListener)void

    • removeEventListener(_ listener: ParticipantEventListener))void

Methods#

  • __methods

      Methods
        addStream(stream): void
      • streamMediaStream

        removeStream(streamId): void
      • streamIdString

Example#

Play with meeting instance
// Add listenersparticipant.addEventListener(self);
// Attach video / audio stream to participantparticipant.addStream(stream);