Package com.wowza.wms.application
Interface IApplicationInstance
- 
 public interface IApplicationInstanceIApplicationInstance: public interface to ApplicationInstance object 
- 
- 
Field Summary
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddClientListener(IClientNotify clientListener)Add client listener.voidaddDvrConverterListener(com.wowza.wms.dvr.converter.IDvrConverterActionNotify listener)Add a DVRConverter listener class.voidaddDvrRecorderListener(ILiveStreamDvrRecorderActionNotify listener)Add a Dvr Recorder listenervoidaddDvrStreamManagerListener(IDvrStreamManagerActionNotify listener)Add a Dvr Application Store Manager listenervoidaddHTTPListener(IHTTPSessionNotify httpListener)Add listner to be notified of HTTPSession create and destroy.voidaddHTTPStreamerSession(IHTTPStreamerSession httpStreamerSession)Add a HTTPStreamerSession to this application instanceIOPerformanceCounteraddIOPerformance(int counterIndex, IOPerformanceCounter totalIOPerformanceResult)IOPerformanceCounteraddIOPerformance(IOPerformanceCounter ioPerformanceCounter)voidaddLiveStreamPacketizerListener(ILiveStreamPacketizerActionNotify liveStreamPacketizerListener)Add a Live Stream Packetizer listenervoidaddLiveStreamTranscoderListener(ILiveStreamTranscoderNotify liveStreamTranscoderListener)Add a live stream transcoder listenervoidaddMediaCasterListener(IMediaCasterNotify mediaCasterListener)Add mediaCaster listener.voidaddMediaCasterListener(IMediaCasterNotify2 mediaCasterListener)Add mediaCaster listener.voidaddMediaReaderListener(IMediaReaderActionNotify mediaReaderListener)Add media reader listener.voidaddMediaStreamListener(IMediaStreamNotify mediaStreamListener)Add mediaStream listener.voidaddMediaWriterListener(IMediaWriterActionNotify listener)Add a MediaWriter listener class.voidaddModuleListener(IModuleNotify moduleListener)Add module listener.voidaddPlayStreamByName(IMediaStream stream, String name)Add a media stream to the list of streams that are listening for a published streamvoidaddPublisher(Publisher publisher)Add a server side publisher to this application instancevoidaddPushPublishSession(IMediaStream stream, IPushPublishSession pushPublishSession)Add a push publish session to the list of active push publish sessionsvoidaddPushPublishSessionListener(IPushPublishSessionNotify pushPublishSessionListener)Add a push publish session listenervoidaddRTPIncomingDatagramPortAll()Allow all incoming RTP UDP ports for this application instancevoidaddRTPIncomingDatagramPortRange(int startPort, int endPort)Add a port range to the list of valid incoming RTP UDP portsvoidaddRTPListener(IRTPSessionNotify rtpListener)Add listner to be notified of RTPSession create and destroy.voidaddRTPSession(RTPSession rtpSession)Add an RTP session to this application instancevoidaddSharedObjectListener(ISharedObjectNotify sharedObjectListener, boolean isPersistent)Add sharedObject listener.voidaddSourceControlSession(String streamName, ISourceControlSession sourceControlSession)Add a source control session to the list of active source control sessions associated with the given stream namevoidaddSourceControlSessionListener(ISourceControlSessionNotify sourceControlSessionListener)Add a source control session listenervoidbroadcastMsg(String handlerName, Object... params)Broadcast a message to all clients connected to this applicationInstancevoidbroadcastMsg(java.util.List<IClient> clientList, String handlerName)Broadcast a message to a specific list of clients connected to this application instancevoidbroadcastMsg(java.util.List<IClient> clientList, String handlerName, Object... params)Broadcast a message to a specific list of clients connected to this application instancebooleancontainsDvrRecorder(String dvrRecorder)Does this application instance contain a references to this DVR recorder.booleancontainsHTTPStreamer(String httpStreamer)Does this application instance allow streaming of a given HTTPStreamerbooleancontainsLiveStreamPacketizer(String liveStreamPacketizer)Does this application instance contain a references to this live stream packetizer.booleancontainsLiveStreamTranscoder(String liveStreamTranscoder)Return true if this application instance contains the transcoder nameStringdecodeStorageDir(String storageDir)This function will take a storage path that uses variables and expand the variables based on the context.String[]getAllowDomains()Get the list of domain names used to control access to this application.IApplicationgetApplication()Get parent applicationintgetApplicationInstanceTouchTimeout()Get the application instance touch timeout (milliseconds).intgetApplicationTimeout()Get application timeout (milliseconds)IClientgetClientById(int index)Get a client connection by the client IdintgetClientCount()Get number of client connections currently connected to applicationInstanceintgetClientCountTotal()Get number of client connections in total that have connected to this applicationInstanceintgetClientIdleFrequency()Get default client idle frequency (milliseconds)java.util.List<IClient>getClients()Get the set of clients currently connected to this application instance (replaces getClient(index))edu.emory.mathcs.backport.java.util.concurrent.locks.WMSReadWriteLockgetClientsLockObj()Get the read/write lock for this application instanceConnectionCountergetConnectionCounter()Get the connectionCounter for applicationInstancecom.wowza.wms.client.ConnectionCounterSimplegetConnectionCounter(int counterIndex)Get the connectionCounter for applicationInstance for a specific technology (see IVHost.COUNTER_*)StringgetContextStr()Returns the application context string in the form [application]/[appInstance].StringgetDateStarted()Get date applcationInstance startedcom.wowza.wms.dvr.DvrApplicationContextgetDvrApplicationContext()Get live stream dvr application contextcom.wowza.wms.dvr.DvrApplicationConverterContextgetDvrConverter()Get dvr application converter contextWMSPropertiesgetDvrProperties()Get the property collection of DVR settings that are specific to this application instance.StringgetDvrRecorderList()Get the comma separated list of Dvr Recorder names being used by this application (see conf/Dvr.xml)IHTTPStreamerApplicationContextgetHTTPStreamerApplicationContext(String httpStreamName, boolean doCreate)Get the HTTPStreamer application context for a given HTTPStreamer adapterStringgetHTTPStreamerList()Get the comma separated list of HTTPStreamers names being used by this application (see conf/HTTPStreamers.xml)WMSPropertiesgetHTTPStreamerProperties()Get the property collection of HTTPStreamer settings that are specific to this application instanceintgetHTTPStreamerSessionCount()Get the current number of HTTPStreamerSessions associated with this application instanceintgetHTTPStreamerSessionCount(int protocol)Get the current number of HTTPStreamerSessions associated with this application instance by protocol.intgetHTTPStreamerSessionCount(int protocol, String streamName)Get the current number of HTTPStreamerSessions associated with this application instance and stream name by protocol .intgetHTTPStreamerSessionCount(String streamName)Get the current number of HTTPStreamerSessions associated with this application instance and stream namejava.util.Map<String,Integer>getHTTPStreamerSessionCountsByName(int protocol)Get a map of session counts by name for a given protocoljava.util.List<IHTTPStreamerSession>getHTTPStreamerSessions()Get the HTTPStreamerSessions associated with this application instancejava.util.List<IHTTPStreamerSession>getHTTPStreamerSessions(int protocol)Get the HTTPStreamerSessions associated with this application instance by protocol.java.util.List<IHTTPStreamerSession>getHTTPStreamerSessions(int protocol, String streamName)Get the HTTPStreamerSessions associated with this application instance for a stream name by protocol.java.util.List<IHTTPStreamerSession>getHTTPStreamerSessions(String streamName)Get the HTTPStreamerSessions associated with this application instance for a stream nameIOPerformanceCountergetIOPerformanceCounter()Get the performance counter for applicationInstanceIOPerformanceCountergetIOPerformanceCounter(int counterIndex)Get the performance counter for applicationInstance for a specific technology (see IVHost.COUNTER_*)longgetLastTouchTime()Get the last time the instance was touched (milliseconds)ILiveStreamDvrRecorderControlgetLiveStreamDvrRecorderControl()Get the Live Stream DVR Recorder Controller.ILiveStreamPacketizerControlgetLiveStreamPacketizerControl()Get the Live Stream Packetizer Controller.StringgetLiveStreamPacketizerList()Get the comma separated list of LiveStreamPacketizers names being used by this application (see conf/LiveStreamPacketizers.xml)WMSPropertiesgetLiveStreamPacketizerProperties()Get the property collection of LiveStreamPacketizer settings that are specific to this application instanceILiveStreamTranscoderControlgetLiveStreamTranscoderControl()Get the Live Stream Transcoder Contoller.StringgetLiveStreamTranscoderList()Get comma separated list of transcoders to use for this application instanceWMSPropertiesgetManagerProperties()Get Application's manager's properties collectionintgetMaximumPendingReadBytes()Set maximum number of bytes a client connection can have waiting to be written before the connection is terminated.intgetMaximumPendingWriteBytes()Get maximum number a bytes a client connection can have waiting to be sent before the connection is terminated.intgetMaximumSetBufferTime()Get maximum number of milliseconds allowed for the NetStream.setBufferTime(secs) call.intgetMaxStorageDirDepth()Maximum folder depth allowed for the StreamStorageDir and SharedObjectStorageDir pathsjava.util.List<com.wowza.wms.mediacache.model.MediaCacheSourceFilter>getMediaCacheFilters()Get the list of allowed MediaCache sources.WMSPropertiesgetMediaCasterProperties()Get the property collection of media caster settings that are specific to this application instanceintgetMediacasterRTPRTSPRTPTransportMode()RTP MediaCaster RTSP/RTP transport mode.MediaCasterStreamMapgetMediaCasterStreams()Get the media caster streams attached to this application instanceIMediaCasterValidateMediaCastergetMediaCasterValidator()Get the MediaCaster validator interface for this application instanceIMediaListProvidergetMediaListProvider()Get the current media list provider.intgetMediaReaderContentType(String mediaType)Get the content type of a media stream name prefix (see IMediaReader.CONTENTTYPE_*)WMSPropertiesgetMediaReaderProperties()Get the property collection of media reader settings that are specific to this application instanceWMSPropertiesgetMediaWriterProperties()Get the property collection of media reader settings that are specific to this application instancecom.wowza.wms.module.ModuleFunctionsgetModFunctions()Get list of application modulesObjectgetModuleInstance(String name)Get the instance of the module class for this application instance.com.wowza.wms.module.ModuleListgetModuleList()Get the list of loaded modules.StringgetName()Get applicationInstance nameintgetPingTimeout()Get ping timeout (milliseconds)intgetPlayStreamCount(String streamName)Get the number of Flash players playing a given stream namejava.util.Map<String,Integer>getPlayStreamCountsByName()Get a map of stream names to number of Flash players playing the stream namejava.util.List<IMediaStream>getPlayStreamsByName(String name)Get a list of media streams that are listening for published stream.WMSPropertiesgetProperties()Get applicationInstance propertiesboolean[]getProtocolUsage()Get the protocols in use by this application instance (see IApplicationInstance.PROTCOLUSAGE_*)voidgetProtocolUsage(boolean[] protocolsInUse)Get the protocols in use by this application instance (see IApplicationInstance.PROTCOLUSAGE_*)intgetPublisherCount()Get the current number of server side publishersjava.util.List<Publisher>getPublishers()Get the set of server side publishersjava.util.List<String>getPublishStreamNames()Get the list of live stream names currently being published.intgetPushPublishSessionCount()Get the number of push publishing sessions.java.util.List<IPushPublishSession>getPushPublishSessions()Get all active push publish sessionsjava.util.List<IPushPublishSession>getPushPublishSessions(IMediaStream stream)Get the current push publish sessions for a given IMediaStreamStringgetRepeaterOriginUrl()Get the Repeater Origin URL used by the Live Stream RepeaterStringgetRepeaterQueryString()Get the Repeater query string that is used to connect to the origin.StringgetRsoStorageDir()Get remote shared object storage pathStringgetRsoStoragePath()Get the resolved storage path to the shared objectsintgetRTPAVSyncMethod()Get RTP audio/video sync method (RTPStream.AVSYNCMETHODS_SENDERREPORT, RTPStream.AVSYNCMETHODS_SYSTEMCLOCK, RTPStream.AVSYNCMETHODS_RTPTIMECODE)intgetRTPIdleFrequency()Set the default RTP idle frequency (milliseconds)intgetRTPMaxRTCPWaitTime()Get the maximum time to wait for RTCP packets (milliseconds)StringgetRTPPlayAuthenticationMethod()Get the RTP play authentication method (as defined in conf/Authentication.xml)WMSPropertiesgetRTPProperties()Get the property collection of RTP settings that are specific to this application instanceStringgetRTPPublishAuthenticationMethod()Get the RTP publish authentication method (as defined in conf/Authentication.xml)intgetRTPSessionCount()Get the number of RTP sessions running under this application instanceintgetRTPSessionCount(String streamName)Get the number of RTP player streams playing a given stream namejava.util.Map<String,Integer>getRTPSessionCountsByName()Get a map of stream names and session counts of RTP sessionsjava.util.List<RTPSession>getRTPSessions()Get a list of RTP sessions running under this application instancejava.util.List<RTPSession>getRTPSessions(String streamName)Get a list of RTP sessions running under this application instance playing a given stream nameStringgetRTSPBindIpAddress()Set the IP address to which UDP ports will be bound for RTSP/RTP sessionsStringgetRTSPConnectionAddressType()Get the connection IP address type (IP4) to used in the Session Description Protocol data exchanged for an RTSP/RTP sessionStringgetRTSPConnectionIpAddress()Get the connection IP address to used in the Session Description Protocol data exchanged for an RTSP/RTP sessionintgetRTSPMaximumPendingWriteBytes()Get the maximum number of pending write bytes for an RTSP sessionStringgetRTSPOriginAddressType()Get the origin IP address type (IP4) to used in the Session Description Protocol data exchanged for an RTSP/RTP sessionStringgetRTSPOriginIpAddress()Get the origin IP address to used in the Session Description Protocol data exchanged for an RTSP/RTP sessionintgetRTSPSessionTimeout()Get the RTSP session timeout (milliseconds)StringgetSharedObjectReadAccess()Get the default shared object read accessISharedObjectsgetSharedObjects()Get non-peristent shared object collectionISharedObjectsgetSharedObjects(boolean isPersistent)Get either persistent or non-persistent shared object collectionStringgetSharedObjectWriteAccess()Get the default shared object write accessISourceControlSessiongetSourceControlSession(String streamName)Get the source control session for the given stream nameintgetSourceControlSessionCount()Get the number of source control sessions.java.util.List<ISourceControlSession>getSourceControlSessions()Get all active source control sessionsStringgetStreamAudioSampleAccess()Get the default stream audio sample accessintgetStreamCount()Get the total number of open streams attached to this application instanceIMediaStreamFileMappergetStreamFileMapper()Get the stream file mapper.StringgetStreamKeyDir()Get the stream key pathStringgetStreamKeyPath()Get the resolved key path to the MediaStreams encryption keysIMediaStreamNameAliasProvidergetStreamNameAliasProvider()Get the stream name alias providerWMSPropertiesgetStreamProperties()Get the property collection of stream settings that are specific to this application instanceStringgetStreamReadAccess()Get the default stream read accessWMSPropertiesgetStreamRecorderProperties()Get the property collection of StreamRecorder settings that are specific to this application instanceMediaStreamMapgetStreams()Get all the mediaStream objects attached to this applicationInstanceStringgetStreamStorageDir()Get stream storage pathStringgetStreamStoragePath()Get the resolved storage path to the MediaStreamsStringgetStreamType()Get default streamType for application.StringgetStreamVideoSampleAccess()Get the default stream video sample accessStringgetStreamWriteAccess()Get the default stream write accessWMSPropertiesgetTimedTextProperties()Get the property collection of timed text settings that are specific to this application instance.StringgetTimeRunning()Get time applcationInstance runningdoublegetTimeRunningSeconds()Get time running in secondscom.wowza.wms.stream.livetranscoder.LiveStreamTranscoderApplicationContextgetTranscoderApplicationContext()Get live stream transcoder application contextWMSPropertiesgetTranscoderProperties()Get the property collection of Transcoder settings that are specific to this application instanceintgetValidationFrequency()Get time between validation pings (milliseconds)IVHostgetVHost()Get parent vHostStringgetVODTimedTextProviderList()Get the comma separated list of VODTimedTextProvider names being used by this application (see conf/TimedTextProviders.xml)java.util.List<String>getVODTimedTextProviderSet()com.wowza.wms.webrtc.model.WebRTCApplicationContextgetWebRTCApplicationContext()Get the WebRTC application level contextWMSPropertiesgetWebRTCProperties()Get the property collection of WebRTC settings that are specific to this application instanceintgetWebRTCSessionCount()Get count of WebRTC sessionsintgetWebRTCSessionCount(String streamName)Get count of WebRTC sessions by stream namejava.util.Map<String,Integer>getWebRTCSessionCountsByName()Get a map of WebRTC sessions by stream namejava.util.List<RTPSession>getWebRTCSessions()Get list of WebRTC sessionsjava.util.List<RTPSession>getWebRTCSessions(String streamName)Get list of WebRTC sessions by stream namevoidincClientCountTotal()Increment the total number of connected client counter by onebooleanisAcceptConnection()Is auto accept connection on/offbooleanisDebugAppTimeout()If true appTimeout processing will be logged.booleanisLive()Returns true if the application stream type of the application instance is livebooleanisMediaCacheSourceAllowed(String sourceName)Test to see if a MediaCache source name is allowedbooleanisRepeaterAppType()Is this a repeater application typebooleanisRTPIncomingDatagramPortValid(int port)Check a port number to be sure it is a valid RTP UDP port for this application instancebooleanisValidateFMLEConnections()Returns true if validating FMLE connection (default is false)voidnotifyDvrConverterConversionComplete(IDvrStreamStore store, java.io.File file)Notify all DVRConverter listeners of conversion completevoidnotifyDvrStreamManagerCreate(IDvrStreamManager dvrStoreManager, String streamName)Notify listeners that Dvr Application Store Manager has been created.voidnotifyDvrStreamManagerDestroy(IDvrStreamManager dvrManager)Notify listeners that Dvr Application Store Manager has been destroyed.voidnotifyDvrStreamManagerInit(IDvrStreamManager dvrStoreManager)Notify listeners that Dvr Application Store Manager has been initialized.voidnotifyHTTPSessionCreate(IHTTPStreamerSession httpSession)Notify HTTP session createvoidnotifyHTTPSessionDestroy(IHTTPStreamerSession httpSession)Notify HTTP session destroyvoidnotifyLiveStreamDvrRecorderCreate(ILiveStreamDvrRecorder dvr, String streamName)Notify Dvr Recorder CreatevoidnotifyLiveStreamDvrRecorderDestroy(ILiveStreamDvrRecorder dvr)Notify DVR Recorder has been destroyed.voidnotifyLiveStreamDvrRecorderInit(ILiveStreamDvrRecorder dvr, String streamName)Notify DVR Recorder has been initialized.voidnotifyLiveStreamPacketizerCreate(ILiveStreamPacketizer liveStreamPacketizer, String streamName)Notify Live Stream Packetizer CreatevoidnotifyLiveStreamPacketizerDestroy(ILiveStreamPacketizer liveStreamPacketizer)Notify Live Stream Packetizer DestoryvoidnotifyLiveStreamPacketizerInit(ILiveStreamPacketizer liveStreamPacketizer, String streamName)Notify Live Stream Packetizer InitvoidnotifyLiveStreamTranscoderCreate(ILiveStreamTranscoder liveStreamTranscoder, IMediaStream stream)Notify live stream transcoder createvoidnotifyLiveStreamTranscoderDestroy(ILiveStreamTranscoder liveStreamTranscoder, IMediaStream stream)Notify live stream transcoder destroyvoidnotifyLiveStreamTranscoderInit(ILiveStreamTranscoder liveStreamTranscoder, IMediaStream stream)Notify live stream transcoder initvoidnotifyMediaCasterConnectFailure(IMediaCaster mediaCaster)voidnotifyMediaCasterConnectStart(IMediaCaster mediaCaster)voidnotifyMediaCasterConnectSuccess(IMediaCaster mediaCaster)voidnotifyMediaCasterSetSourceStream(IMediaCaster mediaCaster, IMediaStream stream)voidnotifyMediaCasterStreamStart(IMediaCaster mediaCaster)voidnotifyMediaCasterStreamStop(IMediaCaster mediaCaster)voidnotifyMediaReaderClose(IMediaReader mediaReader, IMediaStream stream)Notify media reader notifyMediaReaderClosevoidnotifyMediaReaderCreate(IMediaReader mediaReader)Notify media reader notifyMediaReaderCreatevoidnotifyMediaReaderExtractMetaData(IMediaReader mediaReader, IMediaStream stream)Notify media reader notifyMediaReaderExtractMetaDatavoidnotifyMediaReaderInit(IMediaReader mediaReader, IMediaStream stream)Notify media reader notifyMediaReaderInitvoidnotifyMediaReaderOpen(IMediaReader mediaReader, IMediaStream stream)Notify media reader notifyMediaReaderOpenvoidnotifyMediaWriterOnFLVAddMetadata(IMediaStream stream, java.util.Map<String,Object> extraMetadata)Notify all MediaWriter listeners of onFLVAddMetadatavoidnotifyMediaWriterOnWriteComplete(IMediaStream stream, java.io.File file)Notify all MediaWriter listeners of onWriteCompletevoidnotifyPushPublishSessionCreate(String streamName, IMediaStream stream, IPushPublishSession pushPublishSession)Notify push publish session createvoidnotifyPushPublishSessionDestroy(String streamName, IMediaStream stream, IPushPublishSession pushPublishSession)Notify push publish session destroyvoidnotifyRTPSessionCreate(RTPSession rtpSession)Notify RTP session createvoidnotifyRTPSessionDestroy(RTPSession rtpSession)Notify RTP session destoryvoidnotifySourceControlSessionCreate(String streamName, ISourceControlSession sourceControlSession)Notify source control session createvoidnotifySourceControlSessionDestroy(String streamName, ISourceControlSession sourceControlSession)Notify source control session destroyvoidparseAllowDomains(String domainFilterStr)Parse a comma delimited list of domain names used to control access to this application.StringreadAppInstConfig(String sName)Method to read xml config file..voidregisterPlayRTPSession(RTPSession rtpSession)Register an RTP session as a play sessionvoidremoveClientListener(IClientNotify clientListener)Remove client listener.voidremoveDvrConverterListener(com.wowza.wms.dvr.converter.IDvrConverterActionNotify listener)Remove DVRConverter listener class.voidremoveDvrRecorderListener(ILiveStreamDvrRecorderActionNotify listener)Remove a Dvr Recorder listenervoidremoveDvrStreamManagerListener(IDvrStreamManagerActionNotify listener)Remove a Dvr Application Store Manager listenervoidremoveHTTPListener(IHTTPSessionNotify httpListener)Remove listner to be notified of HTTPSession create and destroy.voidremoveHTTPStreamerSession(IHTTPStreamerSession httpStreamerSession)Remove a HTTPStreamerSession from this application instancevoidremoveLiveStreamPacketizerListener(ILiveStreamPacketizerActionNotify liveStreamPacketizerListener)Remove a Live Stream Packetizer listenervoidremoveLiveStreamTranscoderListener(ILiveStreamTranscoderNotify liveStreamTranscoderListener)Remove a live stream transcoder listenervoidremoveMediaCasterListener(IMediaCasterNotify mediaCasterListener)Remove mediaCaster listener.voidremoveMediaReaderListener(IMediaReaderActionNotify mediaReaderListener)Remove media reader listener.voidremoveMediaStreamListener(IMediaStreamNotify mediaStreamListener)Remove mediaStream listener.voidremoveMediaWriterListener(IMediaWriterActionNotify listener)remove MediaWriter listener class.voidremoveModuleListener(IModuleNotify moduleListener)Remove module listenervoidremovePlayStreamByName(IMediaStream stream)Remove media stream from the list of streams that are listening for a published streamvoidremovePublisher(Publisher publisher)Remove a server side publisher from this application instancevoidremovePushPublishSession(IMediaStream stream, IPushPublishSession pushPublishSession)Remove a push publish sessionvoidremovePushPublishSessionListener(IPushPublishSessionNotify pushPublishSessionListener)Remove a push publish session listenervoidremovePushPublishSessions(IMediaStream stream)Remove all push publish sessions for a give streamvoidremoveRTPListener(IRTPSessionNotify rtpListener)Remove listner to be notified of RTPSession create and destroy.voidremoveRTPSession(RTPSession rtpSession)Remove an RTP session from this application instancevoidremoveSharedObjectListener(ISharedObjectNotify sharedObjectListener, boolean isPersistent)Remove sharedObject listener.voidremoveSourceControlSession(String streamName)Remove the source control session for the given stream name from the application instancevoidremoveSourceControlSessionListener(ISourceControlSessionNotify sourceControlSessionListener)Remove the provided source control session listener from the list of source control session listenersbooleanresetMediaCasterStream(String streamName)Reset a media caster streambooleanresetMediaCasterStream(String streamName, String streamExt)Reset a media caster streamStringresolvePlayAlias(String name)Resolve the play alias with this application's stream name alias providerStringresolvePlayAlias(String name, IClient client)Resolve the play alias with this application's stream name alias providerStringresolvePlayAlias(String name, IHTTPStreamerSession httpSession)Resolve the play alias with this application's stream name alias providerStringresolvePlayAlias(String name, RTPSession rtpSession)Resolve the play alias with this application's stream name alias providerStringresolvePlayAlias(String name, ILiveStreamPacketizer liveStreamPacketizer)Resolve the play alias with this application's stream name alias providerStringresolvePlayAlias(String name, com.wowza.wms.webrtc.model.WebRTCSession webrtcSession)Resolve the play alias with this application's stream name alias providerStringresolvePlayAlias(String name, IWebSocketSession webSocket)Resolve the play alias with this application's stream name alias providerStringresolveStreamAlias(String name)Resolve the stream name alias with this application's stream name alias providerStringresolveStreamAlias(String name, IMediaCaster mediaCaster)Resolve the stream name alias with this application's stream name alias providerStringresolveStreamAlias(String name, com.wowza.wms.webrtc.model.WebRTCSession webrtcSession)Resolve the stream name alias with this application's stream name alias providerStringresolveStreamAlias(String name, IWebSocketSession webSocket)Resolve the stream name alias with this application's stream name alias providervoidsetAcceptConnection(boolean acceptConnection)Set is auto accept connectionvoidsetAllowDomains(String[] domainFilter)Set the list of domain names used to control access to this application.voidsetApplicationInstanceTouchTimeout(int applicationInstanceTouchTimeout)Set the application instance touch timeout (milliseconds).voidsetApplicationTimeout(int applicationTimeout)Set application timeout (milliseconds)voidsetClientIdleFrequency(int clientIdleFrequency)Set default client idle frequency (milliseconds)voidsetDebugAppTimeout(boolean debugAppTimeout)If true appTimeout processing will be logged.voidsetDvrRecorderList(String recorderList)Set the comma separated list of Dvr Recorder names being used by this application (see conf/Dvr.xml)voidsetHTTPStreamerList(String httpStreamerList)Set the comma separated list of HTTPStreamer names being used by this application (see conf/HTTPStreamers.xml)voidsetLiveStreamDvrRecorderControl(ILiveStreamDvrRecorderControl controller)Set the Live Stream DVR Controller.voidsetLiveStreamPacketizerControl(ILiveStreamPacketizerControl liveStreamPacketizerControl)Set the Live Stream Packetizer Contoller.voidsetLiveStreamPacketizerList(String liveStreamPacketizerList)Set the comma separated list of LiveStreamPacketizers names being used by this application (see conf/LiveStreamPacketizers.xml)voidsetLiveStreamTranscoderControl(ILiveStreamTranscoderControl liveStreamTranscoderControl)Set the Live Stream Transcoder Contoller.voidsetLiveStreamTranscoderList(String liveStreamTranscoderList)Set comma separated list of transcoders to use for this application instancevoidsetMaximumPendingReadBytes(int maximumPendingReaderBytes)Get maximum number of bytes a client connection can have waiting to be written before the connection is terminated.voidsetMaximumPendingWriteBytes(int maximumPendingWriteBytes)Set maximum number a bytes a client connection can have waiting to be sent before the connection is terminated.voidsetMaximumSetBufferTime(int maximumSetBufferTime)Set maximum number of milliseconds allowed for the NetStream.setBufferTime(secs) call.voidsetMaxStorageDirDepth(int maxStorageDirDepth)Maximum folder depth allowed for the StreamStorageDir and SharedObjectStorageDir pathsvoidsetMediacasterRTPRTSPRTPTransportMode(int mediacasterRTPRTSPRTPTransportMode)RTP MediaCaster RTSP/RTP transport mode.voidsetMediaCasterValidator(IMediaCasterValidateMediaCaster mediaCasterValidator)Set the MediaCaster validator interface for this application instancevoidsetMediaListProvider(IMediaListProvider mediaListProvider)Set the current media list provider.voidsetName(String name)Set applicationInstance namevoidsetPingTimeout(int pingTimeout)Set ping timeout (millseconds)voidsetRepeaterAppType(boolean isRepeaterAppType)Set is repeater application typevoidsetRepeaterOriginUrl(String repeaterOriginUrl)Set the Repeater Origin URL used by the Live Stream RepeatervoidsetRepeaterQueryString(String repeaterQueryString)Set the Repeater query string that is used to connect to the origin.voidsetRsoStorageDir(String rsoStorageDir)Set remote shared object storage pathvoidsetRTPAVSyncMethod(int rtpAVSyncMethod)Set RTP audio/video sync method (RTPStream.AVSYNCMETHODS_SENDERREPORT, RTPStream.AVSYNCMETHODS_SYSTEMCLOCK, RTPStream.AVSYNCMETHODS_RTPTIMECODE)voidsetRTPIdleFrequency(int rtspIdleFrequency)Get the default RTP idle frequency (milliseconds)voidsetRTPMaxRTCPWaitTime(int rtpMaxRTCPWaitTime)Set the maximum time to wait for RTCP packets (milliseconds)voidsetRTPPlayAuthenticationMethod(String rtpPlayAuthenticationMethod)Set the RTP play authentication method (as defined in conf/Authentication.xml)voidsetRTPPublishAuthenticationMethod(String rtpPublishAuthenticationMethod)Set the RTP publish authentication method (as defined in conf/Authentication.xml)voidsetRTSPBindIpAddress(String rtspBindIpAddress)Get the IP address to which UDP ports will be bound for RTSP/RTP sessionsvoidsetRTSPConnectionAddressType(String rtspConnectionAddressType)Set the connection IP address type (IP4) to used in the Session Description Protocol data exchanged for an RTSP/RTP sessionvoidsetRTSPConnectionIpAddress(String rtspConnectionIpAddress)Set the connection IP address to used in the Session Description Protocol data exchanged for an RTSP/RTP sessionvoidsetRTSPMaximumPendingWriteBytes(int rtspMaximumPendingWriteBytes)Set the maximum number of pending write bytes for an RTSP sessionvoidsetRTSPOriginAddressType(String rtspOriginAddressType)Set the origin IP address type (IP4) to used in the Session Description Protocol data exchanged for an RTSP/RTP sessionvoidsetRTSPOriginIpAddress(String rtspOriginIpAddress)Set the origin IP address to used in the Session Description Protocol data exchanged for an RTSP/RTP sessionvoidsetRTSPSessionTimeout(int rtspSessionTimeout)Set the RTSP session timeout (milliseconds)voidsetSharedObjectReadAccess(String sharedObjectReadAccess)Set the default shared object read accessvoidsetSharedObjectWriteAccess(String sharedObjectWriteAccess)Set the default shared object write accessvoidsetStreamAudioSampleAccess(String streamAudioSampleAccess)Set the default stream audio sample accessvoidsetStreamFileMapper(IMediaStreamFileMapper streamFileMapper)Set the stream file mapper.voidsetStreamKeyDir(String keyStorageDir)Set the stream key pathvoidsetStreamNameAliasProvider(IMediaStreamNameAliasProvider streamNameAliasProvider)Set the stream name alias providervoidsetStreamReadAccess(String streamReadAccess)Set the default stream read accessvoidsetStreamStorageDir(String streamStorageDir)Set stream storage pathvoidsetStreamType(String streamType)Set default stream type for application.voidsetStreamVideoSampleAccess(String streamVideoSampleAccess)Set the default stream video sample accessvoidsetStreamWriteAccess(String streamWriteAccess)Set the default stream write accessvoidsetValidateFMLEConnections(boolean validateFMLEConnections)Returns true if validating FMLE connection (default is false)voidsetValidationFrequency(int validationFrequency)Set time between validation pings (milliseconds)voidsetVODTimedTextProviderList(String timedTextProviderList)Set the comma separated list of VODTimedTextProvider names being used by this application (see conf/TimedTextProviders.xml)voidshutdown(boolean isServerShutdown, boolean isAppShutdown)shutdown applicationInstancevoidshutdownClient(IClient client)shutdown a client connection immediatelybooleanstartMediaCasterStream(String streamName, String mediaCasterType)Start a media caster streambooleanstartMediaCasterStream(String streamName, String streamExt, String mediaCasterType)Start a media caster streamvoidstopMediaCasterStream(String streamName)Stop a media caster streamvoidtouch()Touch the application instance so that it stays loaded for at least applicationInstanceTouchTimeoutbooleanwriteAppInstConfig(String sName, String data)Method to write xml config file..
 
