Interface TrackPublication

All Known Subinterfaces:
AudioTrackPublication, DataTrackPublication, VideoTrackPublication
All Known Implementing Classes:
LocalAudioTrackPublication, LocalDataTrackPublication, LocalVideoTrackPublication, RemoteAudioTrackPublication, RemoteDataTrackPublication, RemoteVideoTrackPublication

public interface TrackPublication
A published track represents a track that has been shared with a Room.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name of the published track.
    Returns the track's server identifier.
    boolean
    Returns true of track is enabled and false if not.
  • Method Details

    • getTrackSid

      @NonNull String getTrackSid()
      Returns the track's server identifier. This value uniquely identifies the track within the scope of a Room.
    • getTrackName

      @NonNull String getTrackName()
      Returns the name of the published track.
    • isTrackEnabled

      boolean isTrackEnabled()
      Returns true of track is enabled and false if not.