Package com.wowza.wms.vhost
Interface IVHost
- 
 public interface IVHostIVHost: public interface to VHost object. 
- 
- 
Field Summary
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddAcceptorListener(IAcceptorNotify acceptorListener)Add acceptor listener.voidaddApplicationListener(IApplicationNotify applicationListener)Add application listener.voidaddIdleWorkerListener(com.wowza.wms.util.IIdleWorkerNotify idleWorkerListener)Add idleWorker listener.voidaddStartupStream(com.wowza.wms.vhost.StartupStream startupStream)Add a stream to the list of streams to start and virtual host startupbooleanapplicationExists(String name)Return true if an application folder exists for this application namevoidcloseHostPort(HostPort hostPort, boolean isSuspend)Close an individual HostPortIApplicationgetApplication(String applicationName)Get application by name.IApplicationgetApplication(String applicationName, boolean doLoad)Get application by name.java.util.ListgetApplicationFolderNames()Get a list of application folder namesIApplicationInstancegetApplicationInstance(String appName, String appInstanceName)Gets an application instance for an application.IApplicationInstancegetApplicationInstance(String appName, String appInstanceName, boolean doLoad)Gets an application instance for an application.edu.emory.mathcs.backport.java.util.concurrent.locks.WMSReadWriteLockgetApplicationLock()Get the object used in synchronized statements to lock and application.java.util.ListgetApplicationNames()Get a list of application namesintgetApplicationTimeout()Get application time out (milliseconds).com.wowza.wms.authentication.AuthenticationListgetAuthenticationList()Get the list of available authentication methodscom.wowza.wms.timedtext.cea608.CEACaptionConversionContextgetCEACaptionConversionContext()Get CEAConversionContextMP3 tag map attached to vHost (CEACaptionConversion.xml).IClientgetClient(int clientId)Get client by client id.IClientgetClient(int clientId, boolean create)Get client by client id and create if does not exist.intgetClientCount()Get number of clients connected to this vHost.intgetClientIdleFrequency()Get default client idle frequency (milliseconds)intgetClientTimeout()Get client timeout.ConnectionCountergetConnectionCounter()Get vHost connection counter.com.wowza.wms.client.ConnectionCounterSimplegetConnectionCounter(int counterIndex)Get vHost connection counter for a specific technology (see IVHost.COUNTER_*)intgetConnectionLimit()Get vHost connection limit.intgetCoreHandlerPoolSize()Get the handler core thread pool size.intgetCoreTransportPoolSize()Get the transport core thread pool size.StringgetDateStarted()Get date and time the server was started.com.wowza.wms.vhost.DomainToKeyStoreMapListgetDomainToKeyStoreMapList()Get the SSL certificate map list.com.wowza.wms.stream.livedvr.DvrRecorderListgetDvrRecorderList()Get the DvrRecorderListcom.wowza.wms.dvr.model.DvrStoreListgetDvrStoreList()Get the list of DVR Storesjava.util.PropertiesgetDynamicLogProperties()Get the dynamic log properties defined at the vhost level in conf/log4j.propertiesintgetFileIOPoolSize()Get the default file io pool size.ThreadPoolgetHandlerThreadPool()Get the VHost handler thread pool.StringgetHomePath()Get vHost configuration path.HostPortListgetHostPortsList()Get list of host port definitions for vHost.booleangetHTTPPersistentRejectInvalid()Get HTTPPersisent rejection status.com.wowza.wms.http.HTTPProviderContextgetHTTPProviderContext()Get the HTTPProvider ContextIHTTPStreamerAdaptergetHTTPStreamerAdapter(String ID)Get an HTTPStreamerAdapter by IDjava.util.List<String>getHTTPStreamerAdapterIDs()Get a list of HTTPStreamerAdapter IDscom.wowza.wms.httpstreamer.model.HTTPStreamerContextgetHTTPStreamerContext()Get the HTTPStreamer (Cupertino Streaming and Silverlight Smooth Streaming) host contextcom.wowza.wms.httpstreamer.model.HTTPStreamerListgetHTTPStreamerList()Get the list of HTTPStreamersintgetHTTPStreamerMaxPathLen()Get the max HTTP streamer path lengthIVHostHTTPStreamerRequestValidatorgetHTTPStreamerRequestValidator()Get the HTTP streamer request validatorintgetIdleCheckFrequency()Get idle check frequency (milliseconds)intgetIdleMinimumWaitTime()Get the minimum time (milliseconds) the idle worker thread will sleep before generating idle eventsintgetIdleWorkerCount()Get number of threads used to generate idle eventscom.wowza.wms.util.IdleWorkersUtilgetIdleWorkers()Get the idle worker utilityIOPerformanceCountergetIoPerformanceCounter()Get vHost IO performance counter.IOPerformanceCountergetIoPerformanceCounter(int counterIndex)Get vHost IO performance counter for a specific technology (see IVHost.COUNTER_*)com.wowza.io.IOSchedulergetIOScheduler()Get IO scheduler for vHost.intgetKeepAliveTimeout()Get the RTMPT connection keep alive timeoutcom.wowza.wms.stream.livepacketizer.LiveStreamPacketizerListgetLiveStreamPacketizerList()Get the LiveStreamPacketizerListILiveStreamRecordManagergetLiveStreamRecordManager()Returns the LiveStreamRecordManager associated with this vhost This object contains the active LiveStreamRecorderscom.wowza.wms.stream.livetranscoder.LiveStreamTranscoderListgetLiveStreamTranscoderList()Get the LiveStreamTranscoderListlonggetLiveStreamTranscoderSessionCount()Get the current number of live stream transcoder sessions.WMSPropertiesgetManagerProperties()Get VHost'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.MediaCasterListgetMediaCasterList()Get the list of media caster definitions (MediaCaster.xml)MediaCasterSettingsgetMediaCasterSettings()Get the media caster settingsintgetMediaReaderContentType(String mediaType)Get the content type of a media stream name prefix (see IMediaReader.CONTENTTYPE_*)com.wowza.wms.stream.MediaReaderListgetMediaReaders()Get the media readers attached to vHost (MediaReaders.xml).com.wowza.wms.stream.MediaWriterListgetMediaWriters()Get the media writers attached to vHost (MediaWriters.xml).java.util.MapgetMp3TagMap()Get MP3 tag map attached to vHost (MP3Tags.xml).java.util.MapgetMp4TagMap()Get MP4 tag map attached to vHost (MP4Tags.xml).StringgetName()Get vHost nameHostPortConfiggetNetConnectionHostPortConfig()Get the socket configuration for server to server connectionsintgetNetConnectionIdleFrequency()Get server to server idle frequency (milliseconds)intgetNetConnectionProcessorCount()Get net connection processor count.intgetNextNetConnectionId()Get next connection id.intgetPingTimeout()Get ping timeout (milliseconds)WMSPropertiesgetProperties()Get properties attached to this vHost.StringgetProperty(String key)Get virtual host property.voidgetProtocolUsage(boolean[] protocolsInUse)Get the protocols in use by this application instance (see IApplicationInstance.PROTCOLUSAGE_*)PushPublishContextgetPushPublishContext()Get the push publish contextcom.wowza.wms.pushpublish.manager.IPushPublishManagergetPushPublishManager()Returns the PushPbulishManager associated with this vhost This object provides access to PushPublers associated withRTPContextgetRTPContext()Get the RTP (real time protocol) virtual host contextcom.wowza.wms.rtp.transport.RTPUDPDatagramConfiggetRTPDatagramConfigIncoming()Get the RTP Datagram Socket configurationcom.wowza.wms.rtp.transport.RTPUDPDatagramConfiggetRTPDatagramConfigOutgoing()Get the RTP Datagram Socket configurationintgetRTPIdleFrequency()Get default RTP idle frequency (milliseconds)intgetRTSPMaxPathLen()Get the max RTSP stream path lengthIVHostRTSPRequestValidatorgetRTSPRequestValidator()Get the RTSP request validatorjava.util.List<com.wowza.wms.vhost.StartupStream>getStartupStreams()Get the list of streams to start at virtual host startupintgetStartupStreamsDelayTime()Get startup streams delay time (milliseconds).StreamListgetStreamTypes()Get default stream type.ThreadPoolgetThreadPool()Get the VHost handler thread pool.com.wowza.wms.transcoder.thumbnailer.ThumbnailerContextgetThumbnailerContext()Get the VOD transcoder contextcom.wowza.wms.timedtext.model.TimedTextProviderConfigurationgetTimedTextProviderConfig()Get the config of TimedTextProvidersStringgetTimeRunning()Get the time vHost has been running.doublegetTimeRunningSeconds()Get time running in secondscom.wowza.wms.transcoder.vod.TranscoderVODContextgetTranscoderVODContext()Get the VOD transcoder contextThreadPoolgetTransportThreadPool()Get the VHost transport thread pool.com.wowza.wms.rtp.transport.UDPTransportManagergetUDPTransportManager()Get the UDP transport manager.intgetUnidentifiedSessionTimeout()Get the unidentified session timeout (TCP session that we are not able to identifiy)intgetValidationFrequency()Get time between validation pings (milliseconds)com.wowza.wms.webrtc.model.WebRTCContextgetWebRTCContext()Get the WebRTC virtual host contextintgetWebRTCIdleFrequency()Get default WebRTC idle frequency (milliseconds)com.wowza.wms.webrtc.tcpsession.IWebRTCTCPSessionFactorygetWebRTCSessionFactory()Get WebRTC session factoryWebSocketContextgetWebSocketContext()Get the WebSocket ContextintgetWebSocketSessionCount()Get the total number of WebSocket sessionsjava.util.List<IWebSocketSession>getWebSocketSessions()Get a list of active WebSocket sessionsvoidinit(String basePath)Initialize vHost.booleanisApplicationLoaded(String applicationName)Return true is the application is loadedbooleanisShuttingDown()Is the VHost shutting downbooleanisStartStarupStreams()Returns true if the startup streams are to start and vhost startupbooleanisSuspended()Returns true is all HostPorts connected to this VHost are suspendedbooleanisWebRTCSessionFactory()Is WebRTC enabled for this virtual hostvoidputHTTPStreamerAdapter(String ID, IHTTPStreamerAdapter adapter)Add an HTTPStreamerAdaptervoidremoveAcceptorListener(IAcceptorNotify acceptorListener)Remove acceptor listener.voidremoveApplicationListener(IApplicationNotify applicationListener)Remove applation listener.voidremoveClient(int clientId)Remove client from vHost.voidremoveIdleWorkerListener(com.wowza.wms.util.IIdleWorkerNotify idleWorkerListener)Remove idleWorker listenervoidreparentClient(IClient client)Move a client object to a new vhost.voidsetAdminInterfaceHostPort(HostPort adminInterfaceHostPort)Set admin interface host port (not used)voidsetApplicationTimeout(int applicationTimeout)Set application time out (milliseconds).voidsetClientIdleFrequency(int clientIdleFrequency)Set default client idle frequency (milliseconds)voidsetClientTimeout(int clientTimeout)Set client timeout.voidsetCoreHandlerPoolSize(int corePoolSize)Set the handler core thread pool size.voidsetCoreTransportPoolSize(int corePoolSize)Set the transport core thread pool size.voidsetDynamicLogProperties(java.util.Properties dynamicLogProperties)Set the dynamic log properties set at the vhost levelvoidsetFileIOPoolSize(int fileIOPoolSize)Set default file io thread pool size.voidsetHTTPPersistentRejectInvalid(boolean flag)Set if invalid HTTP requests should be rejected when using persistent connectionsvoidsetHTTPStreamerMaxPathLen(int httpStreamerMaxPathLen)Set the max HTTP streamer path lengthvoidsetHTTPStreamerRequestValidator(IVHostHTTPStreamerRequestValidator httpRequestValidator)Set the HTTP streamer request validatorvoidsetIdleCheckFrequency(int idleCheckFrequency)Set idle check frequency (milliseconds)voidsetIdleMinimumWaitTime(int idleMinimumWaitTime)Set the minimum time (milliseconds) the idle worker thread will sleep before generating idle eventsvoidsetIdleWorkerCount(int idleWorkerCount)Set number of threads used to generate idle eventsvoidsetKeepAliveTimeout(int keepAliveTimeout)Set the RTMPT connection keep alive timeoutvoidsetMaximumPendingReadBytes(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.voidsetNetConnectionIdleFrequency(int netConnectionIdleFrequency)Set the server to server idle frequency (milliseconds)voidsetNetConnectionProcessorCount(int netConnectionProcessorCount)Set net connection processor count.voidsetPingTimeout(int pingTimeout)Set ping timeout (millseconds)voidsetRTPIdleFrequency(int rtpIdleFrequency)Set default RTP idle frequency (milliseconds)voidsetRTSPMaxPathLen(int rtspStreamerMaxPathLen)Set the max RTSP stream path lengthvoidsetRTSPRequestValidator(IVHostRTSPRequestValidator rtspRequestValidator)Set the RTSP request validatorvoidsetShuttingDown(boolean shuttingDown)Set VHost shutting down flagvoidsetStartStarupStreams(boolean startStarupStreams)Set to true to startup startup stream as vhost startupvoidsetStartupStreamsDelayTime(int startupStreamsDelayTime)Set startup streams delay time (milliseconds).voidsetUnidentifiedSessionTimeout(int unidentifiedSessionTimeout)Set the unidentified session timeout (TCP session that we are not able to identifiy)voidsetValidationFrequency(int validationFrequency)Set time between validation pings (milliseconds)voidsetWebRTCIdleFrequency(int webrtcIdleFrequency)Set default WebRTC idle frequency (milliseconds)voidshutdown()Shutdown.voidshutdownApplication(String appName)Shutdown an application by name.voidshutdownApplication(String appName, boolean deleteFolder)Shutdown an application by name.booleanstartApplicationInstance(String appName)Start an application instance.booleanstartApplicationInstance(String appName, String appInstanceName)Start an application instance.voidstartStartupStreams()Method to start startup streamsvoidstopClient(int clientId)Remove client from vHost and send disconnect message.voidstopRTSPSession(String rtspSessionId)Stop an RTSP connection by the RTSP session idvoidstopStartupStreams()Method to stop startup streamsvoidsuspendAllHostPorts()Suspend all HostPorts from accepting new connections.booleantouchApplicationInstance(String appName)Start an application instance if it is not already started then touch it so it stays loaded for at least 3 seconds.booleantouchApplicationInstance(String appName, String appInstanceName)Start an application instance if it is not already started then touch it so it stays loaded for at least 3 seconds.voidunbindAllHostPorts()Unbind all HostPorts and drop all connectionsvoidupdateLoggingDuration()Internal: update the internal logging values.
 