- 
- 
- 
Field Detail- 
PROTCOLUSAGE_RTMPstatic final int PROTCOLUSAGE_RTMP - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTMPTstatic final int PROTCOLUSAGE_RTMPT - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTMPSstatic final int PROTCOLUSAGE_RTMPS - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTMPTSstatic final int PROTCOLUSAGE_RTMPTS - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTMPEstatic final int PROTCOLUSAGE_RTMPE - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTMPTEstatic final int PROTCOLUSAGE_RTMPTE - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTPstatic final int PROTCOLUSAGE_RTP - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_CUPERTINOstatic final int PROTCOLUSAGE_CUPERTINO - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_SMOOTHstatic final int PROTCOLUSAGE_SMOOTH - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_SANJOSEstatic final int PROTCOLUSAGE_SANJOSE - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_MPEGDASHstatic final int PROTCOLUSAGE_MPEGDASH - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_WEBMstatic final int PROTCOLUSAGE_WEBM - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_WOWZstatic final int PROTCOLUSAGE_WOWZ - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_WOWZEstatic final int PROTCOLUSAGE_WOWZE - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_WOWZSstatic final int PROTCOLUSAGE_WOWZS - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_ORIGINCUPERTINOstatic final int PROTCOLUSAGE_ORIGINCUPERTINO - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_ORIGINSMOOTHstatic final int PROTCOLUSAGE_ORIGINSMOOTH - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_ORIGINSANJOSEstatic final int PROTCOLUSAGE_ORIGINSANJOSE - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_ORIGINMPEGDASHstatic final int PROTCOLUSAGE_ORIGINMPEGDASH - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_PUSHPUBLISHINGstatic final int PROTCOLUSAGE_PUSHPUBLISHING - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_MEDIACACHEstatic final int PROTCOLUSAGE_MEDIACACHE - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTMP_INstatic final int PROTCOLUSAGE_RTMP_IN - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTMP_OUTstatic final int PROTCOLUSAGE_RTMP_OUT - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTMPT_INstatic final int PROTCOLUSAGE_RTMPT_IN - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTMPT_OUTstatic final int PROTCOLUSAGE_RTMPT_OUT - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTMPS_INstatic final int PROTCOLUSAGE_RTMPS_IN - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTMPS_OUTstatic final int PROTCOLUSAGE_RTMPS_OUT - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTMPTS_INstatic final int PROTCOLUSAGE_RTMPTS_IN - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTMPTS_OUTstatic final int PROTCOLUSAGE_RTMPTS_OUT - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTMPE_INstatic final int PROTCOLUSAGE_RTMPE_IN - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTMPE_OUTstatic final int PROTCOLUSAGE_RTMPE_OUT - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTMPTE_INstatic final int PROTCOLUSAGE_RTMPTE_IN - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTMPTE_OUTstatic final int PROTCOLUSAGE_RTMPTE_OUT - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTP_INstatic final int PROTCOLUSAGE_RTP_IN - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTP_OUTstatic final int PROTCOLUSAGE_RTP_OUT - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTSP_INstatic final int PROTCOLUSAGE_RTSP_IN - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTSP_OUTstatic final int PROTCOLUSAGE_RTSP_OUT - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_WOWZ_INstatic final int PROTCOLUSAGE_WOWZ_IN - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_WOWZ_OUTstatic final int PROTCOLUSAGE_WOWZ_OUT - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_WOWZE_INstatic final int PROTCOLUSAGE_WOWZE_IN - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_WOWZE_OUTstatic final int PROTCOLUSAGE_WOWZE_OUT - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_WOWZS_INstatic final int PROTCOLUSAGE_WOWZS_IN - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_WOWZS_OUTstatic final int PROTCOLUSAGE_WOWZS_OUT - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_MC_SHOUTCASTstatic final int PROTCOLUSAGE_MC_SHOUTCAST - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_MC_LIVEREPEATERstatic final int PROTCOLUSAGE_MC_LIVEREPEATER - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_MC_RTPstatic final int PROTCOLUSAGE_MC_RTP - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTSPPULL_INstatic final int PROTCOLUSAGE_RTSPPULL_IN - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_RTSPPULL_OUTstatic final int PROTCOLUSAGE_RTSPPULL_OUT - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_WEBRTC_INstatic final int PROTCOLUSAGE_WEBRTC_IN - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_WEBRTC_OUTstatic final int PROTCOLUSAGE_WEBRTC_OUT - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_MC_CUPERTINOstatic final int PROTCOLUSAGE_MC_CUPERTINO - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_MC_MPEGTSTCPstatic final int PROTCOLUSAGE_MC_MPEGTSTCP - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_MC_SRTRECEIVERstatic final int PROTCOLUSAGE_MC_SRTRECEIVER - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_CMAF_CUPERTINOstatic final int PROTCOLUSAGE_CMAF_CUPERTINO - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_CMAF_MPEGDASHstatic final int PROTCOLUSAGE_CMAF_MPEGDASH - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_CMAF_LL_CUPERTINOstatic final int PROTCOLUSAGE_CMAF_LL_CUPERTINO - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_CMAF_LL_MPEGDASHstatic final int PROTCOLUSAGE_CMAF_LL_MPEGDASH - See Also:
- Constant Field Values
 
 - 
