Class RemoteAudioTrackPublication

    • Method Detail

      • getTrackSid

        @NonNull
        public java.lang.String getTrackSid()
        Returns the remote audio track's server identifier. This value uniquely identifies the remote audio 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 audio track. An empty string is returned if no track name was specified.
        Specified by:
        getTrackName in interface TrackPublication
      • isTrackEnabled

        public boolean isTrackEnabled()
        Check if remote audio track is enabled.
        Specified by:
        isTrackEnabled in interface TrackPublication
      • isTrackSubscribed

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

        @Nullable
        public RemoteAudioTrack getRemoteAudioTrack()
        Returns the published remote audio track. null is returned if the track is not subscribed to.