- 
- 
- 
Field Detail- 
VHOST_DEFAULTstatic final String VHOST_DEFAULT - See Also:
- Constant Field Values
 
 - 
VHOST_DEFAULT_HTTP_PERSISTENTstatic final boolean VHOST_DEFAULT_HTTP_PERSISTENT - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTER_PUBLISHERstatic final int LICENSECOUNTER_PUBLISHER - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTER_TRANSCODE_DECODEstatic final int LICENSECOUNTER_TRANSCODE_DECODE - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTER_TRANSCODE_ENCODEstatic final int LICENSECOUNTER_TRANSCODE_ENCODE - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTER_NDVRstatic final int LICENSECOUNTER_NDVR - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTER_DRM_EZDRM_LIVEstatic final int LICENSECOUNTER_DRM_EZDRM_LIVE - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTER_DRM_EZDRM_VODstatic final int LICENSECOUNTER_DRM_EZDRM_VOD - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTER_DRM_VERIMATRIX_LIVEstatic final int LICENSECOUNTER_DRM_VERIMATRIX_LIVE - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTER_DRM_VERIMATRIX_VODstatic final int LICENSECOUNTER_DRM_VERIMATRIX_VOD - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTER_PUBLISHERTRANSCODERstatic final int LICENSECOUNTER_PUBLISHERTRANSCODER - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTER_DRM_BUYDRM_LIVEstatic final int LICENSECOUNTER_DRM_BUYDRM_LIVE - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTER_DRM_BUYDRM_VODstatic final int LICENSECOUNTER_DRM_BUYDRM_VOD - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTER_TRANSCODE_DECODEPOLLINGstatic final int LICENSECOUNTER_TRANSCODE_DECODEPOLLING - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTER_TRANSCODE_ENCODEPOLLINGstatic final int LICENSECOUNTER_TRANSCODE_ENCODEPOLLING - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTER_TRANSCODE_STREAMNAMESstatic final int LICENSECOUNTER_TRANSCODE_STREAMNAMES - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTER_TRANSCODE_DECODECOUNTAUDIOstatic final int LICENSECOUNTER_TRANSCODE_DECODECOUNTAUDIO - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTER_TRANSCODE_DECODECOUNTVIDEOstatic final int LICENSECOUNTER_TRANSCODE_DECODECOUNTVIDEO - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTER_TRANSCODE_DECODECOUNTAUDIOVIDEOstatic final int LICENSECOUNTER_TRANSCODE_DECODECOUNTAUDIOVIDEO - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTER_TRANSCODE_ENCODECOUNTAUDIOstatic final int LICENSECOUNTER_TRANSCODE_ENCODECOUNTAUDIO - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTER_TRANSCODE_ENCODECOUNTVIDEOstatic final int LICENSECOUNTER_TRANSCODE_ENCODECOUNTVIDEO - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTER_TRANSCODE_ENCODECOUNTAUDIOVIDEOstatic final int LICENSECOUNTER_TRANSCODE_ENCODECOUNTAUDIOVIDEO - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTER_TOTALstatic final int LICENSECOUNTER_TOTAL - See Also:
- Constant Field Values
 
 - 
