Interface ICupertinoMediaCasterSegments
public interface ICupertinoMediaCasterSegments
ICupertinoMediaCasterSegments
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddMPEGTSSegment(com.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterMPEGTSSegment segment) Add a CupertinoMediaCasterMPEGTSSegment to the process listintGet the buffer max block countcom.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterContextGet the CupertinoMediaCasterContext for this objectcom.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterConnectionGet the CupertinoMediaCasterConnection for this objectcom.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterGet the CupertinoMediaCaster objectintGet the number of segments availablecom.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterMPEGTSSegmentGet the next CupertinoMediaCasterMPEGTSSegment to be processedGet the stream namevoidinit(com.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterConnection connection, IApplicationInstance appins, com.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterContext context) Initialise this segments handlerbooleanGet the running state of the segments handlervoidquit()Quit the segments handlervoidsetBufferBlockCount(int blockcount) Set the buffer block countvoidsetBufferMaxBlockCount(int maxblockcount) Set the buffer max block countvoidsetMediaCasterObject(com.wowza.wms.mediacaster.cupertino.CupertinoMediaCaster caster) Set the CupertinoMediaCaster objectvoidsetRunning(boolean state) Set the running state of the segments handlervoidsetStreamName(String name) Set the stream name
-
Method Details
-
init
void init(com.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterConnection connection, IApplicationInstance appins, com.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterContext context) Initialise this segments handler- Parameters:
connection-appins-context-
-
getContext
com.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterContext getContext()Get the CupertinoMediaCasterContext for this object- Returns:
- CupertinoMediaCasterContext
-
getMediaCasterConnection
com.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterConnection getMediaCasterConnection()Get the CupertinoMediaCasterConnection for this object- Returns:
- CupertinoMediaCasterConnection
-
setBufferBlockCount
void setBufferBlockCount(int blockcount) Set the buffer block count- Parameters:
blockcount-
-
setBufferMaxBlockCount
void setBufferMaxBlockCount(int maxblockcount) Set the buffer max block count- Parameters:
maxblockcount-
-
getBufferMaxBlockCount
int getBufferMaxBlockCount()Get the buffer max block count- Returns:
- int
-
setStreamName
Set the stream name- Parameters:
name-
-
getStreamName
String getStreamName()Get the stream name- Returns:
-
setMediaCasterObject
void setMediaCasterObject(com.wowza.wms.mediacaster.cupertino.CupertinoMediaCaster caster) Set the CupertinoMediaCaster object- Parameters:
caster-
-
getMediaCasterObject
com.wowza.wms.mediacaster.cupertino.CupertinoMediaCaster getMediaCasterObject()Get the CupertinoMediaCaster object- Returns:
- CupertinoMediaCaster
-
addMPEGTSSegment
void addMPEGTSSegment(com.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterMPEGTSSegment segment) Add a CupertinoMediaCasterMPEGTSSegment to the process list- Parameters:
segment-
-
getNextMPEGTSSegment
com.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterMPEGTSSegment getNextMPEGTSSegment()Get the next CupertinoMediaCasterMPEGTSSegment to be processed- Returns:
- CupertinoMediaCasterMPEGTSSegment
-
getMPEGTSSegmentCount
int getMPEGTSSegmentCount()Get the number of segments available- Returns:
- int
-
isRunning
boolean isRunning()Get the running state of the segments handler- Returns:
-
setRunning
void setRunning(boolean state) Set the running state of the segments handler- Parameters:
state-
-
quit
void quit()Quit the segments handler
-