public interface IApplicationInstance
IApplicationInstance: public interface to ApplicationInstance object
| Modifier and Type | Method | Description |
|---|---|---|
void |
addClientListener(IClientNotify clientListener) |
Add client listener.
|
void |
addDvrRecorderListener(ILiveStreamDvrRecorderActionNotify listener) |
Add a Dvr Recorder listener (see: ILiveStreamDvrRecorderActionNotify)
|
void |
addDvrStreamManagerListener(IDvrStreamManagerActionNotify listener) |
Add a Dvr Application Store Manager listener (see: IDvrStoreActionNotify)
|
void |
addHTTPListener(IHTTPSessionNotify httpListener) |
Add listner to be notified of HTTPSession create and destroy.
|
void |
addHTTPStreamerSession(IHTTPStreamerSession httpStreamerSession) |
Add a HTTPStreamerSession to this application instance
|
void |
addLiveStreamPacketizerListener(ILiveStreamPacketizerActionNotify liveStreamPacketizerListener) |
Add a Live Stream Packetizer listener (see: ILiveStreamPacketizerActionNotify)
|
void |
addLiveStreamTranscoderListener(ILiveStreamTranscoderNotify liveStreamTranscoderListener) |
Add a live stream transcoder listener
|
void |
addMediaCasterListener(IMediaCasterNotify mediaCasterListener) |
Add mediaCaster listener.
|
void |
addMediaCasterListener(IMediaCasterNotify2 mediaCasterListener) |
Add mediaCaster listener.
|
void |
addMediaReaderListener(IMediaReaderActionNotify mediaReaderListener) |
Add media reader listener.
|
void |
addMediaStreamListener(IMediaStreamNotify mediaStreamListener) |
Add mediaStream listener.
|
void |
addMediaWriterListener(IMediaWriterActionNotify listener) |
Add a MediaWriter listener class.
|
void |
addModuleListener(IModuleNotify moduleListener) |
Add module listener.
|
void |
addPlayStreamByName(IMediaStream stream,
String name) |
Add a media stream to the list of streams that are listening for a published stream
|
void |
addPublisher(Publisher publisher) |
Add a server side publisher to this application instance
|
void |
addPushPublishSession(IMediaStream stream,
IPushPublishSession pushPublishSession) |
Add a push publish session to the list of active push publish sessions
|
void |
addPushPublishSessionListener(IPushPublishSessionNotify pushPublishSessionListener) |
Add a push publish session listener (see IPushPublishSessionNotify)
|
void |
addRTPIncomingDatagramPortAll() |
Allow all incoming RTP UDP ports for this application instance
|
void |
addRTPIncomingDatagramPortRange(int startPort,
int endPort) |
Add a port range to the list of valid incoming RTP UDP ports
|
void |
addRTPListener(IRTPSessionNotify rtpListener) |
Add listner to be notified of RTPSession create and destroy.
|
void |
addRTPSession(RTPSession rtpSession) |
Add an RTP session to this application instance
|
void |
addSharedObjectListener(ISharedObjectNotify sharedObjectListener,
boolean isPersistent) |
Add sharedObject listener.
|
void |
addSourceControlSession(String streamName,
ISourceControlSession sourceControlSession) |
Add a source control session to the list of active source control sessions associated with the given stream name
|
void |
addSourceControlSessionListener(ISourceControlSessionNotify sourceControlSessionListener) |
Add a source control session listener (see ISourceControlSessionNotify)
|
void |
broadcastMsg(String handlerName,
Object... params) |
Broadcast a message to all clients connected to this applicationInstance
|
void |
broadcastMsg(java.util.List<IClient> clientList,
String handlerName) |
Broadcast a message to a specific list of clients connected to this application instance
|
void |
broadcastMsg(java.util.List<IClient> clientList,
String handlerName,
Object... params) |
Broadcast a message to a specific list of clients connected to this application instance
|
boolean |
containsDvrRecorder(String dvrRecorder) |
Does this application instance contain a references to this DVR recorder.
|
boolean |
containsHTTPStreamer(String httpStreamer) |
Does this application instance allow streaming of a given HTTPStreamer
|
boolean |
containsLiveStreamPacketizer(String liveStreamPacketizer) |
Does this application instance contain a references to this live stream packetizer.
|
boolean |
containsLiveStreamTranscoder(String liveStreamTranscoder) |
Return true if this application instance contains the transcoder name
|
String |
decodeStorageDir(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.
|
IApplication |
getApplication() |
Get parent application
|
int |
getApplicationInstanceTouchTimeout() |
Get the application instance touch timeout (milliseconds).
|
int |
getApplicationTimeout() |
Get application timeout (milliseconds)
|
IClient |
getClientById(int index) |
Get a client connection by the client Id
|
int |
getClientCount() |
Get number of client connections currently connected to applicationInstance
|
int |
getClientCountTotal() |
Get number of client connections in total that have connected to this applicationInstance
|
int |
getClientIdleFrequency() |
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.WMSReadWriteLock |
getClientsLockObj() |
Get the read/write lock for this application instance
|
ConnectionCounter |
getConnectionCounter() |
Get the connectionCounter for applicationInstance
|
com.wowza.wms.client.ConnectionCounterSimple |
getConnectionCounter(int counterIndex) |
Get the connectionCounter for applicationInstance for a specific technology (see IVHost.COUNTER_*)
|
String |
getContextStr() |
Returns the application context string in the form [application]/[appInstance].
|
String |
getDateStarted() |
Get date applcationInstance started
|
com.wowza.wms.dvr.DvrApplicationContext |
getDvrApplicationContext() |
Get live stream dvr application context
|
com.wowza.wms.dvr.DvrApplicationConverterContext |
getDvrConverter() |
Get dvr application converter context
|
WMSProperties |
getDvrProperties() |
Get the property collection of DVR settings that are specific to this application instance.
|
String |
getDvrRecorderList() |
Get the comma separated list of Dvr Recorder names being used by this application (see conf/Dvr.xml)
|
IHTTPStreamerApplicationContext |
getHTTPStreamerApplicationContext(String httpStreamName,
boolean doCreate) |
Get the HTTPStreamer application context for a given HTTPStreamer adapter
|
String |
getHTTPStreamerList() |
Get the comma separated list of HTTPStreamers names being used by this application (see conf/HTTPStreamers.xml)
|
WMSProperties |
getHTTPStreamerProperties() |
Get the property collection of HTTPStreamer settings that are specific to this application instance
|
int |
getHTTPStreamerSessionCount() |
Get the current number of HTTPStreamerSessions associated with this application instance
|
int |
getHTTPStreamerSessionCount(int protocol) |
Get the current number of HTTPStreamerSessions associated with this application instance by protocol.
|
int |
getHTTPStreamerSessionCount(int protocol,
String streamName) |
Get the current number of HTTPStreamerSessions associated with this application instance and stream name by protocol .
|
int |
getHTTPStreamerSessionCount(String streamName) |
Get the current number of HTTPStreamerSessions associated with this application instance and stream name
|
java.util.Map<String,Integer> |
getHTTPStreamerSessionCountsByName(int protocol) |
Get a map of session counts by name for a given protocol
|
java.util.List<IHTTPStreamerSession> |
getHTTPStreamerSessions() |
Get the HTTPStreamerSessions associated with this application instance
|
java.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 name
|
IOPerformanceCounter |
getIOPerformanceCounter() |
Get the performance counter for applicationInstance
|
IOPerformanceCounter |
getIOPerformanceCounter(int counterIndex) |
Get the performance counter for applicationInstance for a specific technology (see IVHost.COUNTER_*)
|
long |
getLastTouchTime() |
Get the last time the instance was touched (milliseconds)
|
ILiveStreamDvrRecorderControl |
getLiveStreamDvrRecorderControl() |
Get the Live Stream DVR Recorder Controller.
|
ILiveStreamPacketizerControl |
getLiveStreamPacketizerControl() |
Get the Live Stream Packetizer Controller.
|
String |
getLiveStreamPacketizerList() |
Get the comma separated list of LiveStreamPacketizers names being used by this application (see conf/LiveStreamPacketizers.xml)
|
WMSProperties |
getLiveStreamPacketizerProperties() |
Get the property collection of LiveStreamPacketizer settings that are specific to this application instance
|
ILiveStreamTranscoderControl |
getLiveStreamTranscoderControl() |
Get the Live Stream Transcoder Contoller.
|
String |
getLiveStreamTranscoderList() |
Get comma separated list of transcoders to use for this application instance
|
WMSProperties |
getManagerProperties() |
Get Application's manager's properties collection
|
int |
getMaximumPendingReadBytes() |
Set maximum number of bytes a client connection can have waiting to be written before the connection is terminated.
|
int |
getMaximumPendingWriteBytes() |
Get maximum number a bytes a client connection can have waiting to be sent before the connection is terminated.
|
int |
getMaximumSetBufferTime() |
Get maximum number of milliseconds allowed for the NetStream.setBufferTime(secs) call.
|
int |
getMaxStorageDirDepth() |
Maximum folder depth allowed for the StreamStorageDir and SharedObjectStorageDir paths
|
java.util.List<com.wowza.wms.mediacache.model.MediaCacheSourceFilter> |
getMediaCacheFilters() |
Get the list of allowed MediaCache sources.
|
WMSProperties |
getMediaCasterProperties() |
Get the property collection of media caster settings that are specific to this application instance
|
int |
getMediacasterRTPRTSPRTPTransportMode() |
RTP MediaCaster RTSP/RTP transport mode.
|
MediaCasterStreamMap |
getMediaCasterStreams() |
Get the media caster streams attached to this application instance
|
IMediaCasterValidateMediaCaster |
getMediaCasterValidator() |
Get the MediaCaster validator interface for this application instance
|
IMediaListProvider |
getMediaListProvider() |
Get the current media list provider.
|
int |
getMediaReaderContentType(String mediaType) |
Get the content type of a media stream name prefix (see IMediaReader.CONTENTTYPE_*)
|
WMSProperties |
getMediaReaderProperties() |
Get the property collection of media reader settings that are specific to this application instance
|
WMSProperties |
getMediaWriterProperties() |
Get the property collection of media reader settings that are specific to this application instance
|
com.wowza.wms.module.ModuleFunctions |
getModFunctions() |
Get list of application modules
|
Object |
getModuleInstance(String name) |
Get the instance of the module class for this application instance.
|
com.wowza.wms.module.ModuleList |
getModuleList() |
Get the list of loaded modules.
|
String |
getName() |
Get applicationInstance name
|
int |
getPingTimeout() |
Get ping timeout (milliseconds)
|
int |
getPlayStreamCount(String streamName) |
Get the number of Flash players playing a given stream name
|
java.util.Map<String,Integer> |
getPlayStreamCountsByName() |
Get a map of stream names to number of Flash players playing the stream name
|
java.util.List<IMediaStream> |
getPlayStreamsByName(String name) |
Get a list of media streams that are listening for published stream.
|
WMSProperties |
getProperties() |
Get applicationInstance properties
|
boolean[] |
getProtocolUsage() |
Get the protocols in use by this application instance (see IApplicationInstance.PROTCOLUSAGE_*)
|
void |
getProtocolUsage(boolean[] protocolsInUse) |
Get the protocols in use by this application instance (see IApplicationInstance.PROTCOLUSAGE_*)
|
int |
getPublisherCount() |
Get the current number of server side publishers
|
java.util.List<Publisher> |
getPublishers() |
Get the set of server side publishers
|
java.util.List<String> |
getPublishStreamNames() |
Get the list of live stream names currently being published.
|
int |
getPushPublishSessionCount() |
Get the number of push publishing sessions.
|
java.util.List<IPushPublishSession> |
getPushPublishSessions() |
Get all active push publish sessions
|
java.util.List<IPushPublishSession> |
getPushPublishSessions(IMediaStream stream) |
Get the current push publish sessions for a given IMediaStream
|
String |
getRepeaterOriginUrl() |
Get the Repeater Origin URL used by the Live Stream Repeater
|
String |
getRepeaterQueryString() |
Get the Repeater query string that is used to connect to the origin.
|
String |
getRsoStorageDir() |
Get remote shared object storage path
|
String |
getRsoStoragePath() |
Get the resolved storage path to the shared objects
|
int |
getRTPAVSyncMethod() |
Get RTP audio/video sync method (RTPStream.AVSYNCMETHODS_SENDERREPORT, RTPStream.AVSYNCMETHODS_SYSTEMCLOCK, RTPStream.AVSYNCMETHODS_RTPTIMECODE)
|
int |
getRTPIdleFrequency() |
Set the default RTP idle frequency (milliseconds)
|
int |
getRTPMaxRTCPWaitTime() |
Get the maximum time to wait for RTCP packets (milliseconds)
|
String |
getRTPPlayAuthenticationMethod() |
Get the RTP play authentication method (as defined in conf/Authentication.xml)
|
WMSProperties |
getRTPProperties() |
Get the property collection of RTP settings that are specific to this application instance
|
String |
getRTPPublishAuthenticationMethod() |
Get the RTP publish authentication method (as defined in conf/Authentication.xml)
|
int |
getRTPSessionCount() |
Get the number of RTP sessions running under this application instance
|
int |
getRTPSessionCount(String streamName) |
Get the number of RTP player streams playing a given stream name
|
java.util.Map<String,Integer> |
getRTPSessionCountsByName() |
Get a map of stream names and session counts of RTP sessions
|
java.util.List<RTPSession> |
getRTPSessions() |
Get a list of RTP sessions running under this application instance
|
java.util.List<RTPSession> |
getRTPSessions(String streamName) |
Get a list of RTP sessions running under this application instance playing a given stream name
|
String |
getRTSPBindIpAddress() |
Set the IP address to which UDP ports will be bound for RTSP/RTP sessions
|
String |
getRTSPConnectionAddressType() |
Get the connection IP address type (IP4) to used in the Session Description Protocol data exchanged for an RTSP/RTP session
|
String |
getRTSPConnectionIpAddress() |
Get the connection IP address to used in the Session Description Protocol data exchanged for an RTSP/RTP session
|
int |
getRTSPMaximumPendingWriteBytes() |
Get the maximum number of pending write bytes for an RTSP session
|
String |
getRTSPOriginAddressType() |
Get the origin IP address type (IP4) to used in the Session Description Protocol data exchanged for an RTSP/RTP session
|
String |
getRTSPOriginIpAddress() |
Get the origin IP address to used in the Session Description Protocol data exchanged for an RTSP/RTP session
|
int |
getRTSPSessionTimeout() |
Get the RTSP session timeout (milliseconds)
|
String |
getSharedObjectReadAccess() |
Get the default shared object read access
|
ISharedObjects |
getSharedObjects() |
Get non-peristent shared object collection
|
ISharedObjects |
getSharedObjects(boolean isPersistent) |
Get either persistent or non-persistent shared object collection
|
String |
getSharedObjectWriteAccess() |
Get the default shared object write access
|
ISourceControlSession |
getSourceControlSession(String streamName) |
Get the source control session for the given stream name
|
int |
getSourceControlSessionCount() |
Get the number of source control sessions.
|
java.util.List<ISourceControlSession> |
getSourceControlSessions() |
Get all active source control sessions
|
String |
getStreamAudioSampleAccess() |
Get the default stream audio sample access
|
int |
getStreamCount() |
Get the total number of open streams attached to this application instance
|
IMediaStreamFileMapper |
getStreamFileMapper() |
Get the stream file mapper.
|
String |
getStreamKeyDir() |
Get the stream key path
|
String |
getStreamKeyPath() |
Get the resolved key path to the MediaStreams encryption keys
|
IMediaStreamNameAliasProvider |
getStreamNameAliasProvider() |
Get the stream name alias provider
|
WMSProperties |
getStreamProperties() |
Get the property collection of stream settings that are specific to this application instance
|
String |
getStreamReadAccess() |
Get the default stream read access
|
WMSProperties |
getStreamRecorderProperties() |
Get the property collection of StreamRecorder settings that are specific to this application instance
|
MediaStreamMap |
getStreams() |
Get all the mediaStream objects attached to this applicationInstance
|
String |
getStreamStorageDir() |
Get stream storage path
|
String |
getStreamStoragePath() |
Get the resolved storage path to the MediaStreams
|
String |
getStreamType() |
Get default streamType for application.
|
String |
getStreamVideoSampleAccess() |
Get the default stream video sample access
|
String |
getStreamWriteAccess() |
Get the default stream write access
|
WMSProperties |
getTimedTextProperties() |
Get the property collection of timed text settings that are specific to this application instance.
|
String |
getTimeRunning() |
Get time applcationInstance running
|
double |
getTimeRunningSeconds() |
Get time running in seconds
|
com.wowza.wms.stream.livetranscoder.LiveStreamTranscoderApplicationContext |
getTranscoderApplicationContext() |
Get live stream transcoder application context
|
WMSProperties |
getTranscoderProperties() |
Get the property collection of Transcoder settings that are specific to this application instance
|
int |
getValidationFrequency() |
Get time between validation pings (milliseconds)
|
IVHost |
getVHost() |
Get parent vHost
|
String |
getVODTimedTextProviderList() |
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.WebRTCApplicationContext |
getWebRTCApplicationContext() |
Get the WebRTC application level context
|
WMSProperties |
getWebRTCProperties() |
Get the property collection of WebRTC settings that are specific to this application instance
|
int |
getWebRTCSessionCount() |
Get count of WebRTC sessions
|
int |
getWebRTCSessionCount(String streamName) |
Get count of WebRTC sessions by stream name
|
java.util.Map<String,Integer> |
getWebRTCSessionCountsByName() |
Get a map of WebRTC sessions by stream name
|
java.util.List<RTPSession> |
getWebRTCSessions() |
Get list of WebRTC sessions
|
java.util.List<RTPSession> |
getWebRTCSessions(String streamName) |
Get list of WebRTC sessions by stream name
|
void |
incClientCountTotal() |
Increment the total number of connected client counter by one
|
boolean |
isAcceptConnection() |
Is auto accept connection on/off
|
boolean |
isDebugAppTimeout() |
If true appTimeout processing will be logged.
|
boolean |
isLive() |
Returns true if the application stream type of the application instance is live
|
boolean |
isMediaCacheSourceAllowed(String sourceName) |
Test to see if a MediaCache source name is allowed
|
boolean |
isRepeaterAppType() |
Is this a repeater application type
|
boolean |
isRTPIncomingDatagramPortValid(int port) |
Check a port number to be sure it is a valid RTP UDP port for this application instance
|
boolean |
isValidateFMLEConnections() |
Returns true if validating FMLE connection (default is false)
|
void |
notifyDvrStreamManagerCreate(IDvrStreamManager dvrStoreManager,
String streamName) |
Notify listeners that Dvr Application Store Manager has been created.
|
void |
notifyDvrStreamManagerDestroy(IDvrStreamManager dvrManager) |
Notify listeners that Dvr Application Store Manager has been destroyed.
|
void |
notifyDvrStreamManagerInit(IDvrStreamManager dvrStoreManager) |
Notify listeners that Dvr Application Store Manager has been initialized.
|
void |
notifyHTTPSessionCreate(IHTTPStreamerSession httpSession) |
Notify HTTP session create
|
void |
notifyHTTPSessionDestroy(IHTTPStreamerSession httpSession) |
Notify HTTP session destroy
|
void |
notifyLiveStreamDvrRecorderCreate(ILiveStreamDvrRecorder dvr,
String streamName) |
Notify Dvr Recorder Create
|
void |
notifyLiveStreamDvrRecorderDestroy(ILiveStreamDvrRecorder dvr) |
Notify DVR Recorder has been destroyed.
|
void |
notifyLiveStreamDvrRecorderInit(ILiveStreamDvrRecorder dvr,
String streamName) |
Notify DVR Recorder has been initialized.
|
void |
notifyLiveStreamPacketizerCreate(ILiveStreamPacketizer liveStreamPacketizer,
String streamName) |
Notify Live Stream Packetizer Create
|
void |
notifyLiveStreamPacketizerDestroy(ILiveStreamPacketizer liveStreamPacketizer) |
Notify Live Stream Packetizer Destory
|
void |
notifyLiveStreamPacketizerInit(ILiveStreamPacketizer liveStreamPacketizer,
String streamName) |
Notify Live Stream Packetizer Init
|
void |
notifyLiveStreamTranscoderCreate(ILiveStreamTranscoder liveStreamTranscoder,
IMediaStream stream) |
Notify live stream transcoder create
|
void |
notifyLiveStreamTranscoderDestroy(ILiveStreamTranscoder liveStreamTranscoder,
IMediaStream stream) |
Notify live stream transcoder destroy
|
void |
notifyLiveStreamTranscoderInit(ILiveStreamTranscoder liveStreamTranscoder,
IMediaStream stream) |
Notify live stream transcoder init
|
void |
notifyMediaReaderClose(IMediaReader mediaReader,
IMediaStream stream) |
Notify media reader notifyMediaReaderClose
|
void |
notifyMediaReaderCreate(IMediaReader mediaReader) |
Notify media reader notifyMediaReaderCreate
|
void |
notifyMediaReaderExtractMetaData(IMediaReader mediaReader,
IMediaStream stream) |
Notify media reader notifyMediaReaderExtractMetaData
|
void |
notifyMediaReaderInit(IMediaReader mediaReader,
IMediaStream stream) |
Notify media reader notifyMediaReaderInit
|
void |
notifyMediaReaderOpen(IMediaReader mediaReader,
IMediaStream stream) |
Notify media reader notifyMediaReaderOpen
|
void |
notifyMediaWriterOnFLVAddMetadata(IMediaStream stream,
java.util.Map<String,Object> extraMetadata) |
Notify all MediaWriter listeners of onFLVAddMetadata
|
void |
notifyMediaWriterOnWriteComplete(IMediaStream stream,
java.io.File file) |
Notify all MediaWriter listeners of onWriteComplete
|
void |
notifyPushPublishSessionCreate(String streamName,
IMediaStream stream,
IPushPublishSession pushPublishSession) |
Notify push publish session create
|
void |
notifyPushPublishSessionDestroy(String streamName,
IMediaStream stream,
IPushPublishSession pushPublishSession) |
Notify push publish session destroy
|
void |
notifyRTPSessionCreate(RTPSession rtpSession) |
Notify RTP session create
|
void |
notifyRTPSessionDestroy(RTPSession rtpSession) |
Notify RTP session destory
|
void |
notifySourceControlSessionCreate(String streamName,
ISourceControlSession sourceControlSession) |
Notify source control session create
|
void |
notifySourceControlSessionDestroy(String streamName,
ISourceControlSession sourceControlSession) |
Notify source control session destroy
|
void |
parseAllowDomains(String domainFilterStr) |
Parse a comma delimited list of domain names used to control access to this application.
|
String |
readAppInstConfig(String sName) |
Method to read xml config file..
|
void |
registerPlayRTPSession(RTPSession rtpSession) |
Register an RTP session as a play session
|
void |
removeClientListener(IClientNotify clientListener) |
Remove client listener.
|
void |
removeDvrRecorderListener(ILiveStreamDvrRecorderActionNotify listener) |
Remove a Dvr Recorder listener (see: ILiveStreamDvrRecorderActionNotify)
|
void |
removeDvrStreamManagerListener(IDvrStreamManagerActionNotify listener) |
Remove a Dvr Application Store Manager listener (see: IDvrStoreActionNotify)
|
void |
removeHTTPListener(IHTTPSessionNotify httpListener) |
Remove listner to be notified of HTTPSession create and destroy.
|
void |
removeHTTPStreamerSession(IHTTPStreamerSession httpStreamerSession) |
Remove a HTTPStreamerSession from this application instance
|
void |
removeLiveStreamPacketizerListener(ILiveStreamPacketizerActionNotify liveStreamPacketizerListener) |
Remove a Live Stream Packetizer listener (see: ILiveStreamPacketizerActionNotify)
|
void |
removeLiveStreamTranscoderListener(ILiveStreamTranscoderNotify liveStreamTranscoderListener) |
Remove a live stream transcoder listener
|
void |
removeMediaCasterListener(IMediaCasterNotify mediaCasterListener) |
Remove mediaCaster listener.
|
void |
removeMediaReaderListener(IMediaReaderActionNotify mediaReaderListener) |
Remove media reader listener.
|
void |
removeMediaStreamListener(IMediaStreamNotify mediaStreamListener) |
Remove mediaStream listener.
|
void |
removeMediaWriterListener(IMediaWriterActionNotify listener) |
remove MediaWriter listener class.
|
void |
removeModuleListener(IModuleNotify moduleListener) |
Remove module listener
|
void |
removePlayStreamByName(IMediaStream stream) |
Remove media stream from the list of streams that are listening for a published stream
|
void |
removePublisher(Publisher publisher) |
Remove a server side publisher from this application instance
|
void |
removePushPublishSession(IMediaStream stream,
IPushPublishSession pushPublishSession) |
Remove a push publish session
|
void |
removePushPublishSessionListener(IPushPublishSessionNotify pushPublishSessionListener) |
Remove a push publish session listener (see IPushPublishSessionNotify)
|
void |
removePushPublishSessions(IMediaStream stream) |
Remove all push publish sessions for a give stream
|
void |
removeRTPListener(IRTPSessionNotify rtpListener) |
Remove listner to be notified of RTPSession create and destroy.
|
void |
removeRTPSession(RTPSession rtpSession) |
Remove an RTP session from this application instance
|
void |
removeSharedObjectListener(ISharedObjectNotify sharedObjectListener,
boolean isPersistent) |
Remove sharedObject listener.
|
void |
removeSourceControlSession(String streamName) |
Remove the source control session for the given stream name from the application instance
|
void |
removeSourceControlSessionListener(ISourceControlSessionNotify sourceControlSessionListener) |
Remove the provided source control session listener from the list of source control session listeners (see ISourceControlSessionNotify)
|
boolean |
resetMediaCasterStream(String streamName) |
Reset a media caster stream
|
boolean |
resetMediaCasterStream(String streamName,
String streamExt) |
Reset a media caster stream
|
String |
resolvePlayAlias(String name) |
Resolve the play alias with this application's stream name alias provider
|
String |
resolvePlayAlias(String name,
IClient client) |
Resolve the play alias with this application's stream name alias provider
|
String |
resolvePlayAlias(String name,
IHTTPStreamerSession httpSession) |
Resolve the play alias with this application's stream name alias provider
|
String |
resolvePlayAlias(String name,
RTPSession rtpSession) |
Resolve the play alias with this application's stream name alias provider
|
String |
resolvePlayAlias(String name,
ILiveStreamPacketizer liveStreamPacketizer) |
Resolve the play alias with this application's stream name alias provider
|
String |
resolvePlayAlias(String name,
com.wowza.wms.webrtc.model.WebRTCSession webrtcSession) |
Resolve the play alias with this application's stream name alias provider
|
String |
resolvePlayAlias(String name,
IWebSocketSession webSocket) |
Resolve the play alias with this application's stream name alias provider
|
String |
resolveStreamAlias(String name) |
Resolve the stream name alias with this application's stream name alias provider
|
String |
resolveStreamAlias(String name,
IMediaCaster mediaCaster) |
Resolve the stream name alias with this application's stream name alias provider
|
String |
resolveStreamAlias(String name,
com.wowza.wms.webrtc.model.WebRTCSession webrtcSession) |
Resolve the stream name alias with this application's stream name alias provider
|
String |
resolveStreamAlias(String name,
IWebSocketSession webSocket) |
Resolve the stream name alias with this application's stream name alias provider
|
void |
setAcceptConnection(boolean acceptConnection) |
Set is auto accept connection
|
void |
setAllowDomains(String[] domainFilter) |
Set the list of domain names used to control access to this application.
|
void |
setApplicationInstanceTouchTimeout(int applicationInstanceTouchTimeout) |
Set the application instance touch timeout (milliseconds).
|
void |
setApplicationTimeout(int applicationTimeout) |
Set application timeout (milliseconds)
|
void |
setClientIdleFrequency(int clientIdleFrequency) |
Set default client idle frequency (milliseconds)
|
void |
setDebugAppTimeout(boolean debugAppTimeout) |
If true appTimeout processing will be logged.
|
void |
setDvrRecorderList(String recorderList) |
Set the comma separated list of Dvr Recorder names being used by this application (see conf/Dvr.xml)
|
void |
setHTTPStreamerList(String httpStreamerList) |
Set the comma separated list of HTTPStreamer names being used by this application (see conf/HTTPStreamers.xml)
|
void |
setLiveStreamDvrRecorderControl(ILiveStreamDvrRecorderControl controller) |
Set the Live Stream DVR Controller.
|
void |
setLiveStreamPacketizerControl(ILiveStreamPacketizerControl liveStreamPacketizerControl) |
Set the Live Stream Packetizer Contoller.
|
void |
setLiveStreamPacketizerList(String liveStreamPacketizerList) |
Set the comma separated list of LiveStreamPacketizers names being used by this application (see conf/LiveStreamPacketizers.xml)
|
void |
setLiveStreamTranscoderControl(ILiveStreamTranscoderControl liveStreamTranscoderControl) |
Set the Live Stream Transcoder Contoller.
|
void |
setLiveStreamTranscoderList(String liveStreamTranscoderList) |
Set comma separated list of transcoders to use for this application instance
|
void |
setMaximumPendingReadBytes(int maximumPendingReaderBytes) |
Get maximum number of bytes a client connection can have waiting to be written before the connection is terminated.
|
void |
setMaximumPendingWriteBytes(int maximumPendingWriteBytes) |
Set maximum number a bytes a client connection can have waiting to be sent before the connection is terminated.
|
void |
setMaximumSetBufferTime(int maximumSetBufferTime) |
Set maximum number of milliseconds allowed for the NetStream.setBufferTime(secs) call.
|
void |
setMaxStorageDirDepth(int maxStorageDirDepth) |
Maximum folder depth allowed for the StreamStorageDir and SharedObjectStorageDir paths
|
void |
setMediacasterRTPRTSPRTPTransportMode(int mediacasterRTPRTSPRTPTransportMode) |
RTP MediaCaster RTSP/RTP transport mode.
|
void |
setMediaCasterValidator(IMediaCasterValidateMediaCaster mediaCasterValidator) |
Set the MediaCaster validator interface for this application instance
|
void |
setMediaListProvider(IMediaListProvider mediaListProvider) |
Set the current media list provider.
|
void |
setName(String name) |
Set applicationInstance name
|
void |
setPingTimeout(int pingTimeout) |
Set ping timeout (millseconds)
|
void |
setRepeaterAppType(boolean isRepeaterAppType) |
Set is repeater application type
|
void |
setRepeaterOriginUrl(String repeaterOriginUrl) |
Set the Repeater Origin URL used by the Live Stream Repeater
|
void |
setRepeaterQueryString(String repeaterQueryString) |
Set the Repeater query string that is used to connect to the origin.
|
void |
setRsoStorageDir(String rsoStorageDir) |
Set remote shared object storage path
|
void |
setRTPAVSyncMethod(int rtpAVSyncMethod) |
Set RTP audio/video sync method (RTPStream.AVSYNCMETHODS_SENDERREPORT, RTPStream.AVSYNCMETHODS_SYSTEMCLOCK, RTPStream.AVSYNCMETHODS_RTPTIMECODE)
|
void |
setRTPIdleFrequency(int rtspIdleFrequency) |
Get the default RTP idle frequency (milliseconds)
|
void |
setRTPMaxRTCPWaitTime(int rtpMaxRTCPWaitTime) |
Set the maximum time to wait for RTCP packets (milliseconds)
|
void |
setRTPPlayAuthenticationMethod(String rtpPlayAuthenticationMethod) |
Set the RTP play authentication method (as defined in conf/Authentication.xml)
|
void |
setRTPPublishAuthenticationMethod(String rtpPublishAuthenticationMethod) |
Set the RTP publish authentication method (as defined in conf/Authentication.xml)
|
void |
setRTSPBindIpAddress(String rtspBindIpAddress) |
Get the IP address to which UDP ports will be bound for RTSP/RTP sessions
|
void |
setRTSPConnectionAddressType(String rtspConnectionAddressType) |
Set the connection IP address type (IP4) to used in the Session Description Protocol data exchanged for an RTSP/RTP session
|
void |
setRTSPConnectionIpAddress(String rtspConnectionIpAddress) |
Set the connection IP address to used in the Session Description Protocol data exchanged for an RTSP/RTP session
|
void |
setRTSPMaximumPendingWriteBytes(int rtspMaximumPendingWriteBytes) |
Set the maximum number of pending write bytes for an RTSP session
|
void |
setRTSPOriginAddressType(String rtspOriginAddressType) |
Set the origin IP address type (IP4) to used in the Session Description Protocol data exchanged for an RTSP/RTP session
|
void |
setRTSPOriginIpAddress(String rtspOriginIpAddress) |
Set the origin IP address to used in the Session Description Protocol data exchanged for an RTSP/RTP session
|
void |
setRTSPSessionTimeout(int rtspSessionTimeout) |
Set the RTSP session timeout (milliseconds)
|
void |
setSharedObjectReadAccess(String sharedObjectReadAccess) |
Set the default shared object read access
|
void |
setSharedObjectWriteAccess(String sharedObjectWriteAccess) |
Set the default shared object write access
|
void |
setStreamAudioSampleAccess(String streamAudioSampleAccess) |
Set the default stream audio sample access
|
void |
setStreamFileMapper(IMediaStreamFileMapper streamFileMapper) |
Set the stream file mapper.
|
void |
setStreamKeyDir(String keyStorageDir) |
Set the stream key path
|
void |
setStreamNameAliasProvider(IMediaStreamNameAliasProvider streamNameAliasProvider) |
Set the stream name alias provider
|
void |
setStreamReadAccess(String streamReadAccess) |
Set the default stream read access
|
void |
setStreamStorageDir(String streamStorageDir) |
Set stream storage path
|
void |
setStreamType(String streamType) |
Set default stream type for application.
|
void |
setStreamVideoSampleAccess(String streamVideoSampleAccess) |
Set the default stream video sample access
|
void |
setStreamWriteAccess(String streamWriteAccess) |
Set the default stream write access
|
void |
setValidateFMLEConnections(boolean validateFMLEConnections) |
Returns true if validating FMLE connection (default is false)
|
void |
setValidationFrequency(int validationFrequency) |
Set time between validation pings (milliseconds)
|
void |
setVODTimedTextProviderList(String timedTextProviderList) |
Set the comma separated list of VODTimedTextProvider names being used by this application (see conf/TimedTextProviders.xml)
|
void |
shutdown(boolean isServerShutdown,
boolean isAppShutdown) |
shutdown applicationInstance
|
void |
shutdownClient(IClient client) |
shutdown a client connection immediately
|
boolean |
startMediaCasterStream(String streamName,
String mediaCasterType) |
Start a media caster stream
|
boolean |
startMediaCasterStream(String streamName,
String streamExt,
String mediaCasterType) |
Start a media caster stream
|
void |
stopMediaCasterStream(String streamName) |
Stop a media caster stream
|
void |
touch() |
Touch the application instance so that it stays loaded for at least applicationInstanceTouchTimeout
|
boolean |
writeAppInstConfig(String sName,
String data) |
Method to write xml config file..
|
static final String DEFAULT_APPINSTANCE_NAME
static final int PROTCOLUSAGE_CMAF_CUPERTINO
static final int PROTCOLUSAGE_CMAF_LL_CUPERTINO
static final int PROTCOLUSAGE_CMAF_LL_MPEGDASH
static final int PROTCOLUSAGE_CMAF_MPEGDASH
static final int PROTCOLUSAGE_CUPERTINO
static final int PROTCOLUSAGE_MC_CUPERTINO
static final int PROTCOLUSAGE_MC_LIVEREPEATER
static final int PROTCOLUSAGE_MC_MPEGTSTCP
static final int PROTCOLUSAGE_MC_RTP
static final int PROTCOLUSAGE_MC_SHOUTCAST
static final int PROTCOLUSAGE_MC_SRTRECEIVER
static final int PROTCOLUSAGE_MEDIACACHE
static final int PROTCOLUSAGE_MPEGDASH
static final int PROTCOLUSAGE_ORIGINCUPERTINO
static final int PROTCOLUSAGE_ORIGINMPEGDASH
static final int PROTCOLUSAGE_ORIGINSANJOSE
static final int PROTCOLUSAGE_ORIGINSMOOTH
static final int PROTCOLUSAGE_PUSHPUBLISHING
static final int PROTCOLUSAGE_RTMP
static final int PROTCOLUSAGE_RTMP_IN
static final int PROTCOLUSAGE_RTMP_OUT
static final int PROTCOLUSAGE_RTMPE
static final int PROTCOLUSAGE_RTMPE_IN
static final int PROTCOLUSAGE_RTMPE_OUT
static final int PROTCOLUSAGE_RTMPS
static final int PROTCOLUSAGE_RTMPS_IN
static final int PROTCOLUSAGE_RTMPS_OUT
static final int PROTCOLUSAGE_RTMPT
static final int PROTCOLUSAGE_RTMPT_IN
static final int PROTCOLUSAGE_RTMPT_OUT
static final int PROTCOLUSAGE_RTMPTE
static final int PROTCOLUSAGE_RTMPTE_IN
static final int PROTCOLUSAGE_RTMPTE_OUT
static final int PROTCOLUSAGE_RTMPTS
static final int PROTCOLUSAGE_RTMPTS_IN
static final int PROTCOLUSAGE_RTMPTS_OUT
static final int PROTCOLUSAGE_RTP
static final int PROTCOLUSAGE_RTP_IN
static final int PROTCOLUSAGE_RTP_OUT
static final int PROTCOLUSAGE_RTSP_IN
static final int PROTCOLUSAGE_RTSP_OUT
static final int PROTCOLUSAGE_RTSPPULL_IN
static final int PROTCOLUSAGE_RTSPPULL_OUT
static final int PROTCOLUSAGE_SANJOSE
static final int PROTCOLUSAGE_SMOOTH
static final int PROTCOLUSAGE_TOTAL
static final int PROTCOLUSAGE_WEBM
static final int PROTCOLUSAGE_WEBRTC_IN
static final int PROTCOLUSAGE_WEBRTC_OUT
static final int PROTCOLUSAGE_WOWZ
static final int PROTCOLUSAGE_WOWZ_IN
static final int PROTCOLUSAGE_WOWZ_OUT
static final int PROTCOLUSAGE_WOWZE
static final int PROTCOLUSAGE_WOWZE_IN
static final int PROTCOLUSAGE_WOWZE_OUT
static final int PROTCOLUSAGE_WOWZS
static final int PROTCOLUSAGE_WOWZS_IN
static final int PROTCOLUSAGE_WOWZS_OUT
void addClientListener(IClientNotify clientListener)
IApplicationInstance 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());
clientListener - client listenervoid addDvrRecorderListener(ILiveStreamDvrRecorderActionNotify listener)
listener - Dvr Recorder listenervoid addDvrStreamManagerListener(IDvrStreamManagerActionNotify listener)
listener - Dvr Application Store Manager listenervoid addHTTPListener(IHTTPSessionNotify httpListener)
httpListener - http listenervoid addHTTPStreamerSession(IHTTPStreamerSession httpStreamerSession)
httpStreamerSession - HTTPStreamerSessionvoid addLiveStreamPacketizerListener(ILiveStreamPacketizerActionNotify liveStreamPacketizerListener)
liveStreamPacketizerListener - Live Stream Packetizer listenervoid addLiveStreamTranscoderListener(ILiveStreamTranscoderNotify liveStreamTranscoderListener)
liveStreamTranscoderListener - live stream transcoder listenervoid addMediaCasterListener(IMediaCasterNotify mediaCasterListener)
mediaCasterListener - void addMediaCasterListener(IMediaCasterNotify2 mediaCasterListener)
mediaCasterListener - void addMediaReaderListener(IMediaReaderActionNotify mediaReaderListener)
mediaReaderListener - media reader listenervoid addMediaStreamListener(IMediaStreamNotify mediaStreamListener)
IApplicationInstance 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());
mediaStreamListener - mediaStream listenervoid addMediaWriterListener(IMediaWriterActionNotify listener)
listener - MediaWriter listener classvoid addModuleListener(IModuleNotify moduleListener)
moduleListener - module listenervoid addPlayStreamByName(IMediaStream stream, String name)
stream - media streamname - stream namevoid addPublisher(Publisher publisher)
publisher - server side publishervoid addPushPublishSession(IMediaStream stream, IPushPublishSession pushPublishSession)
stream - streampushPublishSession - push publish sessionvoid addPushPublishSessionListener(IPushPublishSessionNotify pushPublishSessionListener)
pushPublishSessionListener - push publish sessionvoid addRTPIncomingDatagramPortAll()
void addRTPIncomingDatagramPortRange(int startPort,
int endPort)
startPort - starting port numberendPort - end port numbervoid addRTPListener(IRTPSessionNotify rtpListener)
rtpListener - RTP listenervoid addRTPSession(RTPSession rtpSession)
rtpSession - RTP session to addvoid addSharedObjectListener(ISharedObjectNotify sharedObjectListener, boolean isPersistent)
IApplicationInstance 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);
sharedObjectListener - sharedObject listenerisPersistent - void addSourceControlSession(String streamName,
ISourceControlSession sourceControlSession)
streamName - the stream namesourceControlSession - the source control sessionvoid addSourceControlSessionListener(ISourceControlSessionNotify sourceControlSessionListener)
sourceControlSessionListener - source control session listenervoid broadcastMsg(String handlerName,
Object... params)
IApplicationInstance appInstance;
appInstance.broadcastMsg("onNotify", "Hello World", 1.2345, false, new Date());
handlerName - handler nameparams - variable list of arguments (Java primitive and Strings will be wrapped in AMFData objects)void broadcastMsg(java.util.List<IClient> clientList, String handlerName)
clientList - list of clienthandlerName - handler namevoid broadcastMsg(java.util.List<IClient> clientList, String handlerName, Object... params)
clientList - list of clienthandlerName - handler nameparams - parametersboolean containsDvrRecorder(String dvrRecorder)
dvrRecorder - DVR recorder nameboolean containsHTTPStreamer(String httpStreamer)
httpStreamer - HTTP Streamer nameboolean containsLiveStreamPacketizer(String liveStreamPacketizer)
liveStreamPacketizer - live stream packetizer nameboolean containsLiveStreamTranscoder(String liveStreamTranscoder)
liveStreamTranscoder - transcoder nameString decodeStorageDir(String storageDir)
String[] getAllowDomains()
IApplication getApplication()
int getApplicationInstanceTouchTimeout()
int getApplicationTimeout()
IClient getClientById(int index)
index - client Idint getClientCount()
int getClientCountTotal()
int getClientIdleFrequency()
java.util.List<IClient> getClients()
edu.emory.mathcs.backport.java.util.concurrent.locks.WMSReadWriteLock getClientsLockObj()
ConnectionCounter getConnectionCounter()
com.wowza.wms.client.ConnectionCounterSimple getConnectionCounter(int counterIndex)
counterIndex - counter indexString getContextStr()
String getDateStarted()
com.wowza.wms.dvr.DvrApplicationContext getDvrApplicationContext()
com.wowza.wms.dvr.DvrApplicationConverterContext getDvrConverter()
WMSProperties getDvrProperties()
String getDvrRecorderList()
IHTTPStreamerApplicationContext getHTTPStreamerApplicationContext(String httpStreamName, boolean doCreate)
httpStreamName - HTTPStreamer adapter namedoCreate - create if it does not existString getHTTPStreamerList()
WMSProperties getHTTPStreamerProperties()
int getHTTPStreamerSessionCount()
int getHTTPStreamerSessionCount(int protocol)
protocol - streaming protocol (IHTTPStreamerSession.SESSIONPROTOCOL_*)int getHTTPStreamerSessionCount(int protocol,
String streamName)
protocol - streaming protocol (IHTTPStreamerSession.SESSIONPROTOCOL_*)streamName - stream nameint getHTTPStreamerSessionCount(String streamName)
streamName - stream namejava.util.Map<String,Integer> getHTTPStreamerSessionCountsByName(int protocol)
protocol - streaming protocol (IHTTPStreamerSession.SESSIONPROTOCOL_*)java.util.List<IHTTPStreamerSession> getHTTPStreamerSessions()
java.util.List<IHTTPStreamerSession> getHTTPStreamerSessions(int protocol)
protocol - streaming protocol (IHTTPStreamerSession.SESSIONPROTOCOL_*)java.util.List<IHTTPStreamerSession> getHTTPStreamerSessions(int protocol, String streamName)
protocol - streaming protocol (IHTTPStreamerSession.SESSIONPROTOCOL_*)streamName - stream namejava.util.List<IHTTPStreamerSession> getHTTPStreamerSessions(String streamName)
streamName - stream nameIOPerformanceCounter getIOPerformanceCounter()
IOPerformanceCounter getIOPerformanceCounter(int counterIndex)
counterIndex - counter index (see IVHost.COUNTER_*)long getLastTouchTime()
ILiveStreamDvrRecorderControl getLiveStreamDvrRecorderControl()
ILiveStreamPacketizerControl getLiveStreamPacketizerControl()
String getLiveStreamPacketizerList()
WMSProperties getLiveStreamPacketizerProperties()
ILiveStreamTranscoderControl getLiveStreamTranscoderControl()
String getLiveStreamTranscoderList()
WMSProperties getManagerProperties()
int getMaximumPendingReadBytes()
int getMaximumPendingWriteBytes()
int getMaximumSetBufferTime()
int getMaxStorageDirDepth()
java.util.List<com.wowza.wms.mediacache.model.MediaCacheSourceFilter> getMediaCacheFilters()
WMSProperties getMediaCasterProperties()
int getMediacasterRTPRTSPRTPTransportMode()
MediaCasterStreamMap getMediaCasterStreams()
IMediaCasterValidateMediaCaster getMediaCasterValidator()
IMediaListProvider getMediaListProvider()
int getMediaReaderContentType(String mediaType)
mediaType - mediaType (such as flv or smil)WMSProperties getMediaReaderProperties()
WMSProperties getMediaWriterProperties()
com.wowza.wms.module.ModuleFunctions getModFunctions()
Object getModuleInstance(String name)
name - module name as defined in Application.xmlcom.wowza.wms.module.ModuleList getModuleList()
String getName()
int getPingTimeout()
int getPlayStreamCount(String streamName)
streamName - stream namejava.util.Map<String,Integer> getPlayStreamCountsByName()
java.util.List<IMediaStream> getPlayStreamsByName(String name)
name - stream nameWMSProperties getProperties()
boolean[] getProtocolUsage()
void getProtocolUsage(boolean[] protocolsInUse)
int getPublisherCount()
java.util.List<Publisher> getPublishers()
java.util.List<String> getPublishStreamNames()
int getPushPublishSessionCount()
java.util.List<IPushPublishSession> getPushPublishSessions()
java.util.List<IPushPublishSession> getPushPublishSessions(IMediaStream stream)
stream - streamString getRepeaterOriginUrl()
String getRepeaterQueryString()
String getRsoStorageDir()
String getRsoStoragePath()
int getRTPAVSyncMethod()
int getRTPIdleFrequency()
int getRTPMaxRTCPWaitTime()
String getRTPPlayAuthenticationMethod()
WMSProperties getRTPProperties()
String getRTPPublishAuthenticationMethod()
int getRTPSessionCount()
int getRTPSessionCount(String streamName)
streamName - strean namejava.util.Map<String,Integer> getRTPSessionCountsByName()
java.util.List<RTPSession> getRTPSessions()
java.util.List<RTPSession> getRTPSessions(String streamName)
streamName - stream nameString getRTSPBindIpAddress()
String getRTSPConnectionAddressType()
String getRTSPConnectionIpAddress()
int getRTSPMaximumPendingWriteBytes()
String getRTSPOriginAddressType()
String getRTSPOriginIpAddress()
int getRTSPSessionTimeout()
String getSharedObjectReadAccess()
IClient.getSharedObjectReadAccess()ISharedObjects getSharedObjects()
ISharedObjects getSharedObjects(boolean isPersistent)
isPersistent - String getSharedObjectWriteAccess()
IClient.getSharedObjectWriteAccess()ISourceControlSession getSourceControlSession(String streamName)
streamName - the stream nameint getSourceControlSessionCount()
java.util.List<ISourceControlSession> getSourceControlSessions()
String getStreamAudioSampleAccess()
IClient.getStreamAudioSampleAccess()int getStreamCount()
IMediaStreamFileMapper getStreamFileMapper()
String getStreamKeyDir()
String getStreamKeyPath()
IMediaStreamNameAliasProvider getStreamNameAliasProvider()
WMSProperties getStreamProperties()
String getStreamReadAccess()
IClient.getStreamReadAccess()WMSProperties getStreamRecorderProperties()
MediaStreamMap getStreams()
IClient client;
int streamId;
MediaStreamMap streams = client.getAppInstance().getStreams();
IMediaStream stream = streams.getStream((IClient)null, streamId);
String getStreamStorageDir()
String getStreamStoragePath()
String getStreamType()
String getStreamVideoSampleAccess()
IClient.getStreamVideoSampleAccess()String getStreamWriteAccess()
IClient.getStreamWriteAccess()WMSProperties getTimedTextProperties()
String getTimeRunning()
double getTimeRunningSeconds()
com.wowza.wms.stream.livetranscoder.LiveStreamTranscoderApplicationContext getTranscoderApplicationContext()
WMSProperties getTranscoderProperties()
int getValidationFrequency()
IVHost getVHost()
String getVODTimedTextProviderList()
java.util.List<String> getVODTimedTextProviderSet()
com.wowza.wms.webrtc.model.WebRTCApplicationContext getWebRTCApplicationContext()
WMSProperties getWebRTCProperties()
int getWebRTCSessionCount()
int getWebRTCSessionCount(String streamName)
streamName - stream namejava.util.Map<String,Integer> getWebRTCSessionCountsByName()
java.util.List<RTPSession> getWebRTCSessions()
java.util.List<RTPSession> getWebRTCSessions(String streamName)
streamName - stream namevoid incClientCountTotal()
boolean isAcceptConnection()
boolean isDebugAppTimeout()
boolean isLive()
boolean isMediaCacheSourceAllowed(String sourceName)
sourceName - MediaCache source nameboolean isRepeaterAppType()
boolean isRTPIncomingDatagramPortValid(int port)
port - port numberboolean isValidateFMLEConnections()
void notifyDvrStreamManagerCreate(IDvrStreamManager dvrStoreManager, String streamName)
dvrStoreManager - Dvr Application Store ManagerstreamName - void notifyDvrStreamManagerDestroy(IDvrStreamManager dvrManager)
dvrManager - Dvr Application Store Managervoid notifyDvrStreamManagerInit(IDvrStreamManager dvrStoreManager)
dvrStoreManager - Dvr Application Store Managervoid notifyHTTPSessionCreate(IHTTPStreamerSession httpSession)
httpSession - HTTP sessionvoid notifyHTTPSessionDestroy(IHTTPStreamerSession httpSession)
httpSession - HTTP sessionvoid notifyLiveStreamDvrRecorderCreate(ILiveStreamDvrRecorder dvr, String streamName)
dvr - DVR Recorder listenerstreamName - stream Namevoid notifyLiveStreamDvrRecorderDestroy(ILiveStreamDvrRecorder dvr)
dvr - DVR Recorder listenervoid notifyLiveStreamDvrRecorderInit(ILiveStreamDvrRecorder dvr, String streamName)
dvr - DVR Recorder listener
* @param streamName stream Namevoid notifyLiveStreamPacketizerCreate(ILiveStreamPacketizer liveStreamPacketizer, String streamName)
liveStreamPacketizer - Live Stream Packetizer listenervoid notifyLiveStreamPacketizerDestroy(ILiveStreamPacketizer liveStreamPacketizer)
liveStreamPacketizer - Live Stream Packetizer listenervoid notifyLiveStreamPacketizerInit(ILiveStreamPacketizer liveStreamPacketizer, String streamName)
liveStreamPacketizer - Live Stream Packetizer listenervoid notifyLiveStreamTranscoderCreate(ILiveStreamTranscoder liveStreamTranscoder, IMediaStream stream)
liveStreamTranscoder - live stream transcoderstream - streamvoid notifyLiveStreamTranscoderDestroy(ILiveStreamTranscoder liveStreamTranscoder, IMediaStream stream)
liveStreamTranscoder - live stream transcoderstream - streamvoid notifyLiveStreamTranscoderInit(ILiveStreamTranscoder liveStreamTranscoder, IMediaStream stream)
liveStreamTranscoder - live stream transcoderstream - streamvoid notifyMediaReaderClose(IMediaReader mediaReader, IMediaStream stream)
mediaReader - media readerstream - media streamvoid notifyMediaReaderCreate(IMediaReader mediaReader)
mediaReader - media readervoid notifyMediaReaderExtractMetaData(IMediaReader mediaReader, IMediaStream stream)
mediaReader - media readerstream - media streamvoid notifyMediaReaderInit(IMediaReader mediaReader, IMediaStream stream)
mediaReader - media readerstream - media streamvoid notifyMediaReaderOpen(IMediaReader mediaReader, IMediaStream stream)
mediaReader - media readerstream - media streamvoid notifyMediaWriterOnFLVAddMetadata(IMediaStream stream, java.util.Map<String,Object> extraMetadata)
stream - media streamextraMetadata - meta to add to the filevoid notifyMediaWriterOnWriteComplete(IMediaStream stream, java.io.File file)
stream - media streamfile - file that was writtenvoid notifyPushPublishSessionCreate(String streamName,
IMediaStream stream,
IPushPublishSession pushPublishSession)
streamName - stream namestream - streampushPublishSession - push publish sessionvoid notifyPushPublishSessionDestroy(String streamName,
IMediaStream stream,
IPushPublishSession pushPublishSession)
streamName - stream namestream - streampushPublishSession - push publish sessionvoid notifyRTPSessionCreate(RTPSession rtpSession)
rtpSession - rtp sessionvoid notifyRTPSessionDestroy(RTPSession rtpSession)
rtpSession - rtp sessionvoid notifySourceControlSessionCreate(String streamName,
ISourceControlSession sourceControlSession)
streamName - stream namesourceControlSession - the source control session that was just createdvoid notifySourceControlSessionDestroy(String streamName,
ISourceControlSession sourceControlSession)
streamName - stream namesourceControlSession - the source control session that is being destroyedvoid parseAllowDomains(String domainFilterStr)
domainFilterStr - comma delimited list of domain namesString readAppInstConfig(String sName)
void registerPlayRTPSession(RTPSession rtpSession)
rtpSession - RTP session to registervoid removeClientListener(IClientNotify clientListener)
clientListener - client listenervoid removeDvrRecorderListener(ILiveStreamDvrRecorderActionNotify listener)
listener - Dvr Recorder listenervoid removeDvrStreamManagerListener(IDvrStreamManagerActionNotify listener)
listener - Dvr Application Store Manager listenervoid removeHTTPListener(IHTTPSessionNotify httpListener)
httpListener - http listenervoid removeHTTPStreamerSession(IHTTPStreamerSession httpStreamerSession)
httpStreamerSession - HTTPStreamerSessionvoid removeLiveStreamPacketizerListener(ILiveStreamPacketizerActionNotify liveStreamPacketizerListener)
liveStreamPacketizerListener - Live Stream Packetizer listenervoid removeLiveStreamTranscoderListener(ILiveStreamTranscoderNotify liveStreamTranscoderListener)
liveStreamTranscoderListener - live stream transcoder listenervoid removeMediaCasterListener(IMediaCasterNotify mediaCasterListener)
mediaCasterListener - void removeMediaReaderListener(IMediaReaderActionNotify mediaReaderListener)
mediaReaderListener - media reader listenervoid removeMediaStreamListener(IMediaStreamNotify mediaStreamListener)
mediaStreamListener - mediaStream listenervoid removeMediaWriterListener(IMediaWriterActionNotify listener)
listener - MediaWriter listener classvoid removeModuleListener(IModuleNotify moduleListener)
moduleListener - module listenervoid removePlayStreamByName(IMediaStream stream)
stream - media streamvoid removePublisher(Publisher publisher)
publisher - server side publishervoid removePushPublishSession(IMediaStream stream, IPushPublishSession pushPublishSession)
stream - streampushPublishSession - push publish sessionvoid removePushPublishSessionListener(IPushPublishSessionNotify pushPublishSessionListener)
pushPublishSessionListener - push publish sessionvoid removePushPublishSessions(IMediaStream stream)
stream - streamvoid removeRTPListener(IRTPSessionNotify rtpListener)
rtpListener - RTP listenervoid removeRTPSession(RTPSession rtpSession)
rtpSession - RTP session to removevoid removeSharedObjectListener(ISharedObjectNotify sharedObjectListener, boolean isPersistent)
sharedObjectListener - sharedObject listenerisPersistent - void removeSourceControlSession(String streamName)
streamName - the stream namevoid removeSourceControlSessionListener(ISourceControlSessionNotify sourceControlSessionListener)
sourceControlSessionListener - source control session listenerboolean resetMediaCasterStream(String streamName)
streamName - stream nameboolean resetMediaCasterStream(String streamName,
String streamExt)
streamName - stream namestreamExt - stream extensionString resolvePlayAlias(String name)
String resolvePlayAlias(String name,
IClient client)
String resolvePlayAlias(String name,
IHTTPStreamerSession httpSession)
String resolvePlayAlias(String name,
RTPSession rtpSession)
String resolvePlayAlias(String name,
ILiveStreamPacketizer liveStreamPacketizer)
String resolvePlayAlias(String name,
com.wowza.wms.webrtc.model.WebRTCSession webrtcSession)
String resolvePlayAlias(String name,
IWebSocketSession webSocket)
String resolveStreamAlias(String name)
String resolveStreamAlias(String name,
IMediaCaster mediaCaster)
String resolveStreamAlias(String name,
com.wowza.wms.webrtc.model.WebRTCSession webrtcSession)
String resolveStreamAlias(String name,
IWebSocketSession webSocket)
void setAcceptConnection(boolean acceptConnection)
acceptConnection - auto accept connectionvoid setAllowDomains(String[] domainFilter)
domainFilter - list of domain names used to control access to this applicationvoid setApplicationInstanceTouchTimeout(int applicationInstanceTouchTimeout)
applicationInstanceTouchTimeout - application instance touch timeout (milliseconds)void setApplicationTimeout(int applicationTimeout)
applicationTimeout - application timeout (milliseconds)void setClientIdleFrequency(int clientIdleFrequency)
clientIdleFrequency - default client idle frequency (milliseconds)void setDebugAppTimeout(boolean debugAppTimeout)
debugAppTimeout - true appTimeout processing will be loggedvoid setDvrRecorderList(String recorderList)
recorderList - comma separated list of Dvr Recorder namesvoid setHTTPStreamerList(String httpStreamerList)
httpStreamerList - comma separated list of HTTPStreamer namesvoid setLiveStreamDvrRecorderControl(ILiveStreamDvrRecorderControl controller)
controller - Live Stream DVR Controllervoid setLiveStreamPacketizerControl(ILiveStreamPacketizerControl liveStreamPacketizerControl)
liveStreamPacketizerControl - Live Stream Packetizer Contollervoid setLiveStreamPacketizerList(String liveStreamPacketizerList)
liveStreamPacketizerList - comma separated list of LiveStreamPacketizers namesvoid setLiveStreamTranscoderControl(ILiveStreamTranscoderControl liveStreamTranscoderControl)
liveStreamTranscoderControl - Live Stream Transcoder Contollervoid setLiveStreamTranscoderList(String liveStreamTranscoderList)
liveStreamTranscoderList - comma separated list of transcodersvoid setMaximumPendingReadBytes(int maximumPendingReaderBytes)
maximumPendingReaderBytes - maximum number of bytes a client connection can have waiting to be written before the connection is terminatedvoid setMaximumPendingWriteBytes(int maximumPendingWriteBytes)
maximumPendingWriteBytes - maximum number a bytes a client connection can have waiting to be sent before the connection is terminatedvoid setMaximumSetBufferTime(int maximumSetBufferTime)
maximumSetBufferTime - maximum number of milliseconds allowed for the NetStream.setBufferTime(secs) callvoid setMaxStorageDirDepth(int maxStorageDirDepth)
maxStorageDirDepth - folder depthvoid setMediacasterRTPRTSPRTPTransportMode(int mediacasterRTPRTSPRTPTransportMode)
mediacasterRTPRTSPRTPTransportMode - RTP MediaCaster RTSP/RTP transport modevoid setMediaCasterValidator(IMediaCasterValidateMediaCaster mediaCasterValidator)
mediaCasterValidator - MediaCaster validator interfacevoid setMediaListProvider(IMediaListProvider mediaListProvider)
mediaListProvider - media list providervoid setName(String name)
name - applicationInstance namevoid setPingTimeout(int pingTimeout)
pingTimeout - ping timeout (millseconds)void setRepeaterAppType(boolean isRepeaterAppType)
isRepeaterAppType - void setRepeaterOriginUrl(String repeaterOriginUrl)
repeaterOriginUrl - URL used by the Live Stream Repeatervoid setRepeaterQueryString(String repeaterQueryString)
repeaterQueryString - Repeater query stringvoid setRsoStorageDir(String rsoStorageDir)
rsoStorageDir - remote shared object storage pathvoid setRTPAVSyncMethod(int rtpAVSyncMethod)
rtpAVSyncMethod - RTP audio/video sync methodvoid setRTPIdleFrequency(int rtspIdleFrequency)
rtspIdleFrequency - default RTP idle frequency (milliseconds)void setRTPMaxRTCPWaitTime(int rtpMaxRTCPWaitTime)
rtpMaxRTCPWaitTime - maximum time to wait for RTCP packets (milliseconds)void setRTPPlayAuthenticationMethod(String rtpPlayAuthenticationMethod)
rtpPlayAuthenticationMethod - RTP play authentication methodvoid setRTPPublishAuthenticationMethod(String rtpPublishAuthenticationMethod)
rtpPublishAuthenticationMethod - RTP publish authentication methodvoid setRTSPBindIpAddress(String rtspBindIpAddress)
rtspBindIpAddress - IP address to which UDP ports will be bound for RTSP/RTP sessionsvoid setRTSPConnectionAddressType(String rtspConnectionAddressType)
rtspConnectionAddressType - void setRTSPConnectionIpAddress(String rtspConnectionIpAddress)
rtspConnectionIpAddress - connection IP address to used in the Session Description Protocol data exchanged for an RTSP/RTP sessionvoid setRTSPMaximumPendingWriteBytes(int rtspMaximumPendingWriteBytes)
rtspMaximumPendingWriteBytes - maximum number of pending write bytes for an RTSP sessionvoid setRTSPOriginAddressType(String rtspOriginAddressType)
rtspOriginAddressType - origin IP address type (IP4) to used in the Session Description Protocol data exchanged for an RTSP/RTP sessionvoid setRTSPOriginIpAddress(String rtspOriginIpAddress)
rtspOriginIpAddress - origin IP address to used in the Session Description Protocol data exchanged for an RTSP/RTP sessionvoid setRTSPSessionTimeout(int rtspSessionTimeout)
rtspSessionTimeout - RTSP session timeout (milliseconds)void setSharedObjectReadAccess(String sharedObjectReadAccess)
sharedObjectReadAccess - default shared object read accessIClient.setSharedObjectReadAccess(java.lang.String)void setSharedObjectWriteAccess(String sharedObjectWriteAccess)
sharedObjectWriteAccess - default shared object write accessIClient.setSharedObjectWriteAccess(java.lang.String)void setStreamAudioSampleAccess(String streamAudioSampleAccess)
streamAudioSampleAccess - IClient.setStreamAudioSampleAccess(java.lang.String)void setStreamFileMapper(IMediaStreamFileMapper streamFileMapper)
streamFileMapper - stream file mappervoid setStreamKeyDir(String keyStorageDir)
keyStorageDir - stream key pathvoid setStreamNameAliasProvider(IMediaStreamNameAliasProvider streamNameAliasProvider)
streamNameAliasProvider - stream name alias providervoid setStreamReadAccess(String streamReadAccess)
streamReadAccess - default stream read accessIClient.setStreamReadAccess(java.lang.String)void setStreamStorageDir(String streamStorageDir)
streamStorageDir - stream storage pathvoid setStreamType(String streamType)
streamType - streamType namevoid setStreamVideoSampleAccess(String streamVideoSampleAccess)
streamVideoSampleAccess - default stream video sample accessIClient.setStreamVideoSampleAccess(java.lang.String)void setStreamWriteAccess(String streamWriteAccess)
streamWriteAccess - default stream write accessIClient.setStreamWriteAccess(java.lang.String)void setValidateFMLEConnections(boolean validateFMLEConnections)
validateFMLEConnections - true if validating FMLE connectionvoid setValidationFrequency(int validationFrequency)
validationFrequency - time between validation pings (milliseconds)void setVODTimedTextProviderList(String timedTextProviderList)
timedTextProviderList - comma separated list of VODTimedTextProvider namesvoid shutdown(boolean isServerShutdown,
boolean isAppShutdown)
isServerShutdown - true if due to shutdown of serverisAppShutdown - true if due to shutdown of applicationvoid shutdownClient(IClient client)
client - client connectionboolean startMediaCasterStream(String streamName,
String mediaCasterType)
streamName - stream namemediaCasterType - media caster stream typeboolean startMediaCasterStream(String streamName,
String streamExt,
String mediaCasterType)
streamName - stream namestreamExt - stream extensionmediaCasterType - media caster stream typevoid stopMediaCasterStream(String streamName)
streamName - stream namevoid touch()
boolean writeAppInstConfig(String sName,
String data)