LICENSECOUNTERS_DRMstatic final int[] LICENSECOUNTERS_DRM 
 - 
COUNTER_RTMPstatic final int COUNTER_RTMP - See Also:
- Constant Field Values
 
 - 
COUNTER_RTPstatic final int COUNTER_RTP - See Also:
- Constant Field Values
 
 - 
COUNTER_HTTPCUPERTINOstatic final int COUNTER_HTTPCUPERTINO - See Also:
- Constant Field Values
 
 - 
COUNTER_HTTPSMOOTHstatic final int COUNTER_HTTPSMOOTH - See Also:
- Constant Field Values
 
 - 
COUNTER_HTTPSANJOSEstatic final int COUNTER_HTTPSANJOSE - See Also:
- Constant Field Values
 
 - 
COUNTER_HTTPWEBMstatic final int COUNTER_HTTPWEBM - See Also:
- Constant Field Values
 
 - 
COUNTER_HTTPMPEGDASHstatic final int COUNTER_HTTPMPEGDASH - See Also:
- Constant Field Values
 
 - 
COUNTER_HTTPDVRCHUNKSstatic final int COUNTER_HTTPDVRCHUNKS - See Also:
- Constant Field Values
 
 - 
COUNTER_HTTPTSstatic final int COUNTER_HTTPTS - See Also:
- Constant Field Values
 
 - 
COUNTER_WEBRTCstatic final int COUNTER_WEBRTC - See Also:
- Constant Field Values
 
 - 
COUNTER_TOTALstatic final int COUNTER_TOTAL - See Also:
- Constant Field Values
 
 - 
CODEC_VIDEO_UNKNOWNstatic final int CODEC_VIDEO_UNKNOWN - See Also:
- Constant Field Values
 
 - 
CODEC_VIDEO_SPARKstatic final int CODEC_VIDEO_SPARK - See Also:
- Constant Field Values
 
 - 
CODEC_VIDEO_SCREENstatic final int CODEC_VIDEO_SCREEN - See Also:
- Constant Field Values
 
 - 
CODEC_VIDEO_VP6static final int CODEC_VIDEO_VP6 - See Also:
- Constant Field Values
 
 - 
CODEC_VIDEO_VP6Astatic final int CODEC_VIDEO_VP6A - See Also:
- Constant Field Values
 
 - 
CODEC_VIDEO_SCREEN2static final int CODEC_VIDEO_SCREEN2 - See Also:
- Constant Field Values
 
 - 
CODEC_VIDEO_H264static final int CODEC_VIDEO_H264 - See Also:
- Constant Field Values
 
 - 
CODEC_VIDEO_VPXstatic final int CODEC_VIDEO_VPX - See Also:
- Constant Field Values
 
 - 
CODEC_VIDEO_VP8static final int CODEC_VIDEO_VP8 - See Also:
- Constant Field Values
 
 - 
CODEC_VIDEO_H263static final int CODEC_VIDEO_H263 - See Also:
- Constant Field Values
 
 - 
CODEC_VIDEO_MPEG4static final int CODEC_VIDEO_MPEG4 - See Also:
- Constant Field Values
 
 - 
CODEC_VIDEO_MPEG2static final int CODEC_VIDEO_MPEG2 - See Also:
- Constant Field Values
 
 - 
CODEC_VIDEO_H265static final int CODEC_VIDEO_H265 - See Also:
- Constant Field Values
 
 - 
CODEC_VIDEO_VERSION_DEFAULTstatic final int CODEC_VIDEO_VERSION_DEFAULT - See Also:
- Constant Field Values
 
 - 
CODEC_VIDEO_VERSION_VPX_VP8static final int CODEC_VIDEO_VERSION_VPX_VP8 - See Also:
- Constant Field Values
 
 - 
CODEC_VIDEO_VERSION_VPX_VP9static final int CODEC_VIDEO_VERSION_VPX_VP9 - See Also:
- Constant Field Values
 
 - 