PROTCOLUSAGE_TOTALstatic final int PROTCOLUSAGE_TOTAL - See Also:
- Constant Field Values
 
 - 
DEFAULT_APPINSTANCE_NAMEstatic final String DEFAULT_APPINSTANCE_NAME - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
shutdownClientvoid shutdownClient(IClient client) shutdown a client connection immediately- Parameters:
- client- client connection
 
 - 
shutdownvoid shutdown(boolean isServerShutdown, boolean isAppShutdown)shutdown applicationInstance- Parameters:
- isServerShutdown- true if due to shutdown of server
- isAppShutdown- true if due to shutdown of application
 
 - 
getApplicationIApplication getApplication() Get parent application- Returns:
- parent application
 
 - 
getNameString getName() Get applicationInstance name- Returns:
- applicationInstance name
 
 - 
setNamevoid setName(String name) Set applicationInstance name- Parameters:
- name- applicationInstance name
 
 - 
getStreamsMediaStreamMap getStreams() Get all the mediaStream objects attached to this applicationInstanceGet Stream By StreamIdIClient client; int streamId; MediaStreamMap streams = client.getAppInstance().getStreams(); IMediaStream stream = streams.getStream((IClient)null, streamId); - Returns:
- collection of mediaStream objects
 
 - 
getVHostIVHost getVHost() Get parent vHost- Returns:
- parent vHost
 
 - 
getPropertiesWMSProperties getProperties() Get applicationInstance properties- Returns:
- applicationInstance properties
 
 - 
getManagerPropertiesWMSProperties getManagerProperties() Get Application's manager's properties collection- Returns:
- manager's property collection
 
 - 
getStreamTypeString getStreamType() Get default streamType for application.- Returns:
- streamType name
 
 - 
setStreamTypevoid setStreamType(String streamType) Set default stream type for application.- Parameters:
- streamType- streamType name
 
 - 
isRepeaterAppTypeboolean isRepeaterAppType() Is this a repeater application type- Returns:
 
 - 
setRepeaterAppTypevoid setRepeaterAppType(boolean isRepeaterAppType) Set is repeater application type- Parameters:
- isRepeaterAppType-
 
 - 
isAcceptConnectionboolean isAcceptConnection() Is auto accept connection on/off- Returns:
- auto accept connection
 
 - 
setAcceptConnectionvoid setAcceptConnection(boolean acceptConnection) Set is auto accept connection- Parameters:
- acceptConnection- auto accept connection
 
 - 
getClientCountTotalint getClientCountTotal() Get number of client connections in total that have connected to this applicationInstance- Returns:
- number of client connections
 
 - 
incClientCountTotalvoid incClientCountTotal() Increment the total number of connected client counter by one
 - 
getClientCountint getClientCount() Get number of client connections currently connected to applicationInstance- Returns:
- number of client connections
 
 - 
