Interface ICupertinoMediaCasterSegments
public interface ICupertinoMediaCasterSegments
ICupertinoMediaCasterSegments
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMPEGTSSegment
(com.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterMPEGTSSegment segment) Add a CupertinoMediaCasterMPEGTSSegment to the process listint
Get the buffer max block countcom.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterContext
Get the CupertinoMediaCasterContext for this objectcom.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterConnection
Get the CupertinoMediaCasterConnection for this objectcom.wowza.wms.mediacaster.cupertino.CupertinoMediaCaster
Get the CupertinoMediaCaster objectint
Get the number of segments availablecom.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterMPEGTSSegment
Get the next CupertinoMediaCasterMPEGTSSegment to be processedGet the stream namevoid
init
(com.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterConnection connection, IApplicationInstance appins, com.wowza.wms.mediacaster.cupertino.CupertinoMediaCasterContext context) Initialise this segments handlerboolean
Get the running state of the segments handlervoid
quit()
Quit the segments handlervoid
setBufferBlockCount
(int blockcount) Set the buffer block countvoid
setBufferMaxBlockCount
(int maxblockcount) Set the buffer max block countvoid
setMediaCasterObject
(com.wowza.wms.mediacaster.cupertino.CupertinoMediaCaster caster) Set the CupertinoMediaCaster objectvoid
setRunning
(boolean state) Set the running state of the segments handlervoid
setStreamName
(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
-