CODEC_AUDIO_UNKNOWNstatic final int CODEC_AUDIO_UNKNOWN - See Also:
- Constant Field Values
 
 - 
CODEC_AUDIO_PCM_BEstatic final int CODEC_AUDIO_PCM_BE - See Also:
- Constant Field Values
 
 - 
CODEC_AUDIO_PCM_SWFstatic final int CODEC_AUDIO_PCM_SWF - See Also:
- Constant Field Values
 
 - 
CODEC_AUDIO_AC3static final int CODEC_AUDIO_AC3 - See Also:
- Constant Field Values
 
 - 
CODEC_AUDIO_MP3static final int CODEC_AUDIO_MP3 - See Also:
- Constant Field Values
 
 - 
CODEC_AUDIO_PCM_LEstatic final int CODEC_AUDIO_PCM_LE - See Also:
- Constant Field Values
 
 - 
CODEC_AUDIO_NELLYMOSER_16MONOstatic final int CODEC_AUDIO_NELLYMOSER_16MONO - See Also:
- Constant Field Values
 
 - 
CODEC_AUDIO_NELLYMOSER_8MONOstatic final int CODEC_AUDIO_NELLYMOSER_8MONO - See Also:
- Constant Field Values
 
 - 
CODEC_AUDIO_NELLYMOSERstatic final int CODEC_AUDIO_NELLYMOSER - See Also:
- Constant Field Values
 
 - 
CODEC_AUDIO_G711_ALAWstatic final int CODEC_AUDIO_G711_ALAW - See Also:
- Constant Field Values
 
 - 
CODEC_AUDIO_G711_MULAWstatic final int CODEC_AUDIO_G711_MULAW - See Also:
- Constant Field Values
 
 - 
CODEC_AUDIO_RESERVEDstatic final int CODEC_AUDIO_RESERVED - See Also:
- Constant Field Values
 
 - 
CODEC_AUDIO_VORBISstatic final int CODEC_AUDIO_VORBIS - See Also:
- Constant Field Values
 
 - 
CODEC_AUDIO_AACstatic final int CODEC_AUDIO_AAC - See Also:
- Constant Field Values
 
 - 
CODEC_AUDIO_SPEEXstatic final int CODEC_AUDIO_SPEEX - See Also:
- Constant Field Values
 
 - 
CODEC_AUDIO_OPUSstatic final int CODEC_AUDIO_OPUS - See Also:
- Constant Field Values
 
 - 
CODEC_AUDIO_ALSstatic final int CODEC_AUDIO_ALS - See Also:
- Constant Field Values
 
 - 
CODEC_AUDIO_MP3_8static final int CODEC_AUDIO_MP3_8 - See Also:
- Constant Field Values
 
 - 
CODEC_STREAM_UNKNOWNstatic final int CODEC_STREAM_UNKNOWN - See Also:
- Constant Field Values
 
 - 
CODEC_STREAM_MP2Tstatic final int CODEC_STREAM_MP2T - See Also:
- Constant Field Values
 
 - 
FILEFORMAT_UNKNOWNstatic final int FILEFORMAT_UNKNOWN - See Also:
- Constant Field Values
 
 - 
FILEFORMAT_FLVstatic final int FILEFORMAT_FLV - See Also:
- Constant Field Values
 
 - 
FILEFORMAT_MP4static final int FILEFORMAT_MP4 - See Also:
- Constant Field Values
 
 - 
CONTENTTYPE_UKNOWNstatic final byte CONTENTTYPE_UKNOWN AMF Content type: unknown- See Also:
- Constant Field Values
 
 - 
CONTENTTYPE_SETCHUNKSIZEstatic final byte CONTENTTYPE_SETCHUNKSIZE AMF Content type: set packet chunk size- See Also:
- Constant Field Values
 
 - 
CONTENTTYPE_WATCHDOGstatic final byte CONTENTTYPE_WATCHDOG AMF Content type: watch dog- See Also:
- Constant Field Values
 
 - 
CONTENTTYPE_BUFFERSIZEstatic final byte CONTENTTYPE_BUFFERSIZE AMF Content type: set buffer size- See Also:
- Constant Field Values
 
 - 
CONTENTTYPE_ACKBANDWIDTHstatic final byte CONTENTTYPE_ACKBANDWIDTH AMF Content type: set acknowledge bandwidth size- See Also:
- Constant Field Values
 
 - 
CONTENTTYPE_SETBANDWIDTHstatic final byte CONTENTTYPE_SETBANDWIDTH AMF Content type: set bandwidth size- See Also:
- Constant Field Values
 
 - 
CONTENTTYPE_AUDIOstatic final byte CONTENTTYPE_AUDIO AMF Content type: audio packet- See Also:
- Constant Field Values
 
 - 
CONTENTTYPE_VIDEOstatic final byte CONTENTTYPE_VIDEO AMF Content type: video packet- See Also:
- Constant Field Values
 
 - 
CONTENTTYPE_DATAstatic final byte CONTENTTYPE_DATA AMF Content type: data packet- See Also:
- Constant Field Values
 
 - 
CONTENTTYPE_DATA0static final byte CONTENTTYPE_DATA0 AMF Content type: data packet (AMF0)- See Also:
- Constant Field Values
 
 - 
CONTENTTYPE_DATA3static final byte CONTENTTYPE_DATA3 AMF Content type: data packet (AMF3)- See Also:
- Constant Field Values
 
 - 
CONTENTTYPE_SHAREDOBJECTSstatic final byte CONTENTTYPE_SHAREDOBJECTS AMF Content type: shared object packet (AMF0)- See Also:
- Constant Field Values
 
 - 
CONTENTTYPE_SHAREDOBJECTS0static final byte CONTENTTYPE_SHAREDOBJECTS0 AMF Content type: shared object packet (AMF0)- See Also:
- Constant Field Values
 
 - 
CONTENTTYPE_SHAREDOBJECTS3static final byte CONTENTTYPE_SHAREDOBJECTS3 AMF Content type: shared object packet (AMF3)- See Also:
- Constant Field Values
 
 - 
CONTENTTYPE_FUNCTIONstatic final byte CONTENTTYPE_FUNCTION AMF Content type: function data (AMF0)- See Also:
- Constant Field Values
 
 - 
CONTENTTYPE_FUNCTION0static final byte CONTENTTYPE_FUNCTION0 AMF Content type: function data (AMF0)- See Also:
- Constant Field Values
 
 - 
CONTENTTYPE_MEDIACHUNKstatic final byte CONTENTTYPE_MEDIACHUNK AMF Content type: media chunk- See Also:
- Constant Field Values
 
 - 
CONTENTTYPE_FUNCTION3static final byte CONTENTTYPE_FUNCTION3 AMF Content type: function data (AMF3)- See Also:
- Constant Field Values
 
 - 
CONTENTTYPE_PLAYCALLBACKstatic final byte CONTENTTYPE_PLAYCALLBACK AMF Content type: play callback- See Also:
- Constant Field Values
 
 - 
ACCEPTORS_ACCEPTORstatic final String ACCEPTORS_ACCEPTOR Acceptor types: acceptor- See Also:
- Constant Field Values
 
 - 