getClientByIdIClient getClientById(int index) Get a client connection by the client Id- Parameters:
- index- client Id
- Returns:
- client connection
 
 - 
getClientsjava.util.List<IClient> getClients() Get the set of clients currently connected to this application instance (replaces getClient(index))- Returns:
- set of clients
 
 - 
getSharedObjectsISharedObjects getSharedObjects() Get non-peristent shared object collection- Returns:
- collection of non-persistent shared objects
 
 - 
getSharedObjectsISharedObjects getSharedObjects(boolean isPersistent) Get either persistent or non-persistent shared object collection- Parameters:
- isPersistent-
- Returns:
- collection of shared objects
 
 - 
notifyMediaCasterSetSourceStreamvoid notifyMediaCasterSetSourceStream(IMediaCaster mediaCaster, IMediaStream stream) 
 - 
notifyMediaCasterConnectStartvoid notifyMediaCasterConnectStart(IMediaCaster mediaCaster) 
 - 
notifyMediaCasterConnectSuccessvoid notifyMediaCasterConnectSuccess(IMediaCaster mediaCaster) 
 - 
notifyMediaCasterConnectFailurevoid notifyMediaCasterConnectFailure(IMediaCaster mediaCaster) 
 - 
notifyMediaCasterStreamStartvoid notifyMediaCasterStreamStart(IMediaCaster mediaCaster) 
 - 
notifyMediaCasterStreamStopvoid notifyMediaCasterStreamStop(IMediaCaster mediaCaster) 
 - 
addClientListenervoid addClientListener(IClientNotify clientListener) Add client listener. Listens for connects, disconnect, accepts and rejectAdd a Client ListenerIApplicationInstance appInstance; class ClientListener implements IClientNotify { public void onClientConnect(IClient client) { WMSLoggerFactory.getLogger(null).debug("onClientConnect: "+ client.getClientId()); } public void onClientDisconnect(IClient client) { WMSLoggerFactory.getLogger(null).debug("onClientDisconnect: "+ client.getClientId()); } public void onClientAccept(IClient client) { WMSLoggerFactory.getLogger(null).debug("onClientAccept: "+ client.getClientId()); } public void onClientReject(IClient client) { WMSLoggerFactory.getLogger(null).debug("onClientReject: "+ client.getClientId()); } } appInstance.addClientListener(new ClientListener());- Parameters:
- clientListener- client listener
 
 - 
removeClientListenervoid removeClientListener(IClientNotify clientListener) Remove client listener. Listens for connects, disconnect, accepts and reject- Parameters:
- clientListener- client listener
 
 - 
addMediaStreamListenervoid addMediaStreamListener(IMediaStreamNotify mediaStreamListener) Add mediaStream listener. Listens for create and destroyAdd a MediaStream ListenerIApplicationInstance appInstance; class MediaStreamListener implements IMediaStreamNotify { public void onMediaStreamCreate(IMediaStream stream) { WMSLoggerFactory.getLogger(null).debug("onMediaStreamCreate: "+ stream.getSrc()); } public void onMediaStreamDestroy(IMediaStream stream) { WMSLoggerFactory.getLogger(null).debug("onMediaStreamDestroy: "+ stream.getSrc()); } } appInstance.addMediaStreamListener(new MediaStreamListener());- Parameters:
- mediaStreamListener- mediaStream listener
 
 - 
removeMediaStreamListenervoid removeMediaStreamListener(IMediaStreamNotify mediaStreamListener) Remove mediaStream listener. Listens for create and destroy- Parameters:
- mediaStreamListener- mediaStream listener
 
 - 
addSharedObjectListenervoid addSharedObjectListener(ISharedObjectNotify sharedObjectListener, boolean isPersistent) Add sharedObject listener. Listens for create, destroy, clientConnect, clientDisconnectAdd SharedObject ListenerIApplicationInstance appInstance; class SharedObjectListener implements ISharedObjectNotify { public void onSharedObjectCreate(ISharedObject sharedObject) { WMSLoggerFactory.getLogger(null).debug("onSharedObjectCreate: "+ sharedObject.getName()); } public void onSharedObjectDestroy(ISharedObject sharedObject) { WMSLoggerFactory.getLogger(null).debug("onSharedObjectDestroy: "+ sharedObject.getName()); } public void onSharedObjectConnect(ISharedObject sharedObject, IClient client) { WMSLoggerFactory.getLogger(null).debug("onSharedObjectConnect: "+ sharedObject.getName()); } public void onSharedObjectDisconnect(ISharedObject sharedObject, IClient client) { WMSLoggerFactory.getLogger(null).debug("onSharedObjectDisconnect: "+ sharedObject.getName()); } } appInstance.addSharedObjectListener(new SharedObjectListener(), false);- Parameters:
- sharedObjectListener- sharedObject listener
- isPersistent-
 
 - 
removeSharedObjectListenervoid removeSharedObjectListener(ISharedObjectNotify sharedObjectListener, boolean isPersistent) Remove sharedObject listener. Listens for create, destroy, clientConnect, clientDisconnect- Parameters:
- sharedObjectListener- sharedObject listener
- isPersistent-
 
 - 
addMediaCasterListenervoid addMediaCasterListener(IMediaCasterNotify mediaCasterListener) Add mediaCaster listener. Listens for create, destroy, registerPlayer, unregisterPlayer, setSourceStream- Parameters:
- mediaCasterListener-
 
 - 
addMediaCasterListenervoid addMediaCasterListener(IMediaCasterNotify2 mediaCasterListener) Add mediaCaster listener. Listens for create, destroy, registerPlayer, unregisterPlayer, setSourceStream- Parameters:
- mediaCasterListener-
 
 - 
removeMediaCasterListenervoid removeMediaCasterListener(IMediaCasterNotify mediaCasterListener) Remove mediaCaster listener. Listens for create, destroy, registerPlayer, unregisterPlayer, setSourceStream- Parameters:
- mediaCasterListener-
 
 - 
getConnectionCounterConnectionCounter getConnectionCounter() Get the connectionCounter for applicationInstance- Returns:
- connection counter
 
 - 
getConnectionCountercom.wowza.wms.client.ConnectionCounterSimple getConnectionCounter(int counterIndex) Get the connectionCounter for applicationInstance for a specific technology (see IVHost.COUNTER_*)- Parameters:
- counterIndex- counter index
- Returns:
- connection counter
 
 - 
getDateStartedString getDateStarted() Get date applcationInstance started- Returns:
- date applcationInstance started
 
 - 
getTimeRunningString getTimeRunning() Get time applcationInstance running- Returns:
- time applcationInstance running
 
 - 
getTimeRunningSecondsdouble getTimeRunningSeconds() Get time running in seconds- Returns:
- time running in seconds
 
 - 
broadcastMsgvoid broadcastMsg(java.util.List<IClient> clientList, String handlerName) Broadcast a message to a specific list of clients connected to this application instance- Parameters:
- clientList- list of client
- handlerName- handler name
 
 - 
broadcastMsgvoid broadcastMsg(java.util.List<IClient> clientList, String handlerName, Object... params) Broadcast a message to a specific list of clients connected to this application instance- Parameters:
- clientList- list of client
- handlerName- handler name
- params- parameters
 
 - 
broadcastMsgvoid broadcastMsg(String handlerName, Object... params)Broadcast a message to all clients connected to this applicationInstanceBroadcast Message to All ClientsIApplicationInstance appInstance; appInstance.broadcastMsg("onNotify", "Hello World", 1.2345, false, new Date());- Parameters:
- handlerName- handler name
- params- variable list of arguments (Java primitive and Strings will be wrapped in AMFData objects)
 
 - 
getIOPerformanceCounterIOPerformanceCounter getIOPerformanceCounter() Get the performance counter for applicationInstance- Returns:
- io performance counter
 
 - 
getIOPerformanceCounterIOPerformanceCounter getIOPerformanceCounter(int counterIndex) Get the performance counter for applicationInstance for a specific technology (see IVHost.COUNTER_*)- Parameters:
- counterIndex- counter index (see IVHost.COUNTER_*)
- Returns:
- connection counter
 
 - 
addPlayStreamByNamevoid addPlayStreamByName(IMediaStream stream, String name) Add a media stream to the list of streams that are listening for a published stream- Parameters:
- stream- media stream
- name- stream name
 
 - 
removePlayStreamByNamevoid removePlayStreamByName(IMediaStream stream) Remove media stream from the list of streams that are listening for a published stream- Parameters:
- stream- media stream
 
 - 
getPlayStreamCountsByNamejava.util.Map<String,Integer> getPlayStreamCountsByName() Get a map of stream names to number of Flash players playing the stream name- Returns:
- map of stream names to number of Flash players playing the stream name
 
 - 
getPlayStreamCountint getPlayStreamCount(String streamName) Get the number of Flash players playing a given stream name- Parameters:
- streamName- stream name
- Returns:
- number of players
 
 - 
getPlayStreamsByNamejava.util.List<IMediaStream> getPlayStreamsByName(String name) Get a list of media streams that are listening for published stream.- Parameters:
- name- stream name
- Returns:
- list of streams or null if no listeners
 
 - 
getMediaCasterStreamsMediaCasterStreamMap getMediaCasterStreams() Get the media caster streams attached to this application instance- Returns:
- media caster streams attached to this application instance
 
 - 
getStreamCountint getStreamCount() Get the total number of open streams attached to this application instance- Returns:
- the total number of open streams attached to this application instance
 
 - 
getModFunctionscom.wowza.wms.module.ModuleFunctions getModFunctions() Get list of application modules- Returns:
- list of application modules
 
 - 
addModuleListenervoid addModuleListener(IModuleNotify moduleListener) Add module listener. Listens for onModuleLoad and onModuleUnload events.- Parameters:
- moduleListener- module listener
- See Also:
- IModuleNotify
 
 - 
removeModuleListenervoid removeModuleListener(IModuleNotify moduleListener) Remove module listener- Parameters:
- moduleListener- module listener
 
 - 
getModuleListcom.wowza.wms.module.ModuleList getModuleList() Get the list of loaded modules.- Returns:
- list of loaded modules
 
 - 
getModuleInstanceObject getModuleInstance(String name) Get the instance of the module class for this application instance.- Parameters:
- name- module name as defined in Application.xml
- Returns:
- instance of class for this application instance
 
 - 
getApplicationTimeoutint getApplicationTimeout() Get application timeout (milliseconds)- Returns:
- application timeout (milliseconds)
 
 - 
setApplicationTimeoutvoid setApplicationTimeout(int applicationTimeout) Set application timeout (milliseconds)- Parameters:
- applicationTimeout- application timeout (milliseconds)
 
 - 
getPingTimeoutint getPingTimeout() Get ping timeout (milliseconds)- Returns:
- ping timeout (milliseconds)
 
 - 
setPingTimeoutvoid setPingTimeout(int pingTimeout) Set ping timeout (millseconds)- Parameters:
- pingTimeout- ping timeout (millseconds)
 
 - 
getValidationFrequencyint getValidationFrequency() Get time between validation pings (milliseconds)- Returns:
- time between validation pings (milliseconds)
 
 - 
setValidationFrequencyvoid setValidationFrequency(int validationFrequency) Set time between validation pings (milliseconds)- Parameters:
- validationFrequency- time between validation pings (milliseconds)
 
 - 
getMaximumPendingWriteBytesint getMaximumPendingWriteBytes() Get maximum number a bytes a client connection can have waiting to be sent before the connection is terminated. If set to zero this feature is turned off.- Returns:
- maximum number a bytes a client connection can have waiting to be sent before the connection is terminated
 
 - 
setMaximumPendingWriteBytesvoid setMaximumPendingWriteBytes(int maximumPendingWriteBytes) Set maximum number a bytes a client connection can have waiting to be sent before the connection is terminated. If set to zero this feature is turned off.- Parameters:
- maximumPendingWriteBytes- maximum number a bytes a client connection can have waiting to be sent before the connection is terminated
 
 - 
getMaximumPendingReadBytesint getMaximumPendingReadBytes() Set maximum number of bytes a client connection can have waiting to be written before the connection is terminated. If set to zero this feature is off.- Returns:
- maximum number of bytes a client connection can have waiting to be written before the connection is terminated
 
 - 
setMaximumPendingReadBytesvoid setMaximumPendingReadBytes(int maximumPendingReaderBytes) Get maximum number of bytes a client connection can have waiting to be written before the connection is terminated. If set to zero this feature is off.- Parameters:
- maximumPendingReaderBytes- maximum number of bytes a client connection can have waiting to be written before the connection is terminated
 
 - 
setMaximumSetBufferTimevoid setMaximumSetBufferTime(int maximumSetBufferTime) Set maximum number of milliseconds allowed for the NetStream.setBufferTime(secs) call. If set to zero this feature is turned off.- Parameters:
- maximumSetBufferTime- maximum number of milliseconds allowed for the NetStream.setBufferTime(secs) call
 
 - 
getMaximumSetBufferTimeint getMaximumSetBufferTime() Get maximum number of milliseconds allowed for the NetStream.setBufferTime(secs) call. If set to zero this feature is turned off.- Returns:
- maximum number of milliseconds allowed for the NetStream.setBufferTime(secs) call
 
 - 
getRepeaterOriginUrlString getRepeaterOriginUrl() Get the Repeater Origin URL used by the Live Stream Repeater- Returns:
- URL used by the Live Stream Repeater
 
 - 
setRepeaterOriginUrlvoid setRepeaterOriginUrl(String repeaterOriginUrl) Set the Repeater Origin URL used by the Live Stream Repeater- Parameters:
- repeaterOriginUrl- URL used by the Live Stream Repeater
 
 - 
getRepeaterQueryStringString getRepeaterQueryString() Get the Repeater query string that is used to connect to the origin. This value can be used to pass secure URL parameters to the origin for security validation.- Returns:
- Repeater query string
 
 - 
