Interface ICupertinoMediaCasterPlaylistParser
- 
 public interface ICupertinoMediaCasterPlaylistParserInterface to parse manifests for processing This can be replaced by a custom implementation from the default using the property in MediaCaster -> Properties Name: cupertinoPlaylistParserClass Value: Full Class Path Type: String
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetCurrentIndex()Returns the current manifest numbervoidinit(ICupertinoMediaCasterHolders myholders, WMSProperties props)Called when the class is initiated.intparseCupertinoChunklist(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.voidparseCupertinoPlaylist(String baseurl, String mainplaylist)Parses the main manifest string provided in mainplaylist.voidsetContext(com.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterContext context)Called when the class is initiated.voidsetCurrentIndex(int index)Sets the current manifest number
 
- 
- 
- 
Method Detail- 
initvoid init(ICupertinoMediaCasterHolders myholders, WMSProperties props) Called when the class is initiated.- Parameters:
- myholders- Management framework object for manifest entries
- props- MediaCaster properties object
 
 - 
setContextvoid setContext(com.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterContext context) Called when the class is initiated.- Parameters:
- context- MediaCaster context object containing configuration settings
 
 - 
getCurrentIndexint getCurrentIndex() Returns the current manifest number- Returns:
- int Current manifest index number
 
 - 
setCurrentIndexvoid setCurrentIndex(int index) Sets the current manifest number- Parameters:
- index-
 
 - 
parseCupertinoPlaylistvoid parseCupertinoPlaylist(String baseurl, String mainplaylist)Parses the main manifest string provided in mainplaylist. In order to support absolute URIs the baseurl used to retrieve the manifest is also made available.- Parameters:
- baseurl- - baseurl used to retrieve the chunklist
- mainplaylist- - string containing the playlist For each new entry found a new ICupertinoMediaCasterHolder is added to ICupertinoMediaCasterHolders
 
 - 
parseCupertinoChunklistint 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.- Parameters:
- baseurl- - baseurl used to retrieve the chunklist
- chunklist- - string containing the chunklist
- holder- - pointer to the holder of this chunklist information to be updated
- indexpos- - index of this chunk list against the main playlist
- Returns:
- int - Should contain the index number of the last chunk processed
 
 
- 
 
-