ACCEPTORS_HANDLERADAPTERstatic final String ACCEPTORS_HANDLERADAPTER Acceptor types: handler- See Also:
- Constant Field Values
 
 - 
DEFAULT_WEBRTC_IDLEFREQUENCYstatic final int DEFAULT_WEBRTC_IDLEFREQUENCY - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
initvoid init(String basePath) Initialize vHost.- Parameters:
- basePath- base path to configuration files
 
 - 
shutdownvoid shutdown() Shutdown.
 - 
getStreamTypesStreamList getStreamTypes() Get default stream type.- Returns:
- default stream type
 
 - 
getPropertyString getProperty(String key) Get virtual host property.- Parameters:
- key- key
- Returns:
- property value or null if does not exist
 
 - 
getClientTimeoutint getClientTimeout() Get client timeout.- Returns:
- client timeout
 
 - 
getNextNetConnectionIdint getNextNetConnectionId() Get next connection id.- Returns:
- next connection id
 
 - 
getClientIClient getClient(int clientId) Get client by client id.- Parameters:
- clientId- client id
- Returns:
- client
 
 - 
getClientIClient getClient(int clientId, boolean create) Get client by client id and create if does not exist.- Parameters:
- clientId- client id
- create- create if does not exist
- Returns:
- client
 
 - 
removeClientvoid removeClient(int clientId) Remove client from vHost.- Parameters:
- clientId- client id
 
 - 
stopClientvoid stopClient(int clientId) Remove client from vHost and send disconnect message.- Parameters:
- clientId- client id
 
 - 
stopRTSPSessionvoid stopRTSPSession(String rtspSessionId) Stop an RTSP connection by the RTSP session id- Parameters:
- rtspSessionId- RTSP session id
 
 - 
getApplicationIApplication getApplication(String applicationName) Get application by name. Loads application if it's not loaded already If you are going to immediately start an application instance you should call- Parameters:
- applicationName- application name
- Returns:
- application
- See Also:
- which creates both the application and application instance as an atomic operation
 
 - 
getApplicationIApplication getApplication(String applicationName, boolean doLoad) Get application by name. May load application if it's not loaded already If you are going to immediately start an application instance you should call- Parameters:
- applicationName- application name
- doLoad- when true will load application if it's not loaded already
- Returns:
- application
- See Also:
- which creates both the application and application instance as an atomic operation
 
 - 
isApplicationLoadedboolean isApplicationLoaded(String applicationName) Return true is the application is loaded- Parameters:
- applicationName- application name
- Returns:
- true if application is loaded
 
 - 
getHomePathString getHomePath() Get vHost configuration path.- Returns:
- configuration path
 
 - 
getPropertiesWMSProperties getProperties() Get properties attached to this vHost.- Returns:
- properties attached to this vHost
 
 - 
getManagerPropertiesWMSProperties getManagerProperties() Get VHost's manager's properties collection- Returns:
- manager's property collection
 
 - 
getCoreTransportPoolSizeint getCoreTransportPoolSize() Get the transport core thread pool size.- Returns:
- default core thread pool size
 
 - 
setCoreTransportPoolSizevoid setCoreTransportPoolSize(int corePoolSize) Set the transport core thread pool size.- Parameters:
- corePoolSize- core thread pool size
 
 - 
getCoreHandlerPoolSizeint getCoreHandlerPoolSize() Get the handler core thread pool size.- Returns:
- default core thread pool size
 
 - 
setCoreHandlerPoolSizevoid setCoreHandlerPoolSize(int corePoolSize) Set the handler core thread pool size.- Parameters:
- corePoolSize- core thread pool size
 
 - 
getFileIOPoolSizeint getFileIOPoolSize() Get the default file io pool size.- Returns:
- default file io pool size
 
 - 
setFileIOPoolSizevoid setFileIOPoolSize(int fileIOPoolSize) Set default file io thread pool size.- Parameters:
- fileIOPoolSize- default file io thread pool size
 
 - 
setClientTimeoutvoid setClientTimeout(int clientTimeout) Set client timeout. An inactive client connected by RTMPT protocol will be deleted after this timeout.- Parameters:
- clientTimeout- client timeout
 
 - 
getHostPortsListHostPortList getHostPortsList() Get list of host port definitions for vHost.- Returns:
- list of host port definitions for vHost
 
 - 
getThreadPoolThreadPool getThreadPool() Get the VHost handler thread pool. Same as getHandlerThreadPool.- Returns:
- VHost handler thread pool
 
 - 
getTransportThreadPoolThreadPool getTransportThreadPool() Get the VHost transport thread pool. This thread pool is used to read/write data from the transports sockets.- Returns:
- VHost transport thread pool
 
 - 
getHandlerThreadPoolThreadPool getHandlerThreadPool() Get the VHost handler thread pool. This thread pool is used to process the incoming events.- Returns:
- VHost handler thread pool
 
 - 
getNameString getName() Get vHost name- Returns:
- vHost name
 
 - 
setAdminInterfaceHostPortvoid setAdminInterfaceHostPort(HostPort adminInterfaceHostPort) Set admin interface host port (not used)- Parameters:
- adminInterfaceHostPort- admin interface host port
 
 - 
getClientCountint getClientCount() Get number of clients connected to this vHost.- Returns:
- number of clients connected to this vHost
 
 - 
getNetConnectionProcessorCountint getNetConnectionProcessorCount() Get net connection processor count. Number of threads used for server to server communication (not finished).- Returns:
- net connection processor count
 
 - 
setNetConnectionProcessorCountvoid setNetConnectionProcessorCount(int netConnectionProcessorCount) Set net connection processor count. Number of threads used for server to server communication (not finished).- Parameters:
- netConnectionProcessorCount- net connection processor count
 
 - 
addApplicationListenervoid addApplicationListener(IApplicationNotify applicationListener) Add application listener. An application listener will receive the following events: onApplicationCreate, onApplicationDestroy.- Parameters:
- applicationListener- application listener
 
 - 
removeApplicationListenervoid removeApplicationListener(IApplicationNotify applicationListener) Remove applation listener.- Parameters:
- applicationListener- applation listener
 
 - 
addAcceptorListenervoid addAcceptorListener(IAcceptorNotify acceptorListener) Add acceptor listener. Acceptor listeners will receive the following events: onAcceptorCreate, onAcceptorDestroy.- Parameters:
- acceptorListener- acceptor listener
 
 - 
removeAcceptorListenervoid removeAcceptorListener(IAcceptorNotify acceptorListener) Remove acceptor listener.- Parameters:
- acceptorListener- acceptor listener
 
 - 
getIOSchedulercom.wowza.io.IOScheduler getIOScheduler() Get IO scheduler for vHost. IO scheduler is used to schedule reads from the disk to increase server throughput for static flv serving.- Returns:
- IO scheduler for vHost
 
 - 
getIoPerformanceCounterIOPerformanceCounter getIoPerformanceCounter() Get vHost IO performance counter.- Returns:
- io performance counter
 
 - 
getIoPerformanceCounterIOPerformanceCounter getIoPerformanceCounter(int counterIndex) Get vHost IO performance counter for a specific technology (see IVHost.COUNTER_*)- Parameters:
- counterIndex- counter index (see IVHost.COUNTER_*)
- Returns:
- io performance counter
 
 - 