setRepeaterQueryStringvoid setRepeaterQueryString(String repeaterQueryString) Set the Repeater query string that is used to connect to the origin. This value can be used to pass secure URL parameters to the origin for security validation.- Parameters:
- repeaterQueryString- Repeater query string
 
 - 
getAllowDomainsString[] getAllowDomains() Get the list of domain names used to control access to this application. Upon connection, if this list is non-null the client.referrer value is checked to make sure the referrer is from a domain in this list.- Returns:
- list of domain names used to control access to this application
 
 - 
setAllowDomainsvoid setAllowDomains(String[] domainFilter) Set the list of domain names used to control access to this application. Upon connection, if this list is non-null the client.referrer value is checked to make sure the referrer is from a domain in this list.- Parameters:
- domainFilter- list of domain names used to control access to this application
 
 - 
parseAllowDomainsvoid parseAllowDomains(String domainFilterStr) Parse a comma delimited list of domain names used to control access to this application. Upon connection, if this list is non-null the client.referrer value is checked to make sure the referrer is from a domain in this list.- Parameters:
- domainFilterStr- comma delimited list of domain names
 
 - 
getClientIdleFrequencyint getClientIdleFrequency() Get default client idle frequency (milliseconds)- Returns:
- default client idle frequency (milliseconds)
 
 - 
setClientIdleFrequencyvoid setClientIdleFrequency(int clientIdleFrequency) Set default client idle frequency (milliseconds)- Parameters:
- clientIdleFrequency- default client idle frequency (milliseconds)
 
 - 
getRTPIdleFrequencyint getRTPIdleFrequency() Set the default RTP idle frequency (milliseconds)- Returns:
- default RTP idle frequency (milliseconds)
 
 - 
setRTPIdleFrequencyvoid setRTPIdleFrequency(int rtspIdleFrequency) Get the default RTP idle frequency (milliseconds)- Parameters:
- rtspIdleFrequency- default RTP idle frequency (milliseconds)
 
 - 
getStreamStorageDirString getStreamStorageDir() Get stream storage path- Returns:
- stream storage path
 
 - 
setStreamStorageDirvoid setStreamStorageDir(String streamStorageDir) Set stream storage path- Parameters:
- streamStorageDir- stream storage path
 
 - 
getStreamKeyDirString getStreamKeyDir() Get the stream key path- Returns:
- stream key path
 
 - 
setStreamKeyDirvoid setStreamKeyDir(String keyStorageDir) Set the stream key path- Parameters:
- keyStorageDir- stream key path
 
 - 
getRsoStorageDirString getRsoStorageDir() Get remote shared object storage path- Returns:
- remote shared object storage path
 
 - 
setRsoStorageDirvoid setRsoStorageDir(String rsoStorageDir) Set remote shared object storage path- Parameters:
- rsoStorageDir- remote shared object storage path
 
 - 
getStreamKeyPathString getStreamKeyPath() Get the resolved key path to the MediaStreams encryption keys- Returns:
- resolved key path to the MediaStreams encryption keys
 
 - 
getStreamStoragePathString getStreamStoragePath() Get the resolved storage path to the MediaStreams- Returns:
- resolved storage path to the MediaStreams
 
 - 
getRsoStoragePathString getRsoStoragePath() Get the resolved storage path to the shared objects- Returns:
- resolved storage path to the shared objects
 
 - 
getStreamVideoSampleAccessString getStreamVideoSampleAccess() Get the default stream video sample access- Returns:
- default stream video sample access
- See Also:
- IClient.getStreamVideoSampleAccess()
 
 - 
setStreamVideoSampleAccessvoid setStreamVideoSampleAccess(String streamVideoSampleAccess) Set the default stream video sample access- Parameters:
- streamVideoSampleAccess- default stream video sample access
- See Also:
- IClient.setStreamVideoSampleAccess(java.lang.String)
 
 - 
getStreamAudioSampleAccessString getStreamAudioSampleAccess() Get the default stream audio sample access- Returns:
- default stream audio sample access
- See Also:
- IClient.getStreamAudioSampleAccess()
 
 - 
setStreamAudioSampleAccessvoid setStreamAudioSampleAccess(String streamAudioSampleAccess) Set the default stream audio sample access- Parameters:
- streamAudioSampleAccess-
- See Also:
- IClient.setStreamAudioSampleAccess(java.lang.String)
 
 - 
getStreamReadAccessString getStreamReadAccess() Get the default stream read access- Returns:
- default stream read access
- See Also:
- IClient.getStreamReadAccess()
 
 - 
setStreamReadAccessvoid setStreamReadAccess(String streamReadAccess) Set the default stream read access- Parameters:
- streamReadAccess- default stream read access
- See Also:
- IClient.setStreamReadAccess(java.lang.String)
 
 - 
getStreamWriteAccessString getStreamWriteAccess() Get the default stream write access- Returns:
- default stream write access
- See Also:
- IClient.getStreamWriteAccess()
 
 - 
setStreamWriteAccessvoid setStreamWriteAccess(String streamWriteAccess) Set the default stream write access- Parameters:
- streamWriteAccess- default stream write access
- See Also:
- IClient.setStreamWriteAccess(java.lang.String)
 
 - 
getSharedObjectReadAccessString getSharedObjectReadAccess() Get the default shared object read access- Returns:
- default shared object read access
- See Also:
- IClient.getSharedObjectReadAccess()
 
 - 
setSharedObjectReadAccessvoid setSharedObjectReadAccess(String sharedObjectReadAccess) Set the default shared object read access- Parameters:
- sharedObjectReadAccess- default shared object read access
- See Also:
- IClient.setSharedObjectReadAccess(java.lang.String)
 
 - 
getSharedObjectWriteAccessString getSharedObjectWriteAccess() Get the default shared object write access- Returns:
- default shared object write access
- See Also:
- IClient.getSharedObjectWriteAccess()
 
 - 
setSharedObjectWriteAccessvoid setSharedObjectWriteAccess(String sharedObjectWriteAccess) Set the default shared object write access- Parameters:
- sharedObjectWriteAccess- default shared object write access
- See Also:
- IClient.setSharedObjectWriteAccess(java.lang.String)
 
 - 
getRTPPublishAuthenticationMethodString getRTPPublishAuthenticationMethod() Get the RTP publish authentication method (as defined in conf/Authentication.xml)- Returns:
- RTP publish authentication method
 
 - 
setRTPPublishAuthenticationMethodvoid setRTPPublishAuthenticationMethod(String rtpPublishAuthenticationMethod) Set the RTP publish authentication method (as defined in conf/Authentication.xml)- Parameters:
- rtpPublishAuthenticationMethod- RTP publish authentication method
 
 - 
getRTPPlayAuthenticationMethodString getRTPPlayAuthenticationMethod() Get the RTP play authentication method (as defined in conf/Authentication.xml)- Returns:
- RTP play authentication method
 
 - 
setRTPPlayAuthenticationMethodvoid setRTPPlayAuthenticationMethod(String rtpPlayAuthenticationMethod) Set the RTP play authentication method (as defined in conf/Authentication.xml)- Parameters:
- rtpPlayAuthenticationMethod- RTP play authentication method
 
 - 
getRTPAVSyncMethodint getRTPAVSyncMethod() Get RTP audio/video sync method (RTPStream.AVSYNCMETHODS_SENDERREPORT, RTPStream.AVSYNCMETHODS_SYSTEMCLOCK, RTPStream.AVSYNCMETHODS_RTPTIMECODE)- Returns:
- RTP audio/video sync method
 
 - 
setRTPAVSyncMethodvoid setRTPAVSyncMethod(int rtpAVSyncMethod) Set RTP audio/video sync method (RTPStream.AVSYNCMETHODS_SENDERREPORT, RTPStream.AVSYNCMETHODS_SYSTEMCLOCK, RTPStream.AVSYNCMETHODS_RTPTIMECODE)- Parameters:
- rtpAVSyncMethod- RTP audio/video sync method
 
 - 
getRTPMaxRTCPWaitTimeint getRTPMaxRTCPWaitTime() Get the maximum time to wait for RTCP packets (milliseconds)- Returns:
- maximum time to wait for RTCP packets (milliseconds)
 
 - 
setRTPMaxRTCPWaitTimevoid setRTPMaxRTCPWaitTime(int rtpMaxRTCPWaitTime) Set the maximum time to wait for RTCP packets (milliseconds)- Parameters:
- rtpMaxRTCPWaitTime- maximum time to wait for RTCP packets (milliseconds)
 
 - 
getRTPSessionsjava.util.List<RTPSession> getRTPSessions(String streamName) Get a list of RTP sessions running under this application instance playing a given stream name- Parameters:
- streamName- stream name
- Returns:
- list of RTP sessions running under this application instance playing a given stream name
 
 - 
getRTPSessionsjava.util.List<RTPSession> getRTPSessions() Get a list of RTP sessions running under this application instance- Returns:
- list of RTP sessions running under this application instance
 
 - 
getRTPSessionCountsByNamejava.util.Map<String,Integer> getRTPSessionCountsByName() Get a map of stream names and session counts of RTP sessions- Returns:
- map of stream names and session counts
 
 - 
getRTPSessionCountint getRTPSessionCount(String streamName) Get the number of RTP player streams playing a given stream name- Parameters:
- streamName- strean name
- Returns:
- the number of RTP sessions
 
 - 
getRTPSessionCountint getRTPSessionCount() Get the number of RTP sessions running under this application instance- Returns:
- the number of RTP sessions running under this application instance
 
 - 
addRTPSessionvoid addRTPSession(RTPSession rtpSession) Add an RTP session to this application instance- Parameters:
- rtpSession- RTP session to add
 
 - 
registerPlayRTPSessionvoid registerPlayRTPSession(RTPSession rtpSession) Register an RTP session as a play session- Parameters:
- rtpSession- RTP session to register
 
 - 
removeRTPSessionvoid removeRTPSession(RTPSession rtpSession) Remove an RTP session from this application instance- Parameters:
- rtpSession- RTP session to remove
 
 - 
getClientsLockObjedu.emory.mathcs.backport.java.util.concurrent.locks.WMSReadWriteLock getClientsLockObj() Get the read/write lock for this application instance- Returns:
- read/write lock for this application instance
 
 - 
getStreamPropertiesWMSProperties getStreamProperties() Get the property collection of stream settings that are specific to this application instance- Returns:
- property collection of stream settings
 
 - 
getMediaCasterPropertiesWMSProperties getMediaCasterProperties() Get the property collection of media caster settings that are specific to this application instance- Returns:
- property collection of media caster settings
 
 - 
getMediaReaderPropertiesWMSProperties getMediaReaderProperties() Get the property collection of media reader settings that are specific to this application instance- Returns:
- property collection of media reader settings
 
 - 
getMediaWriterPropertiesWMSProperties getMediaWriterProperties() Get the property collection of media reader settings that are specific to this application instance- Returns:
- property collection of media reader settings
 
 - 
getRTPPropertiesWMSProperties getRTPProperties() Get the property collection of RTP settings that are specific to this application instance- Returns:
- property collection of RTP settings
 
 - 
getLiveStreamPacketizerPropertiesWMSProperties getLiveStreamPacketizerProperties() Get the property collection of LiveStreamPacketizer settings that are specific to this application instance- Returns:
- property collection of LiveStreamPacketizer settings
 
 - 
getTranscoderPropertiesWMSProperties getTranscoderProperties() Get the property collection of Transcoder settings that are specific to this application instance- Returns:
- property collection of Transcoder settings
 
 - 
getHTTPStreamerPropertiesWMSProperties getHTTPStreamerProperties() Get the property collection of HTTPStreamer settings that are specific to this application instance- Returns:
- property collection of HTTPStreamer settings
 
 - 
getWebRTCPropertiesWMSProperties getWebRTCProperties() Get the property collection of WebRTC settings that are specific to this application instance- Returns:
- property collection of WebRTC settings
 
 - 
getMaxStorageDirDepthint getMaxStorageDirDepth() Maximum folder depth allowed for the StreamStorageDir and SharedObjectStorageDir paths- Returns:
- folder depth
 
 - 
setMaxStorageDirDepthvoid setMaxStorageDirDepth(int maxStorageDirDepth) Maximum folder depth allowed for the StreamStorageDir and SharedObjectStorageDir paths- Parameters:
- maxStorageDirDepth- folder depth
 
 - 
getStreamFileMapperIMediaStreamFileMapper getStreamFileMapper() Get the stream file mapper.- Returns:
- streamFileMapper stream file mapper
- See Also:
- IMediaStreamFileMapper
 
 - 
setStreamFileMappervoid setStreamFileMapper(IMediaStreamFileMapper streamFileMapper) Set the stream file mapper.- Parameters:
- streamFileMapper- stream file mapper
- See Also:
- IMediaStreamFileMapper
 
 - 
decodeStorageDirString decodeStorageDir(String storageDir) This function will take a storage path that uses variables and expand the variables based on the context. It supports the following variables (as well as any system variables): ${com.wowza.wms.AppHome}: Application home directory ${com.wowza.wms.ConfigHome}: Configuration home directory ${com.wowza.wms.context.VHostConfigHome}: Virtual configuration path ${com.wowza.wms.context.VHost}: Virtual host name ${com.wowza.wms.context.Application}: Application name ${com.wowza.wms.context.ApplicationInstance}: Application instance name
 - 
getLiveStreamPacketizerListString getLiveStreamPacketizerList() Get the comma separated list of LiveStreamPacketizers names being used by this application (see conf/LiveStreamPacketizers.xml)- Returns:
- comma separated list of LiveStreamPacketizers names
 
 - 
getHTTPStreamerListString getHTTPStreamerList() Get the comma separated list of HTTPStreamers names being used by this application (see conf/HTTPStreamers.xml)- Returns:
- comma separated list of HTTPStreamers names
 
 - 
