Class Track<T extends MediaStreamTrackHolder>

    • Field Detail

      • SOURCE_SCREENSHARE

        public static final java.lang.String SOURCE_SCREENSHARE
        See Also:
        Constant Field Values
      • SOURCE_MICROPHONE

        public static final java.lang.String SOURCE_MICROPHONE
        See Also:
        Constant Field Values
      • active

        public boolean active
      • spaceId

        public final java.lang.String spaceId
      • id

        public final java.lang.String id
      • mid

        public java.lang.String mid
      • source

        public final java.lang.String source
      • name

        public final java.lang.String name
    • Method Detail

      • isActiveSpeaker

        public boolean isActiveSpeaker()
      • getConnectionId

        public abstract java.lang.String getConnectionId()
      • getParticipantId

        public abstract java.lang.String getParticipantId()
      • isSubscribed

        public abstract boolean isSubscribed()
      • getMediaStreamTrackHolder

        public T getMediaStreamTrackHolder()
      • setMediaStreamTrackHolder

        public void setMediaStreamTrackHolder​(T holder)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getMaxBitrate

        public int getMaxBitrate()
      • isMuted

        public final boolean isMuted()
        Get the mute status of this track
        Returns:
        True if the track is muted.
      • setWidth

        protected void setWidth​(int width)
      • setHeight

        protected void setHeight​(int height)
      • getWidth

        public int getWidth()
      • getHeight

        public int getHeight()
      • updateSinkMirrorState

        protected void updateSinkMirrorState()
      • setMirrorMode

        public void setMirrorMode​(com.mux.sdk.webrtc.spaces.Track.MirrorMode mirrorMode)
      • getMirrorMode

        public com.mux.sdk.webrtc.spaces.Track.MirrorMode getMirrorMode()