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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addIndexElement(String ElementValue, long duration)
Add an Index element to the listboolean
checkIndexAvailable(String url)
Check if the URL provided is in this holderString
getAudioCodec()
Get the audio codeclong
getCurrentDuration()
Get the current durationint
getIndexAudioTag()
Get the audio tagint
getIndexBitrate()
Get the bitrateint
getIndexBitsPerSample()
Get the bits per sampleint
getIndexChannel()
Get the channel countint
getIndexChunkCount()
Get the chunk countString
getIndexCodecPrivateData()
Get the index codec private dataint
getIndexDisplayHeight()
Get the display heightint
getIndexDisplayWidth()
Get the index display widthint
getIndexElementCount()
Get the element countString
getIndexFourCC()
Get the FourCC parameterString
getIndexGroupID()
Get the group IDint
getIndexId()
Get the index IDString
getIndexLanguage()
Get the languageint
getIndexMaxHeight()
Get the max heightint
getIndexMaxWidth()
Get the max widthString
getIndexMediaLine()
Get the media lineString
getIndexName()
Get the index nameint
getIndexPacketSize()
Get the index packet sizeString
getIndexProgramID()
Get the program IDString
getIndexResolution()
Get the resolutionint
getIndexSampleRate()
Get the sample rateString
getIndexType()
Get the index typeString
getIndexURL()
Get the URLboolean
getisLive()
Get this isLive flagString
getNextIndexElement()
Get the next index elementString
getVideoCodec()
Get the video codecvoid
setAudioCodec(String audiocodec)
Set the audio codecvoid
setIndexAudioLocation(String audioLocation)
Set the audio locationvoid
setIndexAudioTag(int audiotag)
Set the audio tagvoid
setIndexBitrate(String bitrate)
Set the bitratevoid
setIndexBitsPerSample(int bitspersample)
Set the bits per samplevoid
setIndexChannel(int channel)
Set the channel countvoid
setIndexChunkCount(int index)
Set the chunk countvoid
setIndexCodecPrivateData(String codecprivatedata)
Set the index codec private datavoid
setIndexCODECS(String completeCodecs)
Set the codec stringvoid
setIndexDefault(String defaultSetting)
Set the default settingvoid
setIndexDisplayHeight(int displayheight)
Set the display heightvoid
setIndexDisplayWidth(int displaywidth)
Set the index display widthvoid
setIndexFourCC(String fourcc)
Set the FourCC parametervoid
setIndexGroupID(String groupid)
Set the group IDvoid
setIndexId(int index)
Set the index IDvoid
setIndexLanguage(String lang)
Set the languagevoid
setIndexMaxHeight(int maxheight)
Set the max heightvoid
setIndexMaxWidth(int maxwidth)
Set the max widthvoid
setIndexMediaLine(String medialine)
Set the media linevoid
setIndexName(String name)
Set the index namevoid
setIndexPacketSize(int packetsize)
Set the index packet sizevoid
setIndexProgramID(String id)
Set the program IDvoid
setIndexResolution(String resolution)
Set the resolutionvoid
setIndexSampleRate(int samplerate)
Set the sample ratevoid
setIndexType(String type)
Set the index typevoid
setIndexURL(String url)
Set the URLvoid
setisLive(boolean live)
Set the isLive flagvoid
setVideoCodec(String videocodec)
Set the video codec
-
-
-
Method Detail
-
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
-
-
-