setLiveStreamPacketizerListvoid setLiveStreamPacketizerList(String liveStreamPacketizerList) Set the comma separated list of LiveStreamPacketizers names being used by this application (see conf/LiveStreamPacketizers.xml)- Parameters:
- liveStreamPacketizerList- comma separated list of LiveStreamPacketizers names
 
 - 
setHTTPStreamerListvoid setHTTPStreamerList(String httpStreamerList) Set the comma separated list of HTTPStreamer names being used by this application (see conf/HTTPStreamers.xml)- Parameters:
- httpStreamerList- comma separated list of HTTPStreamer names
 
 - 
containsHTTPStreamerboolean containsHTTPStreamer(String httpStreamer) Does this application instance allow streaming of a given HTTPStreamer- Parameters:
- httpStreamer- HTTP Streamer name
- Returns:
- true is this type of streaming is allowed
 
 - 
containsLiveStreamPacketizerboolean containsLiveStreamPacketizer(String liveStreamPacketizer) Does this application instance contain a references to this live stream packetizer. If it is true we consider this a live stream source for the HTTP streamer. If false then we consider this a video on demand source.- Parameters:
- liveStreamPacketizer- live stream packetizer name
- Returns:
- true if contains reference to it
 
 - 
containsDvrRecorderboolean containsDvrRecorder(String dvrRecorder) Does this application instance contain a references to this DVR recorder. If it is true we consider this a DVR source for the HTTP streamer.- Parameters:
- dvrRecorder- DVR recorder name
- Returns:
- true if contains reference to it
 
 - 
getVODTimedTextProviderListString getVODTimedTextProviderList() Get the comma separated list of VODTimedTextProvider names being used by this application (see conf/TimedTextProviders.xml)- Returns:
- comma separated list of VODTimedTextProvider names
 
 - 
setVODTimedTextProviderListvoid setVODTimedTextProviderList(String timedTextProviderList) Set the comma separated list of VODTimedTextProvider names being used by this application (see conf/TimedTextProviders.xml)- Parameters:
- timedTextProviderList- comma separated list of VODTimedTextProvider names
 
 - 
getVODTimedTextProviderSetjava.util.List<String> getVODTimedTextProviderSet() 
 - 
getTimedTextPropertiesWMSProperties getTimedTextProperties() Get the property collection of timed text settings that are specific to this application instance. These are defined in Application/TimedText/Properties tag in Application.xml- Returns:
- property collection of Timed Text settings
 
 - 
getStreamNameAliasProviderIMediaStreamNameAliasProvider getStreamNameAliasProvider() Get the stream name alias provider- Returns:
- stream name alias provider
 
 - 
setStreamNameAliasProvidervoid setStreamNameAliasProvider(IMediaStreamNameAliasProvider streamNameAliasProvider) Set the stream name alias provider- Parameters:
- streamNameAliasProvider- stream name alias provider
 
 - 
getPublishersjava.util.List<Publisher> getPublishers() Get the set of server side publishers- Returns:
- set of server side publishers
 
 - 
getPublisherCountint getPublisherCount() Get the current number of server side publishers- Returns:
- number of server side publishers
 
 - 
addPublishervoid addPublisher(Publisher publisher) Add a server side publisher to this application instance- Parameters:
- publisher- server side publisher
 
 - 
removePublishervoid removePublisher(Publisher publisher) Remove a server side publisher from this application instance- Parameters:
- publisher- server side publisher
 
 - 
getHTTPStreamerSessionsjava.util.List<IHTTPStreamerSession> getHTTPStreamerSessions(int protocol, String streamName) Get the HTTPStreamerSessions associated with this application instance for a stream name by protocol. See (IHTTPStreamerSession.SESSIONPROTOCOL_*) for protocols- Parameters:
- protocol- streaming protocol (IHTTPStreamerSession.SESSIONPROTOCOL_*)
- streamName- stream name
- Returns:
- HTTPStreamerSessions associated with this application instance
 
 - 
getHTTPStreamerSessionsjava.util.List<IHTTPStreamerSession> getHTTPStreamerSessions(String streamName) Get the HTTPStreamerSessions associated with this application instance for a stream name- Parameters:
- streamName- stream name
- Returns:
- HTTPStreamerSessions associated with this application instance
 
 - 
getHTTPStreamerSessionCountsByNamejava.util.Map<String,Integer> getHTTPStreamerSessionCountsByName(int protocol) Get a map of session counts by name for a given protocol- Parameters:
- protocol- streaming protocol (IHTTPStreamerSession.SESSIONPROTOCOL_*)
- Returns:
- map of session counts by name
 
 - 
getHTTPStreamerSessionCountint getHTTPStreamerSessionCount(String streamName) Get the current number of HTTPStreamerSessions associated with this application instance and stream name- Parameters:
- streamName- stream name
- Returns:
- number of HTTPStreamerSessions associated with this application instance
 
 - 
getHTTPStreamerSessionCountint getHTTPStreamerSessionCount(int protocol, String streamName)Get the current number of HTTPStreamerSessions associated with this application instance and stream name by protocol . See (IHTTPStreamerSession.SESSIONPROTOCOL_*) for protocols- Parameters:
- protocol- streaming protocol (IHTTPStreamerSession.SESSIONPROTOCOL_*)
- streamName- stream name
- Returns:
- HTTPStreamerSessions associated with this application instance
 
 - 
getHTTPStreamerSessionsjava.util.List<IHTTPStreamerSession> getHTTPStreamerSessions() Get the HTTPStreamerSessions associated with this application instance- Returns:
- HTTPStreamerSessions associated with this application instance
 
 - 
getHTTPStreamerSessionsjava.util.List<IHTTPStreamerSession> getHTTPStreamerSessions(int protocol) Get the HTTPStreamerSessions associated with this application instance by protocol. See (IHTTPStreamerSession.SESSIONPROTOCOL_*) for protocols- Parameters:
- protocol- streaming protocol (IHTTPStreamerSession.SESSIONPROTOCOL_*)
- Returns:
- HTTPStreamerSessions associated with this application instance
 
 - 
getHTTPStreamerSessionCountint getHTTPStreamerSessionCount() Get the current number of HTTPStreamerSessions associated with this application instance- Returns:
- current number of HTTPStreamerSessions associated with this application instance
 
 - 
getHTTPStreamerSessionCountint getHTTPStreamerSessionCount(int protocol) Get the current number of HTTPStreamerSessions associated with this application instance by protocol. See (IHTTPStreamerSession.SESSIONPROTOCOL_*) for protocols- Parameters:
- protocol- streaming protocol (IHTTPStreamerSession.SESSIONPROTOCOL_*)
- Returns:
- current number of HTTPStreamerSessions associated with this application instance
 
 - 
addHTTPStreamerSessionvoid addHTTPStreamerSession(IHTTPStreamerSession httpStreamerSession) Add a HTTPStreamerSession to this application instance- Parameters:
- httpStreamerSession- HTTPStreamerSession
 
 - 
removeHTTPStreamerSessionvoid removeHTTPStreamerSession(IHTTPStreamerSession httpStreamerSession) Remove a HTTPStreamerSession from this application instance- Parameters:
- httpStreamerSession- HTTPStreamerSession
 
 - 
getHTTPStreamerApplicationContextIHTTPStreamerApplicationContext getHTTPStreamerApplicationContext(String httpStreamName, boolean doCreate) Get the HTTPStreamer application context for a given HTTPStreamer adapter- Parameters:
- httpStreamName- HTTPStreamer adapter name
- doCreate- create if it does not exist
- Returns:
- HTTPStreamer application context
 
 - 
addRTPIncomingDatagramPortRangevoid addRTPIncomingDatagramPortRange(int startPort, int endPort)Add a port range to the list of valid incoming RTP UDP ports- Parameters:
- startPort- starting port number
- endPort- end port number
 
 - 
addRTPIncomingDatagramPortAllvoid addRTPIncomingDatagramPortAll() Allow all incoming RTP UDP ports for this application instance
 - 
isRTPIncomingDatagramPortValidboolean isRTPIncomingDatagramPortValid(int port) Check a port number to be sure it is a valid RTP UDP port for this application instance- Parameters:
- port- port number
- Returns:
- true if the port is valid
 
 - 
readAppInstConfigString readAppInstConfig(String sName) Method to read xml config file..
 - 
writeAppInstConfigboolean writeAppInstConfig(String sName, String data)Method to write xml config file..
 - 
getLiveStreamPacketizerControlILiveStreamPacketizerControl getLiveStreamPacketizerControl() Get the Live Stream Packetizer Controller. This class will get called each time a stream is to be packetized using the LiveStreamPacketizer mechanism.- Returns:
- Live Stream Packetizer Controller
 
 - 
setLiveStreamPacketizerControlvoid setLiveStreamPacketizerControl(ILiveStreamPacketizerControl liveStreamPacketizerControl) Set the Live Stream Packetizer Contoller. This class will get called each time a stream is to be packetized using the LiveStreamPacketizer mechanism.- Parameters:
- liveStreamPacketizerControl- Live Stream Packetizer Contoller
 
 - 
resetMediaCasterStreamboolean resetMediaCasterStream(String streamName) Reset a media caster stream- Parameters:
- streamName- stream name
- Returns:
- true if successful
 
 - 
resetMediaCasterStreamboolean resetMediaCasterStream(String streamName, String streamExt)Reset a media caster stream- Parameters:
- streamName- stream name
- streamExt- stream extension
- Returns:
- true if successful
 
 - 
startMediaCasterStreamboolean startMediaCasterStream(String streamName, String streamExt, String mediaCasterType)Start a media caster stream- Parameters:
- streamName- stream name
- streamExt- stream extension
- mediaCasterType- media caster stream type
- Returns:
- true if successful
 
 - 
startMediaCasterStreamboolean startMediaCasterStream(String streamName, String mediaCasterType)Start a media caster stream- Parameters:
- streamName- stream name
- mediaCasterType- media caster stream type
- Returns:
- true if successful
 
 - 
stopMediaCasterStreamvoid stopMediaCasterStream(String streamName) Stop a media caster stream- Parameters:
- streamName- stream name
 
 - 
getContextStrString getContextStr() Returns the application context string in the form [application]/[appInstance].- Returns:
- application context string
 
 - 
getPublishStreamNamesjava.util.List<String> getPublishStreamNames() Get the list of live stream names currently being published.- Returns:
- list of live stream names currently being published
 
 - 
addMediaWriterListenervoid addMediaWriterListener(IMediaWriterActionNotify listener) Add a MediaWriter listener class.- Parameters:
- listener- MediaWriter listener class
- See Also:
- IMediaWriterActionNotify
 
 - 
removeMediaWriterListenervoid removeMediaWriterListener(IMediaWriterActionNotify listener) remove MediaWriter listener class.- Parameters:
- listener- MediaWriter listener class
- See Also:
- IMediaWriterActionNotify
 
 - 
notifyMediaWriterOnWriteCompletevoid notifyMediaWriterOnWriteComplete(IMediaStream stream, java.io.File file) Notify all MediaWriter listeners of onWriteComplete- Parameters:
- stream- media stream
- file- file that was written
 
 - 
notifyMediaWriterOnFLVAddMetadatavoid notifyMediaWriterOnFLVAddMetadata(IMediaStream stream, java.util.Map<String,Object> extraMetadata) Notify all MediaWriter listeners of onFLVAddMetadata- Parameters:
- stream- media stream
- extraMetadata- meta to add to the file
 
 - 
addDvrConverterListenervoid addDvrConverterListener(com.wowza.wms.dvr.converter.IDvrConverterActionNotify listener) Add a DVRConverter listener class.- Parameters:
- listener- DVRConverter listener class
- See Also:
- IDvrConverterActionNotify
 
 - 
removeDvrConverterListenervoid removeDvrConverterListener(com.wowza.wms.dvr.converter.IDvrConverterActionNotify listener) Remove DVRConverter listener class.- Parameters:
- listener- DVRConverter listener class
- See Also:
- IDvrConverterActionNotify
 
 - 
notifyDvrConverterConversionCompletevoid notifyDvrConverterConversionComplete(IDvrStreamStore store, java.io.File file) Notify all DVRConverter listeners of conversion complete- Parameters:
- store- the dvr store for which this action completed
- file- file handle that just got written
 
 - 
getMediaCasterValidatorIMediaCasterValidateMediaCaster getMediaCasterValidator() Get the MediaCaster validator interface for this application instance- Returns:
- MediaCaster validator interface
 
 - 
setMediaCasterValidatorvoid setMediaCasterValidator(IMediaCasterValidateMediaCaster mediaCasterValidator) Set the MediaCaster validator interface for this application instance- Parameters:
- mediaCasterValidator- MediaCaster validator interface
 
 - 
touchvoid touch() Touch the application instance so that it stays loaded for at least applicationInstanceTouchTimeout
 - 
getLastTouchTimelong getLastTouchTime() Get the last time the instance was touched (milliseconds)- Returns:
- last time the instance was touched (milliseconds)
 
 - 
getApplicationInstanceTouchTimeoutint getApplicationInstanceTouchTimeout() Get the application instance touch timeout (milliseconds). Default is 5000.- Returns:
- application instance touch timeout (milliseconds)
 
 - 
setApplicationInstanceTouchTimeoutvoid setApplicationInstanceTouchTimeout(int applicationInstanceTouchTimeout) Set the application instance touch timeout (milliseconds). Default is 5000.- Parameters:
- applicationInstanceTouchTimeout- application instance touch timeout (milliseconds)
 
 - 
getRTSPSessionTimeoutint getRTSPSessionTimeout() Get the RTSP session timeout (milliseconds)- Returns:
- RTSP session timeout (milliseconds)
 
 - 
setRTSPSessionTimeoutvoid setRTSPSessionTimeout(int rtspSessionTimeout) Set the RTSP session timeout (milliseconds)- Parameters:
- rtspSessionTimeout- RTSP session timeout (milliseconds)
 
 - 
getRTSPMaximumPendingWriteBytesint getRTSPMaximumPendingWriteBytes() Get the maximum number of pending write bytes for an RTSP session- Returns:
- maximum number of pending write bytes for an RTSP session
 
 - 
setRTSPMaximumPendingWriteBytesvoid setRTSPMaximumPendingWriteBytes(int rtspMaximumPendingWriteBytes) Set the maximum number of pending write bytes for an RTSP session- Parameters:
- rtspMaximumPendingWriteBytes- maximum number of pending write bytes for an RTSP session
 
 - 
addMediaReaderListenervoid addMediaReaderListener(IMediaReaderActionNotify mediaReaderListener) Add media reader listener.- Parameters:
- mediaReaderListener- media reader listener
- See Also:
- IMediaReaderActionNotify
 
 - 
removeMediaReaderListenervoid removeMediaReaderListener(IMediaReaderActionNotify mediaReaderListener) Remove media reader listener.- Parameters:
- mediaReaderListener- media reader listener
- See Also:
- IMediaReaderActionNotify
 
 - 
notifyMediaReaderCreatevoid notifyMediaReaderCreate(IMediaReader mediaReader) Notify media reader notifyMediaReaderCreate- Parameters:
- mediaReader- media reader
 
 - 
notifyMediaReaderInitvoid notifyMediaReaderInit(IMediaReader mediaReader, IMediaStream stream) Notify media reader notifyMediaReaderInit- Parameters:
- mediaReader- media reader
- stream- media stream
 
 - 
notifyMediaReaderOpenvoid notifyMediaReaderOpen(IMediaReader mediaReader, IMediaStream stream) Notify media reader notifyMediaReaderOpen- Parameters:
- mediaReader- media reader
- stream- media stream
 
 - 
notifyMediaReaderExtractMetaDatavoid notifyMediaReaderExtractMetaData(IMediaReader mediaReader, IMediaStream stream) Notify media reader notifyMediaReaderExtractMetaData- Parameters:
- mediaReader- media reader
- stream- media stream
 
 - 
notifyMediaReaderClosevoid notifyMediaReaderClose(IMediaReader mediaReader, IMediaStream stream) Notify media reader notifyMediaReaderClose- Parameters:
- mediaReader- media reader
- stream- media stream
 
 - 
getRTSPBindIpAddressString getRTSPBindIpAddress() Set the IP address to which UDP ports will be bound for RTSP/RTP sessions- Returns:
- IP address to which UDP ports will be bound for RTSP/RTP sessions
 
 - 
setRTSPBindIpAddressvoid setRTSPBindIpAddress(String rtspBindIpAddress) Get the IP address to which UDP ports will be bound for RTSP/RTP sessions- Parameters:
- rtspBindIpAddress- IP address to which UDP ports will be bound for RTSP/RTP sessions
 
 - 
getRTSPConnectionIpAddressString getRTSPConnectionIpAddress() Get the connection IP address to used in the Session Description Protocol data exchanged for an RTSP/RTP session- Returns:
- connection IP address to used in the Session Description Protocol data exchanged for an RTSP/RTP session
 
 - 
setRTSPConnectionIpAddressvoid setRTSPConnectionIpAddress(String rtspConnectionIpAddress) Set the connection IP address to used in the Session Description Protocol data exchanged for an RTSP/RTP session- Parameters:
- rtspConnectionIpAddress- connection IP address to used in the Session Description Protocol data exchanged for an RTSP/RTP session
 
 - 
getRTSPConnectionAddressTypeString getRTSPConnectionAddressType() Get the connection IP address type (IP4) to used in the Session Description Protocol data exchanged for an RTSP/RTP session- Returns:
- the connection IP address type (IP4) to used in the Session Description Protocol data exchanged for an RTSP/RTP session
 
 - 
setRTSPConnectionAddressTypevoid setRTSPConnectionAddressType(String rtspConnectionAddressType) Set the connection IP address type (IP4) to used in the Session Description Protocol data exchanged for an RTSP/RTP session- Parameters:
- rtspConnectionAddressType-
 
 - 
getRTSPOriginIpAddressString getRTSPOriginIpAddress() Get the origin IP address to used in the Session Description Protocol data exchanged for an RTSP/RTP session- Returns:
- origin IP address to used in the Session Description Protocol data exchanged for an RTSP/RTP session
 
 - 
setRTSPOriginIpAddressvoid setRTSPOriginIpAddress(String rtspOriginIpAddress) Set the origin IP address to used in the Session Description Protocol data exchanged for an RTSP/RTP session- Parameters:
- rtspOriginIpAddress- origin IP address to used in the Session Description Protocol data exchanged for an RTSP/RTP session
 
 - 
getRTSPOriginAddressTypeString getRTSPOriginAddressType() Get the origin IP address type (IP4) to used in the Session Description Protocol data exchanged for an RTSP/RTP session- Returns:
- origin IP address type (IP4) to used in the Session Description Protocol data exchanged for an RTSP/RTP session
 
 - 
setRTSPOriginAddressTypevoid setRTSPOriginAddressType(String rtspOriginAddressType) Set the origin IP address type (IP4) to used in the Session Description Protocol data exchanged for an RTSP/RTP session- Parameters:
- rtspOriginAddressType- origin IP address type (IP4) to used in the Session Description Protocol data exchanged for an RTSP/RTP session
 
 - 
addLiveStreamPacketizerListenervoid addLiveStreamPacketizerListener(ILiveStreamPacketizerActionNotify liveStreamPacketizerListener) Add a Live Stream Packetizer listener- Parameters:
- liveStreamPacketizerListener- Live Stream Packetizer listener
- See Also:
- ILiveStreamPacketizerActionNotify
 
 - 
removeLiveStreamPacketizerListenervoid removeLiveStreamPacketizerListener(ILiveStreamPacketizerActionNotify liveStreamPacketizerListener) Remove a Live Stream Packetizer listener- Parameters:
- liveStreamPacketizerListener- Live Stream Packetizer listener
- See Also:
- ILiveStreamPacketizerActionNotify
 
 - 
notifyLiveStreamPacketizerCreatevoid notifyLiveStreamPacketizerCreate(ILiveStreamPacketizer liveStreamPacketizer, String streamName) Notify Live Stream Packetizer Create- Parameters:
- liveStreamPacketizer- Live Stream Packetizer listener
 
 - 
notifyLiveStreamPacketizerDestroyvoid notifyLiveStreamPacketizerDestroy(ILiveStreamPacketizer liveStreamPacketizer) Notify Live Stream Packetizer Destory- Parameters:
- liveStreamPacketizer- Live Stream Packetizer listener
 
 - 
notifyLiveStreamPacketizerInitvoid notifyLiveStreamPacketizerInit(ILiveStreamPacketizer liveStreamPacketizer, String streamName) Notify Live Stream Packetizer Init- Parameters:
- liveStreamPacketizer- Live Stream Packetizer listener
 
 - 
isValidateFMLEConnectionsboolean isValidateFMLEConnections() Returns true if validating FMLE connection (default is false)- Returns:
- true if validating FMLE connection
 
 - 
setValidateFMLEConnectionsvoid setValidateFMLEConnections(boolean validateFMLEConnections) Returns true if validating FMLE connection (default is false)- Parameters:
- validateFMLEConnections- true if validating FMLE connection
 
 - 
addLiveStreamTranscoderListenervoid addLiveStreamTranscoderListener(ILiveStreamTranscoderNotify liveStreamTranscoderListener) Add a live stream transcoder listener- Parameters:
- liveStreamTranscoderListener- live stream transcoder listener
 
 - 
removeLiveStreamTranscoderListenervoid removeLiveStreamTranscoderListener(ILiveStreamTranscoderNotify liveStreamTranscoderListener) Remove a live stream transcoder listener- Parameters:
- liveStreamTranscoderListener- live stream transcoder listener
 
 - 
notifyLiveStreamTranscoderCreatevoid notifyLiveStreamTranscoderCreate(ILiveStreamTranscoder liveStreamTranscoder, IMediaStream stream) Notify live stream transcoder create- Parameters:
- liveStreamTranscoder- live stream transcoder
- stream- stream
 
 - 
notifyLiveStreamTranscoderDestroyvoid notifyLiveStreamTranscoderDestroy(ILiveStreamTranscoder liveStreamTranscoder, IMediaStream stream) Notify live stream transcoder destroy- Parameters:
- liveStreamTranscoder- live stream transcoder
- stream- stream
 
 - 
notifyLiveStreamTranscoderInitvoid notifyLiveStreamTranscoderInit(ILiveStreamTranscoder liveStreamTranscoder, IMediaStream stream) Notify live stream transcoder init- Parameters:
- liveStreamTranscoder- live stream transcoder
- stream- stream
 
 - 
containsLiveStreamTranscoderboolean containsLiveStreamTranscoder(String liveStreamTranscoder) Return true if this application instance contains the transcoder name- Parameters:
- liveStreamTranscoder- transcoder name
- Returns:
- true if this application instance contains the transcoder name
 
 - 
getLiveStreamTranscoderListString getLiveStreamTranscoderList() Get comma separated list of transcoders to use for this application instance- Returns:
- comma separated list of transcoders
 
 - 
setLiveStreamTranscoderListvoid setLiveStreamTranscoderList(String liveStreamTranscoderList) Set comma separated list of transcoders to use for this application instance- Parameters:
- liveStreamTranscoderList- comma separated list of transcoders
 
 - 
getLiveStreamTranscoderControlILiveStreamTranscoderControl getLiveStreamTranscoderControl() Get the Live Stream Transcoder Contoller. This class will get called each time a stream is to be transcoded using the LiveStreamTranscoder mechanism.- Returns:
- Live Stream Transcoder Contoller
 
 - 
setLiveStreamTranscoderControlvoid setLiveStreamTranscoderControl(ILiveStreamTranscoderControl liveStreamTranscoderControl) Set the Live Stream Transcoder Contoller. This class will get called each time a stream is to be transcoded using the LiveStreamTranscoder mechanism.- Parameters:
- liveStreamTranscoderControl- Live Stream Transcoder Contoller
 
 - 
getTranscoderApplicationContextcom.wowza.wms.stream.livetranscoder.LiveStreamTranscoderApplicationContext getTranscoderApplicationContext() Get live stream transcoder application context- Returns:
- live stream transcoder application context
 
 - 
getDvrPropertiesWMSProperties getDvrProperties() Get the property collection of DVR settings that are specific to this application instance. These are defined in Application/DVR/Properties tag in Application.xml- Returns:
- property collection of DVR settings
 
 - 
getDvrApplicationContextcom.wowza.wms.dvr.DvrApplicationContext getDvrApplicationContext() Get live stream dvr application context- Returns:
- live stream dvr application context
 
 - 
getDvrConvertercom.wowza.wms.dvr.DvrApplicationConverterContext getDvrConverter() Get dvr application converter context- Returns:
- dvr application converter context
 
 - 
getLiveStreamDvrRecorderControlILiveStreamDvrRecorderControl getLiveStreamDvrRecorderControl() Get the Live Stream DVR Recorder Controller. This class will get called each time a stream is to be DVR-ed.- Returns:
- Live Stream DVR Controller
 
 - 
setLiveStreamDvrRecorderControlvoid setLiveStreamDvrRecorderControl(ILiveStreamDvrRecorderControl controller) Set the Live Stream DVR Controller.- Parameters:
- controller- Live Stream DVR Controller
 
 - 
getDvrRecorderListString getDvrRecorderList() Get the comma separated list of Dvr Recorder names being used by this application (see conf/Dvr.xml)- Returns:
- comma separated list of Dvr Recorder names
 
 - 
setDvrRecorderListvoid setDvrRecorderList(String recorderList) Set the comma separated list of Dvr Recorder names being used by this application (see conf/Dvr.xml)- Parameters:
- recorderList- comma separated list of Dvr Recorder names
 
 - 
addDvrRecorderListenervoid addDvrRecorderListener(ILiveStreamDvrRecorderActionNotify listener) Add a Dvr Recorder listener- Parameters:
- listener- Dvr Recorder listener
- See Also:
- ILiveStreamDvrRecorderActionNotify
 
 - 
removeDvrRecorderListenervoid removeDvrRecorderListener(ILiveStreamDvrRecorderActionNotify listener) Remove a Dvr Recorder listener- Parameters:
- listener- Dvr Recorder listener
- See Also:
- ILiveStreamDvrRecorderActionNotify
 
 - 
notifyLiveStreamDvrRecorderCreatevoid notifyLiveStreamDvrRecorderCreate(ILiveStreamDvrRecorder dvr, String streamName) Notify Dvr Recorder Create- Parameters:
- dvr- DVR Recorder listener
- streamName- stream Name
 
 - 
notifyLiveStreamDvrRecorderInitvoid notifyLiveStreamDvrRecorderInit(ILiveStreamDvrRecorder dvr, String streamName) Notify DVR Recorder has been initialized.- Parameters:
- dvr- DVR Recorder listener * @param streamName stream Name
 
 - 
notifyLiveStreamDvrRecorderDestroyvoid notifyLiveStreamDvrRecorderDestroy(ILiveStreamDvrRecorder dvr) Notify DVR Recorder has been destroyed.- Parameters:
- dvr- DVR Recorder listener
 
 - 
addDvrStreamManagerListenervoid addDvrStreamManagerListener(IDvrStreamManagerActionNotify listener) Add a Dvr Application Store Manager listener- Parameters:
- listener- Dvr Application Store Manager listener
- See Also:
- IDvrStreamManagerActionNotify
 
 - 
removeDvrStreamManagerListenervoid removeDvrStreamManagerListener(IDvrStreamManagerActionNotify listener) Remove a Dvr Application Store Manager listener- Parameters:
- listener- Dvr Application Store Manager listener
- See Also:
- IDvrStreamManagerActionNotify
 
 - 
notifyDvrStreamManagerCreatevoid notifyDvrStreamManagerCreate(IDvrStreamManager dvrStoreManager, String streamName) Notify listeners that Dvr Application Store Manager has been created.- Parameters:
- dvrStoreManager- Dvr Application Store Manager
- streamName-
 
 - 
notifyDvrStreamManagerInitvoid notifyDvrStreamManagerInit(IDvrStreamManager dvrStoreManager) Notify listeners that Dvr Application Store Manager has been initialized.- Parameters:
- dvrStoreManager- Dvr Application Store Manager
 
 - 
notifyDvrStreamManagerDestroyvoid notifyDvrStreamManagerDestroy(IDvrStreamManager dvrManager) Notify listeners that Dvr Application Store Manager has been destroyed.- Parameters:
- dvrManager- Dvr Application Store Manager
 
 - 
getMediaReaderContentTypeint getMediaReaderContentType(String mediaType) Get the content type of a media stream name prefix (see IMediaReader.CONTENTTYPE_*)- Parameters:
- mediaType- mediaType (such as flv or smil)
- Returns:
- content type (see IMediaReader.CONTENTTYPE_*)
 
 - 
getMediaListProviderIMediaListProvider getMediaListProvider() Get the current media list provider. The media list provider is used to resolve amlst:streamname requests to a media list (equivelent to a SMIL file).- Returns:
- media list provider
 
 - 
setMediaListProvidervoid setMediaListProvider(IMediaListProvider mediaListProvider) Set the current media list provider. The media list provider is used to resolve amlst:streamname requests to a media list (equivelent to a SMIL file).- Parameters:
- mediaListProvider- media list provider
 
 - 
getMediacasterRTPRTSPRTPTransportModeint getMediacasterRTPRTSPRTPTransportMode() RTP MediaCaster RTSP/RTP transport mode. See RTPMediaCaster.RTSPTRANSPORTMODE_*- Returns:
- RTP MediaCaster RTSP/RTP transport mode
 
 - 
setMediacasterRTPRTSPRTPTransportModevoid setMediacasterRTPRTSPRTPTransportMode(int mediacasterRTPRTSPRTPTransportMode) RTP MediaCaster RTSP/RTP transport mode. See RTPMediaCaster.RTSPTRANSPORTMODE_*- Parameters:
- mediacasterRTPRTSPRTPTransportMode- RTP MediaCaster RTSP/RTP transport mode
 
 - 
getProtocolUsageboolean[] getProtocolUsage() Get the protocols in use by this application instance (see IApplicationInstance.PROTCOLUSAGE_*)- Returns:
- protocols in use by this application instance (see IApplicationInstance.PROTCOLUSAGE_*)
 
 - 
getProtocolUsagevoid getProtocolUsage(boolean[] protocolsInUse) Get the protocols in use by this application instance (see IApplicationInstance.PROTCOLUSAGE_*)
 - 
isDebugAppTimeoutboolean isDebugAppTimeout() If true appTimeout processing will be logged.- Returns:
- true appTimeout processing will be logged
 
 - 
setDebugAppTimeoutvoid setDebugAppTimeout(boolean debugAppTimeout) If true appTimeout processing will be logged.- Parameters:
- debugAppTimeout- true appTimeout processing will be logged
 
 - 
addRTPListenervoid addRTPListener(IRTPSessionNotify rtpListener) Add listner to be notified of RTPSession create and destroy.- Parameters:
- rtpListener- RTP listener
 
 - 
removeRTPListenervoid removeRTPListener(IRTPSessionNotify rtpListener) Remove listner to be notified of RTPSession create and destroy.- Parameters:
- rtpListener- RTP listener
 
 - 
notifyRTPSessionCreatevoid notifyRTPSessionCreate(RTPSession rtpSession) Notify RTP session create- Parameters:
- rtpSession- rtp session
 
 - 
notifyRTPSessionDestroyvoid notifyRTPSessionDestroy(RTPSession rtpSession) Notify RTP session destory- Parameters:
- rtpSession- rtp session
 
 - 
addHTTPListenervoid addHTTPListener(IHTTPSessionNotify httpListener) Add listner to be notified of HTTPSession create and destroy.- Parameters:
- httpListener- http listener
 
 - 
removeHTTPListenervoid removeHTTPListener(IHTTPSessionNotify httpListener) Remove listner to be notified of HTTPSession create and destroy.- Parameters:
- httpListener- http listener
 
 - 
notifyHTTPSessionCreatevoid notifyHTTPSessionCreate(IHTTPStreamerSession httpSession) Notify HTTP session create- Parameters:
- httpSession- HTTP session
 
 - 
notifyHTTPSessionDestroyvoid notifyHTTPSessionDestroy(IHTTPStreamerSession httpSession) Notify HTTP session destroy- Parameters:
- httpSession- HTTP session
 
 - 
getMediaCacheFiltersjava.util.List<com.wowza.wms.mediacache.model.MediaCacheSourceFilter> getMediaCacheFilters() Get the list of allowed MediaCache sources.- Returns:
- list of allowed MediaCache sources
 
 - 
isMediaCacheSourceAllowedboolean isMediaCacheSourceAllowed(String sourceName) Test to see if a MediaCache source name is allowed- Parameters:
- sourceName- MediaCache source name
- Returns:
- true if allowed
 
 - 
getPushPublishSessionsjava.util.List<IPushPublishSession> getPushPublishSessions(IMediaStream stream) Get the current push publish sessions for a given IMediaStream- Parameters:
- stream- stream
- Returns:
- push publish sessions
 
 - 
getPushPublishSessionsjava.util.List<IPushPublishSession> getPushPublishSessions() Get all active push publish sessions- Returns:
- all active push publish sessions
 
 - 
addPushPublishSessionvoid addPushPublishSession(IMediaStream stream, IPushPublishSession pushPublishSession) Add a push publish session to the list of active push publish sessions- Parameters:
- stream- stream
- pushPublishSession- push publish session
 
 - 
removePushPublishSessionvoid removePushPublishSession(IMediaStream stream, IPushPublishSession pushPublishSession) Remove a push publish session- Parameters:
- stream- stream
- pushPublishSession- push publish session
 
 - 
removePushPublishSessionsvoid removePushPublishSessions(IMediaStream stream) Remove all push publish sessions for a give stream- Parameters:
- stream- stream
 
 - 
addPushPublishSessionListenervoid addPushPublishSessionListener(IPushPublishSessionNotify pushPublishSessionListener) Add a push publish session listener- Parameters:
- pushPublishSessionListener- push publish session
- See Also:
- IPushPublishSessionNotify
 
 - 
removePushPublishSessionListenervoid removePushPublishSessionListener(IPushPublishSessionNotify pushPublishSessionListener) Remove a push publish session listener- Parameters:
- pushPublishSessionListener- push publish session
- See Also:
- IPushPublishSessionNotify
 
 - 
notifyPushPublishSessionCreatevoid notifyPushPublishSessionCreate(String streamName, IMediaStream stream, IPushPublishSession pushPublishSession)Notify push publish session create- Parameters:
- streamName- stream name
- stream- stream
- pushPublishSession- push publish session
 
 - 
notifyPushPublishSessionDestroyvoid notifyPushPublishSessionDestroy(String streamName, IMediaStream stream, IPushPublishSession pushPublishSession)Notify push publish session destroy- Parameters:
- streamName- stream name
- stream- stream
- pushPublishSession- push publish session
 
 - 
getPushPublishSessionCountint getPushPublishSessionCount() Get the number of push publishing sessions.- Returns:
- number of push publishing sessions
 
 - 
getStreamRecorderPropertiesWMSProperties getStreamRecorderProperties() Get the property collection of StreamRecorder settings that are specific to this application instance- Returns:
- property collection of StreamRecorder settings
 
 - 
isLiveboolean isLive() Returns true if the application stream type of the application instance is live- Returns:
- true if the application stream type is live
 
 - 
getSourceControlSessionISourceControlSession getSourceControlSession(String streamName) Get the source control session for the given stream name- Parameters:
- streamName- the stream name
- Returns:
- an ISourceControlSession for the stream provided or null if it doesn't exist
 
 - 
getSourceControlSessionsjava.util.List<ISourceControlSession> getSourceControlSessions() Get all active source control sessions- Returns:
- Listall active source control sessions 
 
 - 
addSourceControlSessionvoid addSourceControlSession(String streamName, ISourceControlSession sourceControlSession)Add a source control session to the list of active source control sessions associated with the given stream name- Parameters:
- streamName- the stream name
- sourceControlSession- the source control session
 
 - 
removeSourceControlSessionvoid removeSourceControlSession(String streamName) Remove the source control session for the given stream name from the application instance- Parameters:
- streamName- the stream name
 
 - 
addSourceControlSessionListenervoid addSourceControlSessionListener(ISourceControlSessionNotify sourceControlSessionListener) Add a source control session listener- Parameters:
- sourceControlSessionListener- source control session listener
- See Also:
- ISourceControlSessionNotify
 
 - 
removeSourceControlSessionListenervoid removeSourceControlSessionListener(ISourceControlSessionNotify sourceControlSessionListener) Remove the provided source control session listener from the list of source control session listeners- Parameters:
- sourceControlSessionListener- source control session listener
- See Also:
- ISourceControlSessionNotify
 
 - 
notifySourceControlSessionCreatevoid notifySourceControlSessionCreate(String streamName, ISourceControlSession sourceControlSession)Notify source control session create- Parameters:
- streamName- stream name
- sourceControlSession- the source control session that was just created
 
 - 
notifySourceControlSessionDestroyvoid notifySourceControlSessionDestroy(String streamName, ISourceControlSession sourceControlSession)Notify source control session destroy- Parameters:
- streamName- stream name
- sourceControlSession- the source control session that is being destroyed
 
 - 
getSourceControlSessionCountint getSourceControlSessionCount() Get the number of source control sessions.- Returns:
- number of source control sessions
 
 - 
getWebRTCApplicationContextcom.wowza.wms.webrtc.model.WebRTCApplicationContext getWebRTCApplicationContext() Get the WebRTC application level context- Returns:
- WebRTC application level context
 
 - 
getWebRTCSessionsjava.util.List<RTPSession> getWebRTCSessions() Get list of WebRTC sessions- Returns:
- list of WebRTC sessions
 
 - 
getWebRTCSessionsjava.util.List<RTPSession> getWebRTCSessions(String streamName) Get list of WebRTC sessions by stream name- Parameters:
- streamName- stream name
- Returns:
- list of WebRTC sessions by stream name
 
 - 
getWebRTCSessionCountint getWebRTCSessionCount() Get count of WebRTC sessions- Returns:
- count of WebRTC sessions
 
 - 
getWebRTCSessionCountint getWebRTCSessionCount(String streamName) Get count of WebRTC sessions by stream name- Parameters:
- streamName- stream name
- Returns:
- count of WebRTC sessions by stream name
 
 - 
getWebRTCSessionCountsByNamejava.util.Map<String,Integer> getWebRTCSessionCountsByName() Get a map of WebRTC sessions by stream name- Returns:
- map of WebRTC sessions by stream name
 
 - 
resolvePlayAliasString resolvePlayAlias(String name) Resolve the play alias with this application's stream name alias provider- Returns:
- a resolved stream name, or the name passed in if a stream name alias provider is not defined
 
 - 
resolvePlayAliasString resolvePlayAlias(String name, IClient client)Resolve the play alias with this application's stream name alias provider- Returns:
- a resolved stream name, or the name passed in if a stream name alias provider is not defined
 
 - 
resolvePlayAliasString resolvePlayAlias(String name, ILiveStreamPacketizer liveStreamPacketizer)Resolve the play alias with this application's stream name alias provider- Returns:
- a resolved stream name, or the name passed in if a stream name alias provider is not defined
 
 - 
resolvePlayAliasString resolvePlayAlias(String name, RTPSession rtpSession)Resolve the play alias with this application's stream name alias provider- Returns:
- a resolved stream name, or the name passed in if a stream name alias provider is not defined
 
 - 
resolvePlayAliasString resolvePlayAlias(String name, IHTTPStreamerSession httpSession)Resolve the play alias with this application's stream name alias provider- Returns:
- a resolved stream name, or the name passed in if a stream name alias provider is not defined
 
 - 
resolvePlayAliasString resolvePlayAlias(String name, com.wowza.wms.webrtc.model.WebRTCSession webrtcSession)Resolve the play alias with this application's stream name alias provider- Returns:
- a resolved stream name, or the name passed in if a stream name alias provider is not defined
 
 - 
resolvePlayAliasString resolvePlayAlias(String name, IWebSocketSession webSocket)Resolve the play alias with this application's stream name alias provider- Returns:
- a resolved stream name, or the name passed in if a stream name alias provider is not defined
 
 - 
resolveStreamAliasString resolveStreamAlias(String name) Resolve the stream name alias with this application's stream name alias provider- Returns:
- a resolved stream name, or the name passed in if a stream name alias provider is not defined
 
 - 
resolveStreamAliasString resolveStreamAlias(String name, IMediaCaster mediaCaster)Resolve the stream name alias with this application's stream name alias provider- Returns:
- a resolved stream name, or the name passed in if a stream name alias provider is not defined
 
 - 
resolveStreamAliasString resolveStreamAlias(String name, IWebSocketSession webSocket)Resolve the stream name alias with this application's stream name alias provider- Returns:
- a resolved stream name, or the name passed in if a stream name alias provider is not defined
 
 - 
resolveStreamAliasString resolveStreamAlias(String name, com.wowza.wms.webrtc.model.WebRTCSession webrtcSession)Resolve the stream name alias with this application's stream name alias provider- Returns:
- a resolved stream name, or the name passed in if a stream name alias provider is not defined
 
 - 
addIOPerformanceIOPerformanceCounter addIOPerformance(int counterIndex, IOPerformanceCounter totalIOPerformanceResult) 
 - 
addIOPerformanceIOPerformanceCounter addIOPerformance(IOPerformanceCounter ioPerformanceCounter) 
 
- 
 
-