Class SelectVideoTrackById


public final class SelectVideoTrackById extends VideoTrackDescriptor
Select video tracks from the input by specifying a track identifier.
  • Constructor Details

    • SelectVideoTrackById

      public SelectVideoTrackById()
      Creates an instance of SelectVideoTrackById class.
  • Method Details

    • trackId

      public long trackId()
      Get the trackId property: Track identifier to select.
      Returns:
      the trackId value.
    • withTrackId

      public SelectVideoTrackById withTrackId(long trackId)
      Set the trackId property: Track identifier to select.
      Parameters:
      trackId - the trackId value to set.
      Returns:
      the SelectVideoTrackById object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class VideoTrackDescriptor
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.