public class LiveStreamPacketizerMPEGDash
extends com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBase
| Modifier and Type | Field and Description |
|---|---|
protected WMSProperties |
appProps |
static int |
AUDIOGROUPCOUNT |
static int |
CHUNKDURATIONTOLERANCE |
protected static Class<LiveStreamPacketizerMPEGDash> |
CLASS |
protected static String |
CLASSNAME |
protected String |
liveRepeaterEncryptionSharedSecret |
static int |
MAXCHUNKLOGCOUNT |
protected String |
originRepeaterContext |
static int |
PLAYSTARTTOLERANCE |
protected WMSProperties |
props |
protected String |
randomSessionStr |
static int |
STREAMMODE_AAC |
static int |
STREAMMODE_MP3 |
static int |
STREAMMODE_TS |
static int |
WAITFORCODECTIME |
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, packetizeAudio, packetizeData, packetizerName, packetizeVideo, properties, runnerLock, startStream, streamName, streamStartupTimeout, streamTimeout, timeoutLock| Constructor and Description |
|---|
LiveStreamPacketizerMPEGDash() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToChunk(com.wowza.wms.httpstreamer.model.LiveStreamPacketizerPacketHolder holder) |
void |
endChunk(long timecode,
long timecodeAudio) |
String |
getAdditionalLiveProfiles() |
MPEGDashDashChunk |
getAudioChunk(int chunkFormat,
long index) |
MPEGDashDashChunk |
getAudioChunkByTime(int chunkFormat,
long time) |
long |
getAudioChunkIdFirst() |
long |
getAudioChunkIdLast() |
MPEGDashDashChunk |
getAudioInit(int chunkFormat) |
String |
getAudioMimeType(int chunkFormat) |
long |
getBitrate() |
long |
getBitrateAudio() |
long |
getBitrateVideo() |
int |
getChunkCount() |
int |
getChunkCountAudio() |
int |
getChunkCountMedia() |
int |
getChunkCountVideo() |
int |
getChunkDurationTarget() |
static int |
getChunkDurationTarget(IApplicationInstance appInstance,
String packetizer) |
IHTTPStreamerMPEGDashLiveStreamPacketizerChunkIdHandler |
getChunkIdHandler() |
com.wowza.wms.media.model.MediaCodecInfoAudio |
getCodecInfoAudio() |
com.wowza.wms.media.model.MediaCodecInfoVideo |
getCodecInfoVideo() |
int |
getDefaultChunkFormat() |
int |
getDefaultChunkSetIndex() |
CencInfo |
getEncInfo() |
double |
getFrameRate() |
Object |
getLock() |
MPEGDashDashChunk |
getMediaChunk(int chunkFormat,
long index) |
MPEGDashDashChunk |
getMediaChunkByTime(int chunkFormat,
long time) |
MPEGDashDashChunk |
getMediaInit(int chunkFormat) |
String |
getMediaMimeType(int chunkFormat) |
long |
getMinimumUpdatePeriod() |
int |
getPlaylistChunkCount() |
String |
getRandomSessionStr() |
void |
getRepeaterItemsMPEGDash(java.util.List<com.wowza.wms.httpstreamer.mpegdashstreaming.livestreampacketizer.MPEGDashRepeaterHolder> items,
long seq) |
long |
getRepeaterLastSeqence()
Get the sequence number of the last added repeater item
|
java.util.Date |
getStreamStartDate() |
MPEGDashDashChunk |
getVideoChunk(int chunkFormat,
long index) |
MPEGDashDashChunk |
getVideoChunkByTime(int chunkFormat,
long time) |
long |
getVideoChunkIdFirst() |
long |
getVideoChunkIdLast() |
MPEGDashDashChunk |
getVideoInit(int chunkFormat) |
String |
getVideoMimeType(int chunkFormat) |
void |
indexStream(com.wowza.wms.httpstreamer.mpegdashstreaming.file.HTTPStreamerMPEGDashLiveIndexItem indexItem) |
void |
init(String streamName,
String packetizerName,
IApplicationInstance appInstance,
com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerItem liveStreamPacketizerItem)
Initialize live stream packetizer
|
void |
internalHandlePacket(IMediaStream stream,
AMFPacket packet) |
void |
internalResetStream(IMediaStream stream) |
void |
internalStartStream(IMediaStream stream) |
boolean |
isHbbtvLiveProfileEnabled() |
boolean |
isPlaylistReady() |
boolean |
isRandomizeMediaName() |
void |
repeaterItemsMPEGDashflushed() |
void |
resetStream() |
void |
setAudioCodec(int codecId) |
void |
setChunkIdHandler(IHTTPStreamerMPEGDashLiveStreamPacketizerChunkIdHandler chunkIdHandler) |
void |
setCodecInfoAudio(com.wowza.wms.media.model.MediaCodecInfoAudio codecInfoAudio) |
void |
setCodecInfoVideo(com.wowza.wms.media.model.MediaCodecInfoVideo codecInfoVideo) |
void |
setRandomizeMediaName(boolean randomizeMediaName) |
void |
setVideoCodec(int codecId) |
void |
startChunk(long chunkId,
long chunkIdUser,
int streamMode,
int videoCodecId,
int audioCodecId,
long timecode,
long timecodeUser,
String originRepeaterContext,
CencInfo encInfo) |
CencInfo |
updateCencInfo(long chunkId) |
addPacketizerEvent, checkTimeout, getAndSetStartStream, getApplicationInstance, getCaptionProvider, getContextStr, getLiveStreamPacketizerId, getMaxEventCount, getProperties, getRepeaterItems, getRepeaterItemsSanJose, getStreamStartupTimeout, getStreamTimeout, handlePacket, initLiveCaptionIngestor, isActive, isCEA608IngestModuleInstalled, isPacketizeAudio, isPacketizeData, isPacketizeVideo, isRepeaterEdge, onIdle, resetStream, run, setLiveStreamPacketizerId, setMaxEventCount, setPacketizeAudio, setPacketizeData, setPacketizeVideo, setRepeaterEdge, setStreamStartupTimeout, setStreamTimeout, shutdown, startStream, touchprotected WMSProperties appProps
public static final int AUDIOGROUPCOUNT
public static final int CHUNKDURATIONTOLERANCE
protected static final Class<LiveStreamPacketizerMPEGDash> CLASS
protected static final String CLASSNAME
protected String liveRepeaterEncryptionSharedSecret
public static final int MAXCHUNKLOGCOUNT
protected String originRepeaterContext
public static final int PLAYSTARTTOLERANCE
protected WMSProperties props
protected String randomSessionStr
public static final int STREAMMODE_AAC
public static final int STREAMMODE_MP3
public static final int STREAMMODE_TS
public static final int WAITFORCODECTIME
public void addToChunk(com.wowza.wms.httpstreamer.model.LiveStreamPacketizerPacketHolder holder)
public void endChunk(long timecode,
long timecodeAudio)
public String getAdditionalLiveProfiles()
public MPEGDashDashChunk getAudioChunk(int chunkFormat, long index)
public MPEGDashDashChunk getAudioChunkByTime(int chunkFormat, long time)
public long getAudioChunkIdFirst()
public long getAudioChunkIdLast()
public MPEGDashDashChunk getAudioInit(int chunkFormat)
public String getAudioMimeType(int chunkFormat)
public long getBitrate()
public long getBitrateAudio()
public long getBitrateVideo()
public int getChunkCount()
public int getChunkCountAudio()
public int getChunkCountMedia()
public int getChunkCountVideo()
public int getChunkDurationTarget()
public static int getChunkDurationTarget(IApplicationInstance appInstance, String packetizer)
public IHTTPStreamerMPEGDashLiveStreamPacketizerChunkIdHandler getChunkIdHandler()
public com.wowza.wms.media.model.MediaCodecInfoAudio getCodecInfoAudio()
public com.wowza.wms.media.model.MediaCodecInfoVideo getCodecInfoVideo()
public int getDefaultChunkFormat()
public int getDefaultChunkSetIndex()
public CencInfo getEncInfo()
public double getFrameRate()
public Object getLock()
public MPEGDashDashChunk getMediaChunk(int chunkFormat, long index)
public MPEGDashDashChunk getMediaChunkByTime(int chunkFormat, long time)
public MPEGDashDashChunk getMediaInit(int chunkFormat)
public String getMediaMimeType(int chunkFormat)
public long getMinimumUpdatePeriod()
public int getPlaylistChunkCount()
public String getRandomSessionStr()
public void getRepeaterItemsMPEGDash(java.util.List<com.wowza.wms.httpstreamer.mpegdashstreaming.livestreampacketizer.MPEGDashRepeaterHolder> items,
long seq)
public long getRepeaterLastSeqence()
ILiveStreamPacketizergetRepeaterLastSeqence in interface ILiveStreamPacketizergetRepeaterLastSeqence in class com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBasepublic java.util.Date getStreamStartDate()
public MPEGDashDashChunk getVideoChunk(int chunkFormat, long index)
public MPEGDashDashChunk getVideoChunkByTime(int chunkFormat, long time)
public long getVideoChunkIdFirst()
public long getVideoChunkIdLast()
public MPEGDashDashChunk getVideoInit(int chunkFormat)
public String getVideoMimeType(int chunkFormat)
public void indexStream(com.wowza.wms.httpstreamer.mpegdashstreaming.file.HTTPStreamerMPEGDashLiveIndexItem indexItem)
public void init(String streamName,
String packetizerName,
IApplicationInstance appInstance,
com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerItem liveStreamPacketizerItem)
ILiveStreamPacketizerinit in interface ILiveStreamPacketizerinit in class com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBasestreamName - stream namepacketizerName - packetizer nameappInstance - application instanceliveStreamPacketizerItem - live stream packetizerpublic void internalHandlePacket(IMediaStream stream, AMFPacket packet)
internalHandlePacket in class com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBasepublic void internalResetStream(IMediaStream stream)
internalResetStream in class com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBasepublic void internalStartStream(IMediaStream stream)
internalStartStream in class com.wowza.wms.stream.livepacketizer.LiveStreamPacketizerBasepublic boolean isHbbtvLiveProfileEnabled()
public boolean isPlaylistReady()
public boolean isRandomizeMediaName()
public void repeaterItemsMPEGDashflushed()
public void resetStream()
public void setAudioCodec(int codecId)
public void setChunkIdHandler(IHTTPStreamerMPEGDashLiveStreamPacketizerChunkIdHandler chunkIdHandler)
public void setCodecInfoAudio(com.wowza.wms.media.model.MediaCodecInfoAudio codecInfoAudio)
public void setCodecInfoVideo(com.wowza.wms.media.model.MediaCodecInfoVideo codecInfoVideo)
public void setRandomizeMediaName(boolean randomizeMediaName)
public void setVideoCodec(int codecId)
public void startChunk(long chunkId,
long chunkIdUser,
int streamMode,
int videoCodecId,
int audioCodecId,
long timecode,
long timecodeUser,
String originRepeaterContext,
CencInfo encInfo)
public CencInfo updateCencInfo(long chunkId)