getConnectionCounterConnectionCounter getConnectionCounter() Get vHost connection counter.- Returns:
- connection counter
 
 - 
getConnectionCountercom.wowza.wms.client.ConnectionCounterSimple getConnectionCounter(int counterIndex) Get vHost connection counter for a specific technology (see IVHost.COUNTER_*)- Parameters:
- counterIndex- counter index (see IVHost.COUNTER_*)
- Returns:
- connection counter
 
 - 
getDateStartedString getDateStarted() Get date and time the server was started.- Returns:
- date and time the server was started
 
 - 
getTimeRunningString getTimeRunning() Get the time vHost has been running.- Returns:
- formatted string with vHost uptime
 
 - 
getTimeRunningSecondsdouble getTimeRunningSeconds() Get time running in seconds- Returns:
- time running in seconds
 
 - 
getConnectionLimitint getConnectionLimit() Get vHost connection limit.- Returns:
- vHost connection limit
 
 - 
getMediaReaderscom.wowza.wms.stream.MediaReaderList getMediaReaders() Get the media readers attached to vHost (MediaReaders.xml).- Returns:
- media readers attached to vHost
 
 - 
getMediaWriterscom.wowza.wms.stream.MediaWriterList getMediaWriters() Get the media writers attached to vHost (MediaWriters.xml).- Returns:
- media writers attached to vHost
 
 - 
getMp3TagMapjava.util.Map getMp3TagMap() Get MP3 tag map attached to vHost (MP3Tags.xml).- Returns:
- MP3 tag map attached to vHost
 
 - 
getMp4TagMapjava.util.Map getMp4TagMap() Get MP4 tag map attached to vHost (MP4Tags.xml).- Returns:
- MP4 tag map attached to vHost
 
 - 
getCEACaptionConversionContextcom.wowza.wms.timedtext.cea608.CEACaptionConversionContext getCEACaptionConversionContext() Get CEAConversionContextMP3 tag map attached to vHost (CEACaptionConversion.xml).- Returns:
- MP3 tag map attached to vHost
 
 - 
updateLoggingDurationvoid updateLoggingDuration() Internal: update the internal logging values.
 - 
getApplicationTimeoutint getApplicationTimeout() Get application time out (milliseconds). Time from last client disconnect to application destruction.- Returns:
- application time out (milliseconds)
 
 - 
