Class 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
    • 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 mediaStream
      void 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
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MediaStreamBase

        public MediaStreamBase()
    • 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 interface IMediaStream
        Overrides:
        init in class com.wowza.wms.stream.MediaStream
        Parameters:
        parent - parent mediaStreamMap of the parent applicationInstance
        src - stream id for this stream
        properties - initial properties as defined in Streams.xml
      • publish

        public void publish()
        Description copied from interface: IMediaStream
        Publish mediaStream
        Specified by:
        publish in interface IMediaStream
        Specified by:
        publish in class com.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 interface IMediaStream
        Specified by:
        trim in class com.wowza.wms.stream.MediaStream