Class LiveStreamPacketizerCupertino
Object
com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase
com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.LiveStreamPacketizerCupertino
- All Implemented Interfaces:
ICupertinoChunkWriter
,ILiveStreamPacketizerCupertino
,ILiveStreamPacketizer
,com.wowza.wms.util.IIdleNotify
,Runnable
public class LiveStreamPacketizerCupertino
extends com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase
implements ICupertinoChunkWriter, ILiveStreamPacketizerCupertino
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final boolean
static final boolean
static final int
static final int
static final int
static final boolean
static final boolean
static final boolean
static final boolean
static final boolean
static final int
static final int
static final int
protected String
static final String
protected LiveStreamPacketizerCupertinoChunk
static final int
static final int
protected String
protected int
static final int
protected List<com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoRepeaterHolder>
static final int
static final String
static final int
static final String
static final int
static final String
static final int
static final String
static final int
static final String
static final int
Fields inherited from class com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase
appInstance, captionDefaultLanguages, captionIngestType, captionsEnabled, captionUseStreamNameGroups, checkTimeoutInterval, DEFAULT_STREAMTIMEOUT, EVENT_PACKET, EVENT_RESETSTREAM, EVENT_STARTSTREAM, eventProcessCount, events, id, inProcessEvent, isActive, isRepeater, isRepeaterEdge, isRunning, lastCheckTime, lastEventProcessTC, lastStreamStartTime, lastStreamUpdate, liveStreamPacketizerItem, liveTimedTextProvider, maxEventCount, maxEventCountErrors, maxEventsPerRun, MAXEVENTSPERRUN, MEDIA_CHUNK_DURATION, packetizeAudio, packetizeData, packetizerName, packetizeVideo, properties, runnerLock, startStream, streamName, streamStartupTimeout, streamTimeout, timeoutLock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToChunk
(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoPacketHolder holder) void
addToChunkAudioTS
(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder tsHolder) void
addToChunkTS
(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder tsHolder) void
addToChunkVideoTS
(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder tsHolder) long
calculateChunkIndexForPlaylist
(long chunkIndex, long timecode) void
encryptAudioTS
(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder tsHolder) void
encryptTS
(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder tsHolder) void
encryptVideoTS
(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder tsHolder) void
endChunk
(long timecode) void
endChunkAudioTS
(long timecode, Map<String, Map<String, String>> userManifestHeaders, String programDateTime) void
endChunkSubtitles
(long timecode) void
endChunkSubtitlesRepeater
(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.LiveStreamPacketizerWebVTTChunk captions) void
endChunkTS
(long timecode, Map<String, Map<String, String>> userManifestHeaders, String programDateTime) void
endChunkVideoTS
(long timecode, Map<String, Map<String, String>> userManifestHeaders, String programDateTime) com.wowza.wms.httpstreamer.cmafstreaming.livestreampacketizer.CmafSegment
getAudioInit
(com.wowza.wms.httpstreamer.model.SegmentFormat cmafVideo) long
long
long
long
long
long
com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.LiveStreamPacketizerWebVTTChunk
getCaptionsChunkById
(long index) getChunkAudioByFilename
(String filename) getChunkByFilename
(String filename) getChunkById
(int rendition, long index) int
int
getChunkCount
(int rendition) int
static int
getChunkDurationTarget
(IApplicationInstance appInstance, String packetizer) getChunkVideoByFilename
(String filename) getCodecsAudioStr
(int codecStrFormatId) getCodecsStr
(int codecStrFormatId) getCodecsVideoStr
(int codecStrFormatId) com.wowza.wms.httpstreamer.cupertinostreaming.util.CupertinoEncInfo
int
int
getFirstChunkId
(int rendition) getID3FramesFooter
(com.wowza.wms.httpstreamer.cupertinostreaming.httpstreamer.CupertinoStreamingRendition rendition) getID3FramesHeader
(com.wowza.wms.httpstreamer.cupertinostreaming.httpstreamer.CupertinoStreamingRendition rendition) int
int
getLastChunkId
(int rendition) getLock()
int
int
int
int
void
getRepeaterItems
(List<com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoRepeaterHolder> items, long seq) long
Get the sequence number of the last added repeater itemint
Returns the duration in milliseconds of the segment else throws an UnsupportedOperationExceptionlong
Returns the start timecode for the current chunk / segmentlong
Returns the stop timecode for the current chunk / segmentgetSubtitleChunk
(String filename, String languageID, boolean isByteRangeRequest) getSubtitlelistStr
(String language, String title, String languageID) com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoUserManifestHeaders
com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoUserManifestHeaders
getUserManifestHeaders
(com.wowza.wms.httpstreamer.cupertinostreaming.httpstreamer.CupertinoStreamingRendition rendition) com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoUserManifestHeaders
com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoUserManifestHeaders
com.wowza.wms.httpstreamer.cmafstreaming.livestreampacketizer.CmafSegment
getVideoInit
(com.wowza.wms.httpstreamer.model.SegmentFormat cmafAudio) boolean
void
init
(String streamName, String packetizerName, IApplicationInstance appInstance, com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerItem liveStreamPacketizerItem) Initialize live stream packetizervoid
internalHandlePacket
(IMediaStream stream, AMFPacket packet) void
internalResetStream
(IMediaStream stream) void
internalStartStream
(IMediaStream stream) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
mergeUserManifestHeaders
(LiveStreamPacketizerCupertinoChunk chunk, Map<String, Map<String, String>> userManifestHeaders) void
void
sendECMBytesAudioTS
(List<com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder> ecmHolders) void
sendECMBytesTS
(List<com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder> ecmHolders) void
sendECMBytesVideoTS
(List<com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder> ecmHolders) void
Sends the last chunk or segmentvoid
setAutoAdjustDurationIfOutOfBounds
(boolean autoAdjustDurationIfOutOfBounds) void
setChunkIdFromRepeater
(boolean chunkIdFromRepeater) void
void
setChunkWriter
(ICupertinoChunkWriter chunkWriter) void
setCodecInfoAudio
(com.wowza.wms.media.model.MediaCodecInfoAudio codecInfoAudio) void
setCodecInfoVideo
(com.wowza.wms.media.model.MediaCodecInfoVideo codecInfoVideo) void
void
void
setEnableDataEvents
(boolean enableDataEvents) void
setMaxChunkDuration
(int maxChunkDuration) void
setMinChunkDuration
(int minChunkDuration) void
setOnChunkStartResetCounter
(boolean onChunkStartResetCounter) void
setPacketizeAllStreamsAsTS
(boolean packetizeAllStreamsAsTS) void
setSegmentStopKeyTimecode
(long timecode) Sets chunkStopKeyTimecodePTS to a specific valuevoid
setTitleStr
(String titleStr) void
sortAudioTS
(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder tsHolder, boolean doFlush) void
sortTS
(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder tsHolder, boolean doFlush) void
sortVideoTS
(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder tsHolder, boolean doFlush) void
startChunk
(int streamMode, int videoCodecId, com.wowza.wms.media.model.MediaCodecInfoVideo codecInfoVideo, int audioCodecId, com.wowza.wms.media.model.MediaCodecInfoAudio codecInfoAudio, long timecode, long timecode90) void
startChunkAudioTS
(long chunkId, long chunkIdForPlaylist, long discontinuitySeq, boolean isRepeater, int streamMode, int videoCodecId, int audioCodecId, long timecode, int encMethod, String encUrl, byte[] encRepeaterBytes, byte[] encIVBytes, boolean encIVBytesInChunklist, String encKeyFormat, String encKeyFormatVersion, String encPlayReadyHeader, String originRepeaterContext, Map<String, Map<String, String>> userManifestHeaders) void
startChunkTS
(long chunkId, long chunkIdForPlaylist, long discontinuitySeq, boolean isRepeater, int streamMode, int videoCodecId, int audioCodecId, long timecode, int encMethod, String encUrl, byte[] encRepeaterBytes, byte[] encIVBytes, boolean encIVBytesInChunklist, String encKeyFormat, String encKeyFormatVersion, String encPlayReadyHeader, String originRepeaterContext, Map<String, Map<String, String>> userManifestHeaders) void
startChunkVideoTS
(long chunkId, long chunkIdForPlaylist, long discontinuitySeq, boolean isRepeater, int streamMode, int videoCodecId, int audioCodecId, long timecode, int encMethod, String encUrl, byte[] encRepeaterBytes, byte[] encIVBytes, boolean encIVBytesInChunklist, String encKeyFormat, String encKeyFormatVersion, String encPlayReadyHeader, String originRepeaterContext, Map<String, Map<String, String>> userManifestHeaders) protected void
trim
(long chunkIndex) Methods inherited from class com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase
addPacketizerEvent, checkTimeout, getAndSetStartStream, getApplicationInstance, getCaptionProvider, getContextStr, getLiveStreamPacketizerId, getMaxEventCount, getProperties, getRepeaterItemsSanJose, getStreamStartupTimeout, getStreamTimeout, handlePacket, initLiveCaptionIngestor, isActive, isCEA608IngestModuleInstalled, isPacketizeAudio, isPacketizeData, isPacketizeVideo, isRepeaterEdge, onIdle, resetStream, run, setLiveStreamPacketizerId, setMaxEventCount, setPacketizeAudio, setPacketizeData, setPacketizeVideo, setRepeaterEdge, setStreamStartupTimeout, setStreamTimeout, shutdown, startStream, touch
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.ICupertinoChunkWriter
isPacketizeAudio, isPacketizeData, isPacketizeVideo
Methods inherited from interface com.wowza.wms.stream.livepacketizer.ILiveStreamPacketizer
getAndSetStartStream, getApplicationInstance, getLiveStreamPacketizerId, getMinPlaylistSegmentCount, getProperties, getSessionFormat, handlePacket, isActive, isPacketizeAudio, isPacketizeData, isPacketizeVideo, isRepeaterEdge, resetStream, setLiveStreamPacketizerId, setPacketizeAudio, setPacketizeData, setPacketizeVideo, setRepeaterEdge, shutdown, startStream, touch
Methods inherited from interface com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.ILiveStreamPacketizerCupertino
getCaptionProvider
-
Field Details
-
PACKETIZER_NAME
- See Also:
-
DEFAULT_ENABLEWEBVTTCAPTIONS
public static final boolean DEFAULT_ENABLEWEBVTTCAPTIONS- See Also:
-
DEFAULT_CREATEAUDIOONLYRENDITION
public static final boolean DEFAULT_CREATEAUDIOONLYRENDITION- See Also:
-
DEFAULT_ALWAYSSENDZEROPACKETLEN
public static final boolean DEFAULT_ALWAYSSENDZEROPACKETLEN- See Also:
-
STREAMMODE_TS
public static final int STREAMMODE_TS- See Also:
-
STREAMMODE_MP3
public static final int STREAMMODE_MP3- See Also:
-
STREAMMODE_AAC
public static final int STREAMMODE_AAC- See Also:
-
STREAMMODE_AC3
public static final int STREAMMODE_AC3- See Also:
-
STREAMMODE_EC3
public static final int STREAMMODE_EC3- See Also:
-
STREAMMODE_TS_FILEEXTENSION
- See Also:
-
STREAMMODE_MP3_FILEEXTENSION
- See Also:
-
STREAMMODE_AAC_FILEEXTENSION
- See Also:
-
STREAMMODE_AC3_FILEEXTENSION
- See Also:
-
STREAMMODE_EC3_FILEEXTENSION
- See Also:
-
MAXCHUNKCOUNT
public static final int MAXCHUNKCOUNT- See Also:
-
MAXCHUNKLOGCOUNT
public static final int MAXCHUNKLOGCOUNT- See Also:
-
PLAYLISTCHUNKCOUNT
public static final int PLAYLISTCHUNKCOUNT- See Also:
-
REPEATERCHUNKCOUNT
public static final int REPEATERCHUNKCOUNT- See Also:
-
CHUNKDURATIONTARGET
public static final int CHUNKDURATIONTARGET- See Also:
-
KEYFRAMEONLYDURATIONTARGET
public static final int KEYFRAMEONLYDURATIONTARGET- See Also:
-
CHUNKDURATIONTOLERANCE
public static final int CHUNKDURATIONTOLERANCE- See Also:
-
PLAYSTARTTOLERANCE
public static final int PLAYSTARTTOLERANCE- See Also:
-
AUDIOGROUPCOUNT
public static final int AUDIOGROUPCOUNT- See Also:
-
WAITFORCODECTIME
public static final int WAITFORCODECTIME- See Also:
-
DEFAULT_CHUNKDURATION_MAX
public static final int DEFAULT_CHUNKDURATION_MAX- See Also:
-
DEFAULT_CHUNKDURATION_MIN
public static final int DEFAULT_CHUNKDURATION_MIN- See Also:
-
DEFAULT_CUPERTINO_FORCE_END_CHUNK_WHEN_NO_KEYFRAMES
public static final boolean DEFAULT_CUPERTINO_FORCE_END_CHUNK_WHEN_NO_KEYFRAMES- See Also:
-
DEFAULT_CHUNKDURATION_OVERFLOW_THRESHOLD
public static final int DEFAULT_CHUNKDURATION_OVERFLOW_THRESHOLD- See Also:
-
DEFAULT_RELATIVE_PLAYLIST_ITEMS
public static final boolean DEFAULT_RELATIVE_PLAYLIST_ITEMS- See Also:
-
DEFAULT_RESET_TARGET_DURATION_ON_NEW_CHUNK
public static final boolean DEFAULT_RESET_TARGET_DURATION_ON_NEW_CHUNK- See Also:
-
DEFAULT_ALLOW_CACHING
public static final boolean DEFAULT_ALLOW_CACHING- See Also:
-
repeaterChunkCount
protected int repeaterChunkCount -
repeaterItems
protected List<com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoRepeaterHolder> repeaterItems -
pendingVideoChunk
-
randomSessionStr
-
originRepeaterContext
-
-
Constructor Details
-
LiveStreamPacketizerCupertino
public LiveStreamPacketizerCupertino() throws com.wowza.wms.server.LicensingException- Throws:
com.wowza.wms.server.LicensingException
-
-
Method Details
-
getChunkDurationTarget
-
init
public void init(String streamName, String packetizerName, IApplicationInstance appInstance, com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerItem liveStreamPacketizerItem) Description copied from interface:ILiveStreamPacketizer
Initialize live stream packetizer- Specified by:
init
in interfaceILiveStreamPacketizer
- Overrides:
init
in classcom.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase
- Parameters:
streamName
- stream namepacketizerName
- packetizer nameappInstance
- application instanceliveStreamPacketizerItem
- live stream packetizer
-
getEncryptionInfo
public com.wowza.wms.httpstreamer.cupertinostreaming.util.CupertinoEncInfo getEncryptionInfo() -
internalStartStream
- Specified by:
internalStartStream
in classcom.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase
-
internalResetStream
- Specified by:
internalResetStream
in classcom.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase
-
resetStream
public void resetStream()- Specified by:
resetStream
in interfaceICupertinoChunkWriter
-
sendLastData
public void sendLastData()Description copied from interface:ILiveStreamPacketizer
Sends the last chunk or segment- Specified by:
sendLastData
in interfaceILiveStreamPacketizer
-
internalHandlePacket
- Specified by:
internalHandlePacket
in classcom.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase
-
isCustomChunkId
public boolean isCustomChunkId()- Specified by:
isCustomChunkId
in interfaceILiveStreamPacketizerCupertino
-
calculateChunkIndexForPlaylist
public long calculateChunkIndexForPlaylist(long chunkIndex, long timecode) -
startChunk
public void startChunk(int streamMode, int videoCodecId, com.wowza.wms.media.model.MediaCodecInfoVideo codecInfoVideo, int audioCodecId, com.wowza.wms.media.model.MediaCodecInfoAudio codecInfoAudio, long timecode, long timecode90) - Specified by:
startChunk
in interfaceICupertinoChunkWriter
-
sendECMBytesTS
public void sendECMBytesTS(List<com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder> ecmHolders) -
sendECMBytesAudioTS
public void sendECMBytesAudioTS(List<com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder> ecmHolders) -
sendECMBytesVideoTS
public void sendECMBytesVideoTS(List<com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder> ecmHolders) -
endChunk
public void endChunk(long timecode) - Specified by:
endChunk
in interfaceICupertinoChunkWriter
-
sortAudioTS
public void sortAudioTS(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder tsHolder, boolean doFlush) -
sortVideoTS
public void sortVideoTS(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder tsHolder, boolean doFlush) -
sortTS
public void sortTS(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder tsHolder, boolean doFlush) -
encryptTS
public void encryptTS(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder tsHolder) -
encryptAudioTS
public void encryptAudioTS(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder tsHolder) -
encryptVideoTS
public void encryptVideoTS(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder tsHolder) -
addToChunk
public void addToChunk(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoPacketHolder holder) - Specified by:
addToChunk
in interfaceICupertinoChunkWriter
-
setCodecInfoAudio
public void setCodecInfoAudio(com.wowza.wms.media.model.MediaCodecInfoAudio codecInfoAudio) - Specified by:
setCodecInfoAudio
in interfaceICupertinoChunkWriter
-
setCodecInfoVideo
public void setCodecInfoVideo(com.wowza.wms.media.model.MediaCodecInfoVideo codecInfoVideo) - Specified by:
setCodecInfoVideo
in interfaceICupertinoChunkWriter
-
startChunkAudioTS
public void startChunkAudioTS(long chunkId, long chunkIdForPlaylist, long discontinuitySeq, boolean isRepeater, int streamMode, int videoCodecId, int audioCodecId, long timecode, int encMethod, String encUrl, byte[] encRepeaterBytes, byte[] encIVBytes, boolean encIVBytesInChunklist, String encKeyFormat, String encKeyFormatVersion, String encPlayReadyHeader, String originRepeaterContext, Map<String, Map<String, String>> userManifestHeaders) -
startChunkVideoTS
public void startChunkVideoTS(long chunkId, long chunkIdForPlaylist, long discontinuitySeq, boolean isRepeater, int streamMode, int videoCodecId, int audioCodecId, long timecode, int encMethod, String encUrl, byte[] encRepeaterBytes, byte[] encIVBytes, boolean encIVBytesInChunklist, String encKeyFormat, String encKeyFormatVersion, String encPlayReadyHeader, String originRepeaterContext, Map<String, Map<String, String>> userManifestHeaders) -
startChunkTS
public void startChunkTS(long chunkId, long chunkIdForPlaylist, long discontinuitySeq, boolean isRepeater, int streamMode, int videoCodecId, int audioCodecId, long timecode, int encMethod, String encUrl, byte[] encRepeaterBytes, byte[] encIVBytes, boolean encIVBytesInChunklist, String encKeyFormat, String encKeyFormatVersion, String encPlayReadyHeader, String originRepeaterContext, Map<String, Map<String, String>> userManifestHeaders) -
mergeUserManifestHeaders
-
endChunkAudioTS
-
endChunkVideoTS
-
endChunkTS
-
endChunkSubtitles
public void endChunkSubtitles(long timecode) -
endChunkSubtitlesRepeater
public void endChunkSubtitlesRepeater(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.LiveStreamPacketizerWebVTTChunk captions) -
addToChunkAudioTS
public void addToChunkAudioTS(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder tsHolder) -
addToChunkVideoTS
public void addToChunkVideoTS(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder tsHolder) -
addToChunkTS
public void addToChunkTS(com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoTSHolder tsHolder) -
getRepeaterLastSeqence
public long getRepeaterLastSeqence()Description copied from interface:ILiveStreamPacketizer
Get the sequence number of the last added repeater item- Specified by:
getRepeaterLastSeqence
in interfaceILiveStreamPacketizer
- Overrides:
getRepeaterLastSeqence
in classcom.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase
- Returns:
- sequence number
-
getRepeaterItems
public void getRepeaterItems(List<com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoRepeaterHolder> items, long seq) - Overrides:
getRepeaterItems
in classcom.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase
-
trim
protected void trim(long chunkIndex) -
getChunkByFilename
-
getChunkAudioByFilename
-
getChunkVideoByFilename
-
getLock
- Specified by:
getLock
in interfaceILiveStreamPacketizer
- Specified by:
getLock
in interfaceILiveStreamPacketizerCupertino
- Returns:
- Packetizer's Lock or null if none
-
getPlaylistLock
-
getPlaylistStr
- Specified by:
getPlaylistStr
in interfaceILiveStreamPacketizerCupertino
-
getCodecsStr
- Specified by:
getCodecsStr
in interfaceILiveStreamPacketizerCupertino
-
getResolutionStr
- Specified by:
getResolutionStr
in interfaceILiveStreamPacketizerCupertino
-
getPlaylistAudioStr
- Specified by:
getPlaylistAudioStr
in interfaceILiveStreamPacketizerCupertino
-
getCodecsAudioStr
- Specified by:
getCodecsAudioStr
in interfaceILiveStreamPacketizerCupertino
-
getPlaylistVideoStr
- Specified by:
getPlaylistVideoStr
in interfaceILiveStreamPacketizerCupertino
-
getCodecsVideoStr
- Specified by:
getCodecsVideoStr
in interfaceILiveStreamPacketizerCupertino
-
isEmptyAllPlaylist
public boolean isEmptyAllPlaylist() -
getPlayReadySampleEncHeaderFromEarliestChunk
-
isEmptyPlaylist
public boolean isEmptyPlaylist()- Specified by:
isEmptyPlaylist
in interfaceILiveStreamPacketizerCupertino
-
isEmptyAudioPlaylist
public boolean isEmptyAudioPlaylist()- Specified by:
isEmptyAudioPlaylist
in interfaceILiveStreamPacketizerCupertino
-
isEmptyVideoPlaylist
public boolean isEmptyVideoPlaylist()- Specified by:
isEmptyVideoPlaylist
in interfaceILiveStreamPacketizerCupertino
-
getUserManifestHeaders
public com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoUserManifestHeaders getUserManifestHeaders(com.wowza.wms.httpstreamer.cupertinostreaming.httpstreamer.CupertinoStreamingRendition rendition) -
getUserManifestHeaders
public com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoUserManifestHeaders getUserManifestHeaders() -
getUserManifestHeadersAudio
public com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoUserManifestHeaders getUserManifestHeadersAudio() -
getUserManifestHeadersVideo
public com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.CupertinoUserManifestHeaders getUserManifestHeadersVideo() -
addAdditionaManifestHeaders
-
getTitleStr
-
setTitleStr
-
isCaptionTargetCEA608
public boolean isCaptionTargetCEA608() -
isCaptionTargetWebVTT
public boolean isCaptionTargetWebVTT()- Specified by:
isCaptionTargetWebVTT
in interfaceILiveStreamPacketizerCupertino
-
isAudioOnlyRendition
public boolean isAudioOnlyRendition() -
isVideoOnlyRendition
public boolean isVideoOnlyRendition() -
isAudioVideoRendition
public boolean isAudioVideoRendition() -
getCalculatedBitrateAverage
public long getCalculatedBitrateAverage() -
getCalculatedAudioBitrateAverage
public long getCalculatedAudioBitrateAverage() -
getCalculatedVideoBitrateAverage
public long getCalculatedVideoBitrateAverage() -
getCalculatedBitratePeak
public long getCalculatedBitratePeak()- Specified by:
getCalculatedBitratePeak
in interfaceILiveStreamPacketizerCupertino
-
getCalculatedAudioBitratePeak
public long getCalculatedAudioBitratePeak()- Specified by:
getCalculatedAudioBitratePeak
in interfaceILiveStreamPacketizerCupertino
-
getCalculatedVideoBitratePeak
public long getCalculatedVideoBitratePeak() -
getID3FramesHeader
public ID3Frames getID3FramesHeader(com.wowza.wms.httpstreamer.cupertinostreaming.httpstreamer.CupertinoStreamingRendition rendition) -
getID3FramesHeader
-
getID3FramesHeaderAudio
-
getID3FramesHeaderVideo
-
getChunkWriter
-
setChunkWriter
-
getDataHandler
-
getDataHandler2
-
setDataHandler
-
setDataHandler
-
isEnableDataEvents
public boolean isEnableDataEvents() -
setEnableDataEvents
public void setEnableDataEvents(boolean enableDataEvents) -
isOnChunkStartResetCounter
public boolean isOnChunkStartResetCounter() -
setOnChunkStartResetCounter
public void setOnChunkStartResetCounter(boolean onChunkStartResetCounter) -
isPacketizeAllStreamsAsTS
public boolean isPacketizeAllStreamsAsTS() -
setPacketizeAllStreamsAsTS
public void setPacketizeAllStreamsAsTS(boolean packetizeAllStreamsAsTS) -
getSubtitlelistStr
- Specified by:
getSubtitlelistStr
in interfaceILiveStreamPacketizerCupertino
-
getSubtitleChunk
- Specified by:
getSubtitleChunk
in interfaceILiveStreamPacketizerCupertino
-
getLastChunkId
public int getLastChunkId() -
getLastChunkId
public int getLastChunkId(int rendition) - Specified by:
getLastChunkId
in interfaceILiveStreamPacketizerCupertino
-
getFirstChunkId
public int getFirstChunkId() -
getFirstChunkId
public int getFirstChunkId(int rendition) - Specified by:
getFirstChunkId
in interfaceILiveStreamPacketizerCupertino
-
getChunkCount
public int getChunkCount() -
getChunkCount
public int getChunkCount(int rendition) - Specified by:
getChunkCount
in interfaceILiveStreamPacketizerCupertino
-
getChunkById
- Specified by:
getChunkById
in interfaceILiveStreamPacketizerCupertino
-
getCaptionsChunkById
public com.wowza.wms.httpstreamer.cupertinostreaming.livestreampacketizer.LiveStreamPacketizerWebVTTChunk getCaptionsChunkById(long index) -
getRandomSessionStr
- Specified by:
getRandomSessionStr
in interfaceILiveStreamPacketizerCupertino
-
getChunkDurationTarget
public int getChunkDurationTarget()- Specified by:
getChunkDurationTarget
in interfaceILiveStreamPacketizer
- Overrides:
getChunkDurationTarget
in classcom.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase
-
getPlaylistChunkCount
public int getPlaylistChunkCount()- Specified by:
getPlaylistChunkCount
in interfaceILiveStreamPacketizerCupertino
-
getMaxChunkCount
public int getMaxChunkCount()- Specified by:
getMaxChunkCount
in interfaceILiveStreamPacketizerCupertino
-
getChunkIdHandler
-
setChunkIdHandler
public void setChunkIdHandler(IHTTPStreamerCupertinoLiveStreamPacketizerChunkIdHandler chunkIdHandler) -
hasCaptionChunks
public boolean hasCaptionChunks() -
getMaxChunkDuration
public int getMaxChunkDuration() -
setMaxChunkDuration
public void setMaxChunkDuration(int maxChunkDuration) -
getMinChunkDuration
public int getMinChunkDuration() -
setMinChunkDuration
public void setMinChunkDuration(int minChunkDuration) -
isAutoAdjustDurationIfOutOfBounds
public boolean isAutoAdjustDurationIfOutOfBounds() -
setAutoAdjustDurationIfOutOfBounds
public void setAutoAdjustDurationIfOutOfBounds(boolean autoAdjustDurationIfOutOfBounds) -
isChunkIdFromRepeater
public boolean isChunkIdFromRepeater() -
setChunkIdFromRepeater
public void setChunkIdFromRepeater(boolean chunkIdFromRepeater) -
getSegmentDurationTarget
public int getSegmentDurationTarget()Description copied from interface:ILiveStreamPacketizer
Returns the duration in milliseconds of the segment else throws an UnsupportedOperationException- Specified by:
getSegmentDurationTarget
in interfaceILiveStreamPacketizer
- Overrides:
getSegmentDurationTarget
in classcom.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase
- Returns:
-
getSegmentStartKeyTimecode
public long getSegmentStartKeyTimecode()Description copied from interface:ILiveStreamPacketizer
Returns the start timecode for the current chunk / segment- Specified by:
getSegmentStartKeyTimecode
in interfaceILiveStreamPacketizer
- Returns:
- chunkStartKeyTimecodePTS or -1 if not implemented
-
getSegmentStopKeyTimecode
public long getSegmentStopKeyTimecode()Description copied from interface:ILiveStreamPacketizer
Returns the stop timecode for the current chunk / segment- Specified by:
getSegmentStopKeyTimecode
in interfaceILiveStreamPacketizer
- Returns:
- chunkStopKeyTimecodePTS or -1 if not implemented
-
setSegmentStopKeyTimecode
Description copied from interface:ILiveStreamPacketizer
Sets chunkStopKeyTimecodePTS to a specific value- Specified by:
setSegmentStopKeyTimecode
in interfaceILiveStreamPacketizer
- Parameters:
timecode
- - new value for chunkStopKeyTimecodePTS, must be greater than chunkStartKeyTimecodePTS- Throws:
IllegalArgumentException
- if timecode <= chunkStartKeyTimecodePTS
-
getLiveStreamPacketizerName
- Specified by:
getLiveStreamPacketizerName
in interfaceILiveStreamPacketizerCupertino
-
getVideoInit
public com.wowza.wms.httpstreamer.cmafstreaming.livestreampacketizer.CmafSegment getVideoInit(com.wowza.wms.httpstreamer.model.SegmentFormat cmafAudio) - Specified by:
getVideoInit
in interfaceILiveStreamPacketizerCupertino
-
getAudioInit
public com.wowza.wms.httpstreamer.cmafstreaming.livestreampacketizer.CmafSegment getAudioInit(com.wowza.wms.httpstreamer.model.SegmentFormat cmafVideo) - Specified by:
getAudioInit
in interfaceILiveStreamPacketizerCupertino
-