lib-jitsi-meet
    Preparing search index...

    Represents a single media track (either audio or video).

    Hierarchy (View Summary)

    Index

    Constructors

    • Creates new JitsiRemoteTrack instance.

      Parameters

      • rtc: RTC

        the RTC service instance.

      • conference: JitsiConference

        the conference to which this track belongs to

      • ownerEndpointId: string

        the endpoint ID of the track owner

      • stream: MediaStream

        WebRTC MediaStream, parent of the track

      • track: MediaStreamTrack

        underlying WebRTC MediaStreamTrack for the new JitsiRemoteTrack

      • mediaType: MediaType

        the type of the media

      • videoType: VideoType

        the type of the video if applicable

      • ssrc: number

        the SSRC number of the Media Stream

      • muted: boolean

        the initial muted state

      • isP2P: boolean

        indicates whether or not this track belongs to a P2P session

      • sourceName: string

        the source name signaled for the track

      Returns JitsiRemoteTrack

      if ssrc is not a number.

    Properties

    isP2P: boolean
    ownerEndpointId: string
    rtcId: string

    Methods

    • Returns the participant id which owns the track.

      Returns string

      the id of the participants. It corresponds to the Colibri endpoint id/MUC nickname in case of Jitsi-meet.

    • Returns track's streaming status.

      Returns TrackStreamingStatus

      the streaming status TrackStreamingStatus of the track. Returns null if trackStreamingStatusImpl hasn't been initialized.

      TrackStreamingStatus.