Class PlaylistItem

Object
com.wowza.wms.stream.publish.PlaylistItem

public class PlaylistItem extends Object
  • Constructor Details

    • PlaylistItem

      public PlaylistItem(String name, int start, int length, int index)
      Class constructor - A simple structure to define parameters associated with a playlist item
      Parameters:
      name - - name of the playlist stream
      start - - number of seconds into the track to start from (-2 means live stream)
      length - - number of seconds of track to play
      index - - index in the playlist
  • Method Details

    • getName

      public String getName()
      Name of playlist stream
      Returns:
      - name of stream
    • getStart

      public int getStart()
      Number of seconds into track to start from
      Returns:
      - number of seconds
    • getLength

      public int getLength()
      Number of seconds of track to play
      Returns:
      - number of seconds
    • getIndex

      public int getIndex()
    • setIndex

      public void setIndex(int index)
    • toString

      public String toString()
      Overrides:
      toString in class Object