Package com.wowza.wms.stream
Class MediaStreamBase
- Object
-
- com.wowza.wms.stream.MediaStream
-
- com.wowza.wms.stream.MediaStreamBase
-
- All Implemented Interfaces:
IMediaStream
public class MediaStreamBase extends com.wowza.wms.stream.MediaStream
-
-
Field Summary
-
Fields inherited from class com.wowza.wms.stream.MediaStream
actionListeners, AMLST_STREAM_EXT, audioBytes, audioSize, audioTC, audioWrapBase, audioWrapCounter, audioWrapDelta, audioWrapThreshold, BASE_STREAM_EXT, bufferTime, callbackListeners, callbacks, client, dataBytes, dataSize, dataTC, dataType, dataWrapBase, dataWrapCounter, dataWrapDelta, dataWrapThreshold, dvrLock, dvrMap, dvrPlayer, dvrRecorder, dvrRecorderList, dvrRepeater, elapsedTime, enhancedWrapEnabled, ext, fastPlaySettings, FLV_STREAM_EXT, h264SEIListeners, headerSize, httpStreamerSession, ID3_STREAM_EXT, isAppend, isClustered, isMediaCasterPlay, isOpen, isPlay, isPlaying, isPublisherStream, isRecord, isSRT, isTranscodeResult, isWebRTC, livePacketListeners, liveStreamPacketizer, liveStreamPacketizerList, liveStreamRepeater, liveStreamTranscoderList, lock, mediaIOPerformance, mergeOnMetadata, metaDataProvider, MP3_STREAM_EXT, MP4_STREAM_EXT, name, netConnection, NGRP_STREAM_EXT, parent, player, playLen, playStart, playTransition, previousAudioDeltaTC, previousAudioTC, previousDataDeltaTC, previousDataTC, previousVideoDeltaTC, previousVideoTC, properties, queryStr, receiveAudio, receiveVideo, receiveVideoFPS, rtpStream, SEND_CONTROL0, SEND_CONTROL1, SEND_CONTROL3, SEND_CONTROL4, sendDirectLock, sendDirectMessages, sendPlayStopLogEvent, sendPublishStopLogEvent, sendRecordStopLogEvent, SMIL_STREAM_EXT, src, STREAM_DEFAULTNAME, streamType, timecodeMax32Bit, transcoderEncoderStreamInfo, transcoderLock, transcoderMap, transcoderSessionDestination, tss, videoBytes, videoSize, videoTC, videoWrapBase, videoWrapCounter, videoWrapDelta, videoWrapThreshold
-
Fields inherited from interface com.wowza.wms.stream.IMediaStream
AUDIOSAMPLEACCESS, PACKET_COUNTS_AUDIO, PACKET_COUNTS_DATA, PACKET_COUNTS_SIZE, PACKET_COUNTS_VIDEO, PACKET_COUNTS_VIDEOKEY, PUBLISH_BITRATE_SOURCE_LASTGOP, PUBLISH_BITRATE_SOURCE_MEASURE, PUBLISH_BITRATE_SOURCE_METADATA, PUBLISH_FRAMERATE_SOURCE_MEASURE, PUBLISH_FRAMERATE_SOURCE_METADATA, READACCESS, VIDEOSAMPLEACCESS, WRITEACCESS
-
-
Constructor Summary
Constructors Constructor Description MediaStreamBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(MediaStreamMap parent, int src, WMSProperties properties)
Initialize the mediaStream object after creation.void
publish()
Publish mediaStreamvoid
trim()
Trim mediaStream.-
Methods inherited from class com.wowza.wms.stream.MediaStream
addAudioCodecConfigPacket, addAudioData, addAudioExtraData, addCalbackListener, addClientListener, addClientListener, addClientListener, addDataData, addDataExtraData, addLivePacketListener, addVideoCodecConfigPacket, addVideoData, addVideoExtraData, addVideoH264SEIListener, clear, clearFastPlaySettings, clearLoggingValues, close, flush, getAccess, getAudioCodecConfigPacket, getAudioMissing, getAudioSize, getAudioTC, getBufferTime, getBurstStartStop, getCacheName, getClient, getClientId, getContextStr, getDataMissing, getDataSize, getDataTC, getDataType, getDvrRecorder, getDvrRecorder, getDvrRecorderList, getDvrRepeater, getElapsedTime, getExt, getFastPlaySettings, getHeaderSize, getHTTPStreamerSession, getIsSRT, getIsWebRTC, getLastKeyFrame, getLastPacket, getLiveStreamDvr, getLiveStreamDvrs, getLiveStreamPacketizer, getLiveStreamPacketizer, getLiveStreamPacketizerList, getLiveStreamRepeater, getLiveStreamTranscoder, getLiveStreamTranscoderList, getLiveStreamTranscoders, getMaxTimecode, getMediaIOPerformance, getMetaDataProvider, getName, getNetConnection, getPlayer, getPlayPackets, getProperties, getPublishAudioCodecId, getPublishBitrateAudio, getPublishBitrateAudio, getPublishBitrateVideo, getPublishBitrateVideo, getPublishFrameCountAudio, getPublishFrameCountData, getPublishFrameCounts, getPublishFrameCountVideo, getPublishFrameCountVideoKey, getPublishFramerateVideo, getPublishFramerateVideo, getPublishKeyFrameIntervalsVideo, getPublishVideoCodecId, getQueryStr, getReceiveVideoFPS, getRespAMFAudioObj, getRespAMFDataObj, getRespAMFVideoObj, getRTPStream, getSrc, getStreamFileForRead, getStreamFileForRead, getStreamFileForWrite, getStreamFileForWrite, getStreams, getStreamType, getTranscoderEncoderStreamInfo, getTranscoderSessionDestination, getTss, getUniqueStreamIdStr, getVideoCodecConfigPacket, getVideoMissing, getVideoSize, getVideoTC, handleCallback, idle, incrementMediaInBytes, incrementMediaLossBytes, incrementMediaOutBytes, initDvrRepeating, initLiveStreamRepeating, isAppend, isClustered, isMediaCasterPlay, isMergeOnMetadata, isOpen, isPlay, isPlaying, isPublisherStream, isPublishStreamReady, isReceiveAudio, isReceiveVideo, isRecord, isSendDirectMessages, isSendPlayStopLogEvent, isSendPublishStopLogEvent, isSendRecordStopLogEvent, isTranscoderEncoderStreamRoot, isTranscodeResult, isVideoH264SEIListenerEmpty, length, notifyActionOnCodecInfoAudio, notifyActionOnCodecInfoVideo, notifyActionOnMetaData, notifyActionPause, notifyActionPauseRaw, notifyActionPlay, notifyActionPublish, notifyActionSeek, notifyActionStop, notifyActionUnPublish, notifyLivePacket, notifyVideoH264Packet, packetComplete, processSendDirectMessages, putDvrRecorder, putLiveStreamTranscoder, registerCallback, registerOnPlayStatus, registerOnStatus, removeCalbackListener, removeClientListener, removeClientListener, removeClientListener, removeDvrRecorder, removeLivePacketListener, removeLiveStreamTranscoder, removeVideoH264SEIListener, reset, send, send, sendAMF3, sendAMF3, sendControlBytes, sendDataToCallback, sendDirect, sendDirect, sendDirectAMF3, sendDirectAMF3, sendDirectInternal, sendDirectInternal, sendInternal, sendInternal, sendLivePlaySeek, sendLivePlayStart, sendLivePlaySwitch, sendPauseNotify, sendPauseNotify, sendPlayReset, sendPlayReset, sendPlaySeek, sendPlaySeek, sendPlaySeek, sendPlayStart, sendPlayStart, sendPlayStart, sendPlayStart, sendPlayStatus, sendPlayStatus, sendPlayStop, sendPlayStop, sendPlaySwitch, sendPlaySwitch, sendStreamNotFound, sendStreamNotFound, sendUnpauseNotify, sendUnpauseNotify, sendUnpauseNotify, sendVODPlaySwitch, setAppend, setAudioSize, setAudioTC, setAudioTC, setBufferTime, setClient, setClustered, setDataSize, setDataTC, setDataTC, setDataType, setDvrRecorder, setDvrRecorderList, setDvrRepeater, setExt, setFastPlaySettings, setHeaderSize, setHTTPStreamerSession, setIsPlaying, setIsSRT, setIsWebRTC, setJustName, setLiveStreamPacketizer, setLiveStreamPacketizerList, setLiveStreamRepeater, setLiveStreamTranscoderList, setMediaCasterPlay, setMergeOnMetadata, setMetaDataProvider, setName, setName, setName, setNetConnection, setOpen, setPlay, setPlayer, setPublishAudioCodecId, setPublisherStream, setPublishVideoCodecId, setQueryStr, setReceiveAudio, setReceiveVideo, setReceiveVideoFPS, setRecord, setRTPStream, setSendPlayStopLogEvent, setSendPublishStopLogEvent, setSendRecordStopLogEvent, setSrc, setStreamType, setTranscoderEncoderStreamInfo, setTranscodeResult, setTranscoderSessionDestination, setTss, setVideoSize, setVideoTC, setVideoTC, shutdown, size, startAudioPacket, startDataPacket, startPublishing, startVideoPacket, stopName, stopPublishing, switchName, unregisterCallback, unregisterOnPlayStatus, unregisterOnStatus, updateLoggingDuration, updateLoggingValues
-
-
-
-
Method Detail
-
init
public void init(MediaStreamMap parent, int src, WMSProperties properties)
Description copied from interface:IMediaStream
Initialize the mediaStream object after creation. Creation and initialization are separated due to the order of the creation events.- Specified by:
init
in interfaceIMediaStream
- Overrides:
init
in classcom.wowza.wms.stream.MediaStream
- Parameters:
parent
- parent mediaStreamMap of the parent applicationInstancesrc
- stream id for this streamproperties
- initial properties as defined in Streams.xml
-
publish
public void publish()
Description copied from interface:IMediaStream
Publish mediaStream- Specified by:
publish
in interfaceIMediaStream
- Specified by:
publish
in classcom.wowza.wms.stream.MediaStream
-
trim
public void trim()
Description copied from interface:IMediaStream
Trim mediaStream. This method will remove live packets that are older than the live buffer size.- Specified by:
trim
in interfaceIMediaStream
- Specified by:
trim
in classcom.wowza.wms.stream.MediaStream
-
-