public interface ICupertinoMediaCasterPlaylistParser
| Modifier and Type | Method | Description |
|---|---|---|
int |
getCurrentIndex() |
Returns the current manifest number
|
void |
init(ICupertinoMediaCasterHolders myholders,
WMSProperties props) |
Called when the class is initiated.
|
int |
parseCupertinoChunklist(String baseurl,
String chunklist,
ICupertinoMediaCasterHolder holder,
int indexpos) |
Parses a specific chunklist found in the main manifest via the chunklist string provided
In order to support absolute URIs the baseurl used to retrieve the manifest is also made available.
|
void |
parseCupertinoPlaylist(String baseurl,
String mainplaylist) |
Parses the main manifest string provided in mainplaylist.
|
void |
setContext(com.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterContext context) |
Called when the class is initiated.
|
void |
setCurrentIndex(int index) |
Sets the current manifest number
|
int getCurrentIndex()
void init(ICupertinoMediaCasterHolders myholders, WMSProperties props)
myholders - Management framework object for manifest entriesprops - MediaCaster properties objectint parseCupertinoChunklist(String baseurl,
String chunklist,
ICupertinoMediaCasterHolder holder,
int indexpos)
baseurl - - baseurl used to retrieve the chunklistchunklist - - string containing the chunklistholder - - pointer to the holder of this chunklist information to be updatedindexpos - - index of this chunk list against the main playlistvoid parseCupertinoPlaylist(String baseurl,
String mainplaylist)
baseurl - - baseurl used to retrieve the chunklistmainplaylist - - string containing the playlist
For each new entry found a new ICupertinoMediaCasterHolder is added to ICupertinoMediaCasterHoldersvoid setContext(com.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterContext context)
context - MediaCaster context object containing configuration settingsvoid setCurrentIndex(int index)
index -