setApplicationTimeoutvoid setApplicationTimeout(int applicationTimeout) Set application time out (milliseconds).- Parameters:
- applicationTimeout- application time out (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
 
 - 
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
 
 - 
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
 
 - 
getApplicationLockedu.emory.mathcs.backport.java.util.concurrent.locks.WMSReadWriteLock getApplicationLock() Get the object used in synchronized statements to lock and application.- Returns:
- object used in synchronized statements to lock and application
 
 - 
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() Get default RTP idle frequency (milliseconds)- Returns:
- default RTP idle frequency (milliseconds)
 
 - 
setRTPIdleFrequencyvoid setRTPIdleFrequency(int rtpIdleFrequency) Set default RTP idle frequency (milliseconds)- Parameters:
- rtpIdleFrequency- RTP default client idle frequency (milliseconds)
 
 - 
getWebRTCIdleFrequencyint getWebRTCIdleFrequency() Get default WebRTC idle frequency (milliseconds)- Returns:
- default WebRTC idle frequency (milliseconds)
 
 - 
setWebRTCIdleFrequencyvoid setWebRTCIdleFrequency(int webrtcIdleFrequency) Set default WebRTC idle frequency (milliseconds)- Parameters:
- webrtcIdleFrequency- default WebRTC idle frequency (milliseconds)
 
 - 
getNetConnectionIdleFrequencyint getNetConnectionIdleFrequency() Get server to server idle frequency (milliseconds)- Returns:
- server to server idle frequency (milliseconds)
 
 - 
setNetConnectionIdleFrequencyvoid setNetConnectionIdleFrequency(int netConnectionIdleFrequency) Set the server to server idle frequency (milliseconds)- Parameters:
- netConnectionIdleFrequency- server to server idle frequency (milliseconds)
 
 - 
getIdleCheckFrequencyint getIdleCheckFrequency() Get idle check frequency (milliseconds)- Returns:
- idle check frequency (milliseconds)
 
 - 
setIdleCheckFrequencyvoid setIdleCheckFrequency(int idleCheckFrequency) Set idle check frequency (milliseconds)- Parameters:
- idleCheckFrequency- idle check frequency (milliseconds)
 
 - 
getIdleWorkerCountint getIdleWorkerCount() Get number of threads used to generate idle events- Returns:
- number of threads used to generate idle events
 
 - 
setIdleWorkerCountvoid setIdleWorkerCount(int idleWorkerCount) Set number of threads used to generate idle events- Parameters:
- idleWorkerCount- number of threads used to generate idle events
 
 - 
getKeepAliveTimeoutint getKeepAliveTimeout() Get the RTMPT connection keep alive timeout- Returns:
- RTMPT connection keep alive timeout
 
 - 
setKeepAliveTimeoutvoid setKeepAliveTimeout(int keepAliveTimeout) Set the RTMPT connection keep alive timeout- Parameters:
- keepAliveTimeout- RTMPT connection keep alive timeout
 
 - 
addIdleWorkerListenervoid addIdleWorkerListener(com.wowza.wms.util.IIdleWorkerNotify idleWorkerListener) Add idleWorker listener. An idleWorker listener will receive the following events: onIdleWorkerCreate, onIdleWorkerDestroy.- Parameters:
- idleWorkerListener- idleWorker listener
 
 - 
removeIdleWorkerListenervoid removeIdleWorkerListener(com.wowza.wms.util.IIdleWorkerNotify idleWorkerListener) Remove idleWorker listener- Parameters:
- idleWorkerListener- idleWorker listener
 
 - 
getNetConnectionHostPortConfigHostPortConfig getNetConnectionHostPortConfig() Get the socket configuration for server to server connections- Returns:
- socket configuration for server to server connections
 
 - 
getMediaCasterSettingsMediaCasterSettings getMediaCasterSettings() Get the media caster settings- Returns:
- media caster settings
 
 - 
getMediaCasterListMediaCasterList getMediaCasterList() Get the list of media caster definitions (MediaCaster.xml)- Returns:
- list of media caster definitions
 
 - 
getApplicationNamesjava.util.List getApplicationNames() Get a list of application names- Returns:
- list of application names
 
 - 
getApplicationFolderNamesjava.util.List getApplicationFolderNames() Get a list of application folder names- Returns:
- list of application folder names
 
 - 
applicationExistsboolean applicationExists(String name) Return true if an application folder exists for this application name- Parameters:
- name- application name
- Returns:
- true if an application folder exists for this application name
 
 - 
getRTPContextRTPContext getRTPContext() Get the RTP (real time protocol) virtual host context- Returns:
- RTP (real time protocol) virtual host context
 
 - 
getWebRTCContextcom.wowza.wms.webrtc.model.WebRTCContext getWebRTCContext() Get the WebRTC virtual host context- Returns:
- WebRTC virtual host context
 
 - 
getHTTPStreamerContextcom.wowza.wms.httpstreamer.model.HTTPStreamerContext getHTTPStreamerContext() Get the HTTPStreamer (Cupertino Streaming and Silverlight Smooth Streaming) host context- Returns:
- HTTPStreamer (Cupertino Streaming and Silverlight Smooth Streaming) host context
 
 - 
getRTPDatagramConfigIncomingcom.wowza.wms.rtp.transport.RTPUDPDatagramConfig getRTPDatagramConfigIncoming() Get the RTP Datagram Socket configuration- Returns:
- RTP Datagram Socket configuration
 
 - 
getRTPDatagramConfigOutgoingcom.wowza.wms.rtp.transport.RTPUDPDatagramConfig getRTPDatagramConfigOutgoing() Get the RTP Datagram Socket configuration- Returns:
- RTP Datagram Socket configuration
 
 - 
getAuthenticationListcom.wowza.wms.authentication.AuthenticationList getAuthenticationList() Get the list of available authentication methods- Returns:
- list of available authentication methods
 
 - 
getIdleMinimumWaitTimeint getIdleMinimumWaitTime() Get the minimum time (milliseconds) the idle worker thread will sleep before generating idle events- Returns:
- minimum time (milliseconds) the idle worker thread will sleep before generating idle events
 
 - 
setIdleMinimumWaitTimevoid setIdleMinimumWaitTime(int idleMinimumWaitTime) Set the minimum time (milliseconds) the idle worker thread will sleep before generating idle events- Parameters:
- idleMinimumWaitTime- minimum time (milliseconds) the idle worker thread will sleep before generating idle events
 
 - 
getIdleWorkerscom.wowza.wms.util.IdleWorkersUtil getIdleWorkers() Get the idle worker utility- Returns:
- idle worker utility
 
 - 
isShuttingDownboolean isShuttingDown() Is the VHost shutting down- Returns:
- true if the vhost is shutting down
 
 - 
setShuttingDownvoid setShuttingDown(boolean shuttingDown) Set VHost shutting down flag- Parameters:
- shuttingDown- true if the vhost is shutting down
 
 - 
reparentClientvoid reparentClient(IClient client) Move a client object to a new vhost. This can only be done right after the handshake process has completed. See IVHostNotify.onVHostClientConnect.- Parameters:
- client- client object to move
 
 - 
getDynamicLogPropertiesjava.util.Properties getDynamicLogProperties() Get the dynamic log properties defined at the vhost level in conf/log4j.properties- Returns:
- dynamic log properties defined at the vhost level
 
 - 
setDynamicLogPropertiesvoid setDynamicLogProperties(java.util.Properties dynamicLogProperties) Set the dynamic log properties set at the vhost level- Parameters:
- dynamicLogProperties- dynamic log properties defined at the vhost level
 
 - 
shutdownApplicationvoid shutdownApplication(String appName) Shutdown an application by name. This will disconnect all clients connected to all child application instances.- Parameters:
- appName- application name
 
 - 
shutdownApplicationvoid shutdownApplication(String appName, boolean deleteFolder)Shutdown an application by name. This will disconnect all clients connected to all child application instances.- Parameters:
- appName- application name
- deleteFolder- delete the application folder
 
 - 
unbindAllHostPortsvoid unbindAllHostPorts() Unbind all HostPorts and drop all connections
 - 
suspendAllHostPortsvoid suspendAllHostPorts() Suspend all HostPorts from accepting new connections. Current connections will continue to be serviced
 - 
closeHostPortvoid closeHostPort(HostPort hostPort, boolean isSuspend) Close an individual HostPort- Parameters:
- hostPort- host port to close
- isSuspend- if true will just suspend the HostPort from accepting new connections, if false will unbind and drop all connections
 
 - 
isSuspendedboolean isSuspended() Returns true is all HostPorts connected to this VHost are suspended
 - 
touchApplicationInstanceboolean touchApplicationInstance(String appName) Start an application instance if it is not already started then touch it so it stays loaded for at least 3 seconds.- Parameters:
- appName- application name
- Returns:
- true is successful
 
 - 
touchApplicationInstanceboolean touchApplicationInstance(String appName, String appInstanceName)Start an application instance if it is not already started then touch it so it stays loaded for at least 3 seconds. The default appInstanceName _definst_ will be used.- Parameters:
- appName- application name
- appInstanceName- app instance name
- Returns:
- true is successful
 
 - 
getApplicationInstanceIApplicationInstance getApplicationInstance(String appName, String appInstanceName) Gets an application instance for an application. This will create the application and application instance if it was not already created.- Parameters:
- appName- application name or _defapp_ if not supplied
- appInstanceName- application instance name or _definst_ if not supplied
- Returns:
- created application instance unless the application name does not map to an application in which case returns null
 
 - 
getApplicationInstanceIApplicationInstance getApplicationInstance(String appName, String appInstanceName, boolean doLoad) Gets an application instance for an application.- Parameters:
- appName- application name or _defapp_ if not supplied
- appInstanceName- application instance name or _definst_ if not supplied
- doLoad- if false, will not create the application or application instance.
- Returns:
- created application instance unless the application name does not map to an application in which case returns null
 
 - 
startApplicationInstanceboolean startApplicationInstance(String appName) Start an application instance. The default appInstanceName _definst_ will be used.- Parameters:
- appName- application name
- Returns:
- true is successful
 
 - 
startApplicationInstanceboolean startApplicationInstance(String appName, String appInstanceName)Start an application instance.- Parameters:
- appName- application name
- appInstanceName- app instance name
- Returns:
- true is successful
 
 - 
getUDPTransportManagercom.wowza.wms.rtp.transport.UDPTransportManager getUDPTransportManager() Get the UDP transport manager.- Returns:
- UDP transport manager
 
 - 
getHTTPStreamerListcom.wowza.wms.httpstreamer.model.HTTPStreamerList getHTTPStreamerList() Get the list of HTTPStreamers- Returns:
- list of HTTPStreamers
 
 - 
getHTTPStreamerAdapterIHTTPStreamerAdapter getHTTPStreamerAdapter(String ID) Get an HTTPStreamerAdapter by ID- Parameters:
- ID- HTTPStreamerAdapter ID
- Returns:
- HTTPStreamerAdapter
 
 - 
putHTTPStreamerAdaptervoid putHTTPStreamerAdapter(String ID, IHTTPStreamerAdapter adapter)Add an HTTPStreamerAdapter- Parameters:
- ID- HTTPStreamerAdapter ID
- adapter- HTTPStreamerAdapter
 
 - 
getHTTPStreamerAdapterIDsjava.util.List<String> getHTTPStreamerAdapterIDs() Get a list of HTTPStreamerAdapter IDs- Returns:
- list of HTTPStreamerAdapter IDs
 
 - 
getLiveStreamPacketizerListcom.wowza.wms.stream.livepacketizer.LiveStreamPacketizerList getLiveStreamPacketizerList() Get the LiveStreamPacketizerList- Returns:
- LiveStreamPacketizerList
 
 - 
getLiveStreamTranscoderListcom.wowza.wms.stream.livetranscoder.LiveStreamTranscoderList getLiveStreamTranscoderList() Get the LiveStreamTranscoderList- Returns:
- LiveStreamTranscoderList
 
 - 
getTimedTextProviderConfigcom.wowza.wms.timedtext.model.TimedTextProviderConfiguration getTimedTextProviderConfig() Get the config of TimedTextProviders- Returns:
- TimedTextProviders config
 
 - 
getStartupStreamsjava.util.List<com.wowza.wms.vhost.StartupStream> getStartupStreams() Get the list of streams to start at virtual host startup- Returns:
- list of streams to start at virtual host startup
 
 - 
addStartupStreamvoid addStartupStream(com.wowza.wms.vhost.StartupStream startupStream) Add a stream to the list of streams to start and virtual host startup- Parameters:
- startupStream- startup stream
 
 - 
isStartStarupStreamsboolean isStartStarupStreams() Returns true if the startup streams are to start and vhost startup- Returns:
- true if the startup streams are to start and vhost startup
 
 - 
setStartStarupStreamsvoid setStartStarupStreams(boolean startStarupStreams) Set to true to startup startup stream as vhost startup- Parameters:
- startStarupStreams- true if the startup streams are to start and vhost startup
 
 - 
startStartupStreamsvoid startStartupStreams() Method to start startup streams
 - 
stopStartupStreamsvoid stopStartupStreams() Method to stop startup streams
 - 
getDvrRecorderListcom.wowza.wms.stream.livedvr.DvrRecorderList getDvrRecorderList() Get the DvrRecorderList- Returns:
- list of DVR Recorders
 
 - 
getDvrStoreListcom.wowza.wms.dvr.model.DvrStoreList getDvrStoreList() Get the list of DVR Stores- Returns:
- list of DVR Stores
 
 - 
getLiveStreamRecordManagerILiveStreamRecordManager getLiveStreamRecordManager() Returns the LiveStreamRecordManager associated with this vhost This object contains the active LiveStreamRecorders- Returns:
- ILiveStreamRecordManager associated with this vhost
 
 - 
getPushPublishManagercom.wowza.wms.pushpublish.manager.IPushPublishManager getPushPublishManager() Returns the PushPbulishManager associated with this vhost This object provides access to PushPublers associated with- Returns:
- IPushPublishManager associated with this vhost
 
 - 
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_*)
 
 - 
