Interface IHTTPStreamerCupertinoVODActionNotify
-
- All Known Subinterfaces:
IHTTPStreamerCupertinoVODActionNotify2
,IHTTPStreamerCupertinoVODActionNotify3
public interface IHTTPStreamerCupertinoVODActionNotify
IHTTPStreamerCupertinoVODActionNotify: listener interface for video on demand iOS streaming. See HTTPStreamerApplicationContextCupertinoStreamer.addVODActionListener(IHTTPStreamerCupertinoVODActionNotify listener)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onCreate(IHTTPStreamerCupertinoIndex fileIndex, IHTTPStreamerApplicationContext appContext, IHTTPStreamerSession httpStreamerSession, String rawStreamName, String streamExt, String streamName)
Called when file index createdvoid
onDestroy(IHTTPStreamerCupertinoIndex fileIndex)
Called after file index is destroyedvoid
onFillChunkEnd(IHTTPStreamerCupertinoIndex fileIndex, IHTTPStreamerCupertinoIndexItem item, LiveStreamPacketizerCupertinoChunk chunk, boolean audioOnly)
Called after each chunk is filled.void
onFillChunkStart(IHTTPStreamerCupertinoIndex fileIndex, IHTTPStreamerCupertinoIndexItem item, LiveStreamPacketizerCupertinoChunk chunk, boolean audioOnly)
Called each time a chunk is filled.void
onIndex(IHTTPStreamerCupertinoIndex fileIndex, IHTTPStreamerApplicationContext appContext, IHTTPStreamerSession httpStreamerSession, String rawStreamName, String streamExt, String streamName)
Called after file is indexedvoid
onInit(IHTTPStreamerCupertinoIndex fileIndex, IHTTPStreamerApplicationContext appContext, IHTTPStreamerSession httpStreamerSession, String rawStreamName, String streamExt, String streamName)
Called after initializedvoid
onOpen(IHTTPStreamerCupertinoIndex fileIndex, IHTTPStreamerApplicationContext appContext, IHTTPStreamerSession httpStreamerSession, String rawStreamName, String streamExt, String streamName)
Called after open
-
-
-
Method Detail
-
onCreate
void onCreate(IHTTPStreamerCupertinoIndex fileIndex, IHTTPStreamerApplicationContext appContext, IHTTPStreamerSession httpStreamerSession, String rawStreamName, String streamExt, String streamName)
Called when file index created- Parameters:
fileIndex
- file indexappContext
- HTTP application contexthttpStreamerSession
- HTTP streaming sessionrawStreamName
- stream namestreamExt
- stream extensionstreamName
- adjusted stream name
-
onInit
void onInit(IHTTPStreamerCupertinoIndex fileIndex, IHTTPStreamerApplicationContext appContext, IHTTPStreamerSession httpStreamerSession, String rawStreamName, String streamExt, String streamName)
Called after initialized- Parameters:
fileIndex
- file indexappContext
- HTTP application contexthttpStreamerSession
- HTTP streaming sessionrawStreamName
- stream namestreamExt
- stream extensionstreamName
- adjusted stream name
-
onOpen
void onOpen(IHTTPStreamerCupertinoIndex fileIndex, IHTTPStreamerApplicationContext appContext, IHTTPStreamerSession httpStreamerSession, String rawStreamName, String streamExt, String streamName)
Called after open- Parameters:
fileIndex
- file indexappContext
- HTTP application contexthttpStreamerSession
- HTTP streaming sessionrawStreamName
- stream namestreamExt
- stream extensionstreamName
- adjusted stream name
-
onIndex
void onIndex(IHTTPStreamerCupertinoIndex fileIndex, IHTTPStreamerApplicationContext appContext, IHTTPStreamerSession httpStreamerSession, String rawStreamName, String streamExt, String streamName)
Called after file is indexed- Parameters:
fileIndex
- file indexappContext
- HTTP application contexthttpStreamerSession
- HTTP streaming sessionrawStreamName
- stream namestreamExt
- stream extensionstreamName
- adjusted stream name
-
onFillChunkStart
void onFillChunkStart(IHTTPStreamerCupertinoIndex fileIndex, IHTTPStreamerCupertinoIndexItem item, LiveStreamPacketizerCupertinoChunk chunk, boolean audioOnly)
Called each time a chunk is filled. Can be used to add ID3 data to the header of a chunk.- Parameters:
fileIndex
- file indexitem
- index itemchunk
- chunk being filledaudioOnly
- is audio-only chunk
-
onFillChunkEnd
void onFillChunkEnd(IHTTPStreamerCupertinoIndex fileIndex, IHTTPStreamerCupertinoIndexItem item, LiveStreamPacketizerCupertinoChunk chunk, boolean audioOnly)
Called after each chunk is filled. Can be used to add ID3 data to the end of a chunk.- Parameters:
fileIndex
- file indexitem
- index itemchunk
- chunk being filledaudioOnly
- is audio-only chunk
-
onDestroy
void onDestroy(IHTTPStreamerCupertinoIndex fileIndex)
Called after file index is destroyed- Parameters:
fileIndex
- file index
-
-