Interface ICupertinoMediaCasterHolder


public interface ICupertinoMediaCasterHolder
Interface to define parameters potentially retrievable when a stream is found within a manifest along with maintaining a list of elements that are made available within a chunklist It is up to the ICupertinoMediaCasterPlaylistParser implementaton to set these parameters. The ICupertinoMediaCasterHolder object is made available to the ICupertinoMediaCasterManageStreamName implementation so to provide context when determining stream names to use.
  • Method Details

    • getisLive

      boolean getisLive()
      Get this isLive flag
      Returns:
    • setisLive

      void setisLive(boolean live)
      Set the isLive flag
      Parameters:
      live -
    • getNextIndexElement

      String getNextIndexElement()
      Get the next index element
      Returns:
      String
    • addIndexElement

      void addIndexElement(String ElementValue, long duration)
      Add an Index element to the list
      Parameters:
      ElementValue -
      duration -
    • getCurrentDuration

      long getCurrentDuration()
      Get the current duration
      Returns:
      long
    • setIndexCodecPrivateData

      void setIndexCodecPrivateData(String codecprivatedata)
      Set the index codec private data
      Parameters:
      codecprivatedata -
    • getIndexCodecPrivateData

      String getIndexCodecPrivateData()
      Get the index codec private data
      Returns:
      String
    • setIndexDisplayWidth

      void setIndexDisplayWidth(int displaywidth)
      Set the index display width
      Parameters:
      displaywidth -
    • getIndexDisplayWidth

      int getIndexDisplayWidth()
      Get the index display width
      Returns:
      int
    • setIndexDisplayHeight

      void setIndexDisplayHeight(int displayheight)
      Set the display height
      Parameters:
      displayheight -
    • getIndexDisplayHeight

      int getIndexDisplayHeight()
      Get the display height
      Returns:
      int
    • setIndexMaxHeight

      void setIndexMaxHeight(int maxheight)
      Set the max height
      Parameters:
      maxheight -
    • getIndexMaxHeight

      int getIndexMaxHeight()
      Get the max height
      Returns:
      int
    • setIndexMaxWidth

      void setIndexMaxWidth(int maxwidth)
      Set the max width
      Parameters:
      maxwidth -
    • getIndexMaxWidth

      int getIndexMaxWidth()
      Get the max width
      Returns:
      int
    • setIndexAudioTag

      void setIndexAudioTag(int audiotag)
      Set the audio tag
      Parameters:
      audiotag -
    • getIndexAudioTag

      int getIndexAudioTag()
      Get the audio tag
      Returns:
      int
    • setIndexPacketSize

      void setIndexPacketSize(int packetsize)
      Set the index packet size
      Parameters:
      packetsize -
    • getIndexPacketSize

      int getIndexPacketSize()
      Get the index packet size
      Returns:
    • setIndexBitsPerSample

      void setIndexBitsPerSample(int bitspersample)
      Set the bits per sample
      Parameters:
      bitspersample -
    • getIndexBitsPerSample

      int getIndexBitsPerSample()
      Get the bits per sample
      Returns:
      int
    • setIndexBitrate

      void setIndexBitrate(String bitrate)
      Set the bitrate
      Parameters:
      bitrate -
    • getIndexBitrate

      int getIndexBitrate()
      Get the bitrate
      Returns:
      int
    • setIndexChannel

      void setIndexChannel(int channel)
      Set the channel count
      Parameters:
      channel -
    • getIndexChannel

      int getIndexChannel()
      Get the channel count
      Returns:
      int
    • setIndexSampleRate

      void setIndexSampleRate(int samplerate)
      Set the sample rate
      Parameters:
      samplerate -
    • getIndexSampleRate

      int getIndexSampleRate()
      Get the sample rate
      Returns:
      int
    • setIndexFourCC

      void setIndexFourCC(String fourcc)
      Set the FourCC parameter
      Parameters:
      fourcc -
    • getIndexFourCC

      String getIndexFourCC()
      Get the FourCC parameter
      Returns:
    • setIndexChunkCount

      void setIndexChunkCount(int index)
      Set the chunk count
      Parameters:
      index -
    • getIndexChunkCount

      int getIndexChunkCount()
      Get the chunk count
      Returns:
      int
    • setIndexCODECS

      void setIndexCODECS(String completeCodecs)
      Set the codec string
      Parameters:
      completeCodecs -
    • setIndexId

      void setIndexId(int index)
      Set the index ID
      Parameters:
      index -
    • getIndexId

      int getIndexId()
      Get the index ID
      Returns:
      int
    • setAudioCodec

      void setAudioCodec(String audiocodec)
      Set the audio codec
      Parameters:
      audiocodec -
    • getAudioCodec

      String getAudioCodec()
      Get the audio codec
      Returns:
      String
    • setVideoCodec

      void setVideoCodec(String videocodec)
      Set the video codec
      Parameters:
      videocodec -
    • getVideoCodec

      String getVideoCodec()
      Get the video codec
      Returns:
      String
    • setIndexMediaLine

      void setIndexMediaLine(String medialine)
      Set the media line
      Parameters:
      medialine -
    • getIndexMediaLine

      String getIndexMediaLine()
      Get the media line
      Returns:
      String
    • setIndexType

      void setIndexType(String type)
      Set the index type
      Parameters:
      type -
    • getIndexType

      String getIndexType()
      Get the index type
      Returns:
      String
    • setIndexGroupID

      void setIndexGroupID(String groupid)
      Set the group ID
      Parameters:
      groupid -
    • getIndexGroupID

      String getIndexGroupID()
      Get the group ID
      Returns:
      String
    • setIndexLanguage

      void setIndexLanguage(String lang)
      Set the language
      Parameters:
      lang -
    • getIndexLanguage

      String getIndexLanguage()
      Get the language
      Returns:
      String
    • setIndexName

      void setIndexName(String name)
      Set the index name
      Parameters:
      name -
    • getIndexName

      String getIndexName()
      Get the index name
      Returns:
      String
    • getIndexElementCount

      int getIndexElementCount()
      Get the element count
      Returns:
      int
    • setIndexURL

      void setIndexURL(String url)
      Set the URL
      Parameters:
      url -
    • getIndexURL

      String getIndexURL()
      Get the URL
      Returns:
      String
    • setIndexProgramID

      void setIndexProgramID(String id)
      Set the program ID
      Parameters:
      id -
    • getIndexProgramID

      String getIndexProgramID()
      Get the program ID
      Returns:
      String
    • setIndexResolution

      void setIndexResolution(String resolution)
      Set the resolution
      Parameters:
      resolution -
    • getIndexResolution

      String getIndexResolution()
      Get the resolution
      Returns:
      String
    • checkIndexAvailable

      boolean checkIndexAvailable(String url)
      Check if the URL provided is in this holder
      Parameters:
      url -
      Returns:
      boolean - available is true, not available false
    • setIndexDefault

      void setIndexDefault(String defaultSetting)
      Set the default setting
      Parameters:
      defaultSetting -
    • setIndexAudioLocation

      void setIndexAudioLocation(String audioLocation)
      Set the audio location
      Parameters:
      audioLocation -