getProtocolUsagevoid getProtocolUsage(boolean[] protocolsInUse) Get the protocols in use by this application instance (see IApplicationInstance.PROTCOLUSAGE_*)
 - 
getTranscoderVODContextcom.wowza.wms.transcoder.vod.TranscoderVODContext getTranscoderVODContext() Get the VOD transcoder context- Returns:
- VOD transcoder context
 
 - 
getThumbnailerContextcom.wowza.wms.transcoder.thumbnailer.ThumbnailerContext getThumbnailerContext() Get the VOD transcoder context- Returns:
- VOD transcoder context
 
 - 
getHTTPStreamerRequestValidatorIVHostHTTPStreamerRequestValidator getHTTPStreamerRequestValidator() Get the HTTP streamer request validator- Returns:
- HTTP streamer request validator
 
 - 
setHTTPStreamerRequestValidatorvoid setHTTPStreamerRequestValidator(IVHostHTTPStreamerRequestValidator httpRequestValidator) Set the HTTP streamer request validator- Parameters:
- httpRequestValidator- HTTP streamer request validator
 
 - 
getHTTPStreamerMaxPathLenint getHTTPStreamerMaxPathLen() Get the max HTTP streamer path length- Returns:
- max HTTP streamer path length
 
 - 
setHTTPStreamerMaxPathLenvoid setHTTPStreamerMaxPathLen(int httpStreamerMaxPathLen) Set the max HTTP streamer path length- Parameters:
- httpStreamerMaxPathLen- max HTTP streamer path length
 
 - 
getRTSPRequestValidatorIVHostRTSPRequestValidator getRTSPRequestValidator() Get the RTSP request validator- Returns:
- RTSP request validator
 
 - 
setRTSPRequestValidatorvoid setRTSPRequestValidator(IVHostRTSPRequestValidator rtspRequestValidator) Set the RTSP request validator- Parameters:
- rtspRequestValidator- RTSP request validator
 
 - 
getRTSPMaxPathLenint getRTSPMaxPathLen() Get the max RTSP stream path length- Returns:
- max RTSP stream path length
 
 - 
setRTSPMaxPathLenvoid setRTSPMaxPathLen(int rtspStreamerMaxPathLen) Set the max RTSP stream path length- Parameters:
- rtspStreamerMaxPathLen- max RTSP stream path length
 
 - 
getLiveStreamTranscoderSessionCountlong getLiveStreamTranscoderSessionCount() Get the current number of live stream transcoder sessions.- Returns:
- current number of live stream transcoder sessions
 
 - 
getPushPublishContextPushPublishContext getPushPublishContext() Get the push publish context- Returns:
- push publish context
 
 - 
getUnidentifiedSessionTimeoutint getUnidentifiedSessionTimeout() Get the unidentified session timeout (TCP session that we are not able to identifiy)- Returns:
- timeout in milliseconds
 
 - 
setUnidentifiedSessionTimeoutvoid setUnidentifiedSessionTimeout(int unidentifiedSessionTimeout) Set the unidentified session timeout (TCP session that we are not able to identifiy)- Parameters:
- unidentifiedSessionTimeout- timeout in milliseconds
 
 - 
getStartupStreamsDelayTimeint getStartupStreamsDelayTime() Get startup streams delay time (milliseconds). Time between items started in StartupStreams.xml.- Returns:
- delay time
 
 - 
setStartupStreamsDelayTimevoid setStartupStreamsDelayTime(int startupStreamsDelayTime) Set startup streams delay time (milliseconds). Time between items started in StartupStreams.xml.- Parameters:
- startupStreamsDelayTime- delay time
 
 - 
getHTTPPersistentRejectInvalidboolean getHTTPPersistentRejectInvalid() Get HTTPPersisent rejection status. Default is false.- Returns:
- status
 
 - 
setHTTPPersistentRejectInvalidvoid setHTTPPersistentRejectInvalid(boolean flag) Set if invalid HTTP requests should be rejected when using persistent connections- Parameters:
- flag- enable/disable
 
 - 
isWebRTCSessionFactoryboolean isWebRTCSessionFactory() Is WebRTC enabled for this virtual host- Returns:
- true if WebRTC is enabled
 
 - 
getWebRTCSessionFactorycom.wowza.wms.webrtc.tcpsession.IWebRTCTCPSessionFactory getWebRTCSessionFactory() Get WebRTC session factory- Returns:
- WebRTC session factory
 
 - 
getWebSocketContextWebSocketContext getWebSocketContext() Get the WebSocket Context- Returns:
- WebSocket Context
 
 - 
getHTTPProviderContextcom.wowza.wms.http.HTTPProviderContext getHTTPProviderContext() Get the HTTPProvider Context- Returns:
- HTTPProvider Context
 
 - 
getWebSocketSessionsjava.util.List<IWebSocketSession> getWebSocketSessions() Get a list of active WebSocket sessions- Returns:
- list of active WebSocket sessions
 
 - 
getWebSocketSessionCountint getWebSocketSessionCount() Get the total number of WebSocket sessions- Returns:
- total number of WebSocket sessions
 
 - 
getDomainToKeyStoreMapListcom.wowza.wms.vhost.DomainToKeyStoreMapList getDomainToKeyStoreMapList() Get the SSL certificate map list. It is a list of maps that map domain names to SSL certificates.- Returns:
- SSL certificate map list
 
 
- 
 
-