Class RemoteVideoTrackPublication

    • Method Detail

      • getTrackSid

        @NonNull
        public java.lang.String getTrackSid()
        Returns the remote video track's server identifier. This value uniquely identifies the remote video track within the scope of a Room.
        Specified by:
        getTrackSid in interface TrackPublication
      • getTrackName

        @NonNull
        public java.lang.String getTrackName()
        Returns the name of the published video track. An empty string is returned if no track name was specified.
        Specified by:
        getTrackName in interface TrackPublication
      • isTrackEnabled

        public boolean isTrackEnabled()
        Returns true if the published video track is enabled or false otherwise.
        Specified by:
        isTrackEnabled in interface TrackPublication
      • isTrackSubscribed

        public boolean isTrackSubscribed()
        Check if the remote video track is subscribed to by the LocalParticipant.
      • getRemoteVideoTrack

        @Nullable
        public RemoteVideoTrack getRemoteVideoTrack()
        Returns:
        Returns the published remote video track. null is returned if the track is not subscribed to.