Package com.wowza.wms.httpstreamer.model
Interface IHTTPStreamerAdapter
- 
 public interface IHTTPStreamerAdapterIHTTPStreamerAdapter: HTTP streaming adapter interface 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanHandle(String path)Return true if can handle requestStringgetAdapterName()Get the name of this adaptercom.wowza.wms.httpstreamer.model.HTTPStreamerItemgetHTTPStreamerItem()Get the HTTP streamer item associated with this adapterStringgetID()Get the id of this adapterintgetIdleFrequency()Get the idle frequency (milliseconds) for HTTP requests.StringgetLiveStreamPacketizer(IApplicationInstance appInstance)Get the default live stream packetizer.StringgetLiveStreamPacketizer(IApplicationInstance appInstance, com.wowza.wms.httpstreamer.model.SegmentFormat segmentFormat)Get the default live stream packetizer.StringgetLiveStreamRepeater(IApplicationInstance appInstance)Get the default live stream repeater.StringgetLiveStreamRepeater(IApplicationInstance appInstance, com.wowza.wms.httpstreamer.model.SegmentFormat segmentFormat)Get the default live stream repeater.WMSPropertiesgetProperties()Get propertiesintgetSessionProtocol()Set the adapter session protocol.IVHostgetVHost()Get the vhost associated with this adaptervoidinit()Initialize the HTTP streaming adaptervoidservice(org.apache.mina.common.IoSession session, com.wowza.wms.server.RtmpRequestMessage req, com.wowza.wms.server.RtmpResponseMessage resp)Called to service each requestvoidsetHTTPStreamerItem(com.wowza.wms.httpstreamer.model.HTTPStreamerItem httpStreamerItem)Set the HTTP streamer item associated with this adaptervoidsetID(String id)Set the id of this adaptervoidsetProperties(WMSProperties properties)Set propertiesvoidsetSessionProtocol(int sessionProtocol)Get the adapter session protocol.voidsetVHost(IVHost vhost)Set the vhost associated with this adaptervoidshutdownSession(IApplicationInstance appInstance, IHTTPStreamerSession session)Called when an HTTP streaming session is shutdown
 
- 
- 
- 
Method Detail- 
canHandleboolean canHandle(String path) Return true if can handle request- Parameters:
- path- request path
- Returns:
- true if can handle request
 
 - 
servicevoid service(org.apache.mina.common.IoSession session, com.wowza.wms.server.RtmpRequestMessage req, com.wowza.wms.server.RtmpResponseMessage resp)Called to service each request- Parameters:
- session- io session
- req- request
- resp- response
 
 - 
getPropertiesWMSProperties getProperties() Get properties- Returns:
- properties
 
 - 
setPropertiesvoid setProperties(WMSProperties properties) Set properties- Parameters:
- properties- properties
 
 - 
getHTTPStreamerItemcom.wowza.wms.httpstreamer.model.HTTPStreamerItem getHTTPStreamerItem() Get the HTTP streamer item associated with this adapter- Returns:
- HTTP streamer item
 
 - 
setHTTPStreamerItemvoid setHTTPStreamerItem(com.wowza.wms.httpstreamer.model.HTTPStreamerItem httpStreamerItem) Set the HTTP streamer item associated with this adapter- Parameters:
- httpStreamerItem- HTTP streamer item
 
 - 
getVHostIVHost getVHost() Get the vhost associated with this adapter- Returns:
- vhost
 
 - 
setVHostvoid setVHost(IVHost vhost) Set the vhost associated with this adapter- Parameters:
- vhost- vhost
 
 - 
initvoid init() Initialize the HTTP streaming adapter
 - 
shutdownSessionvoid shutdownSession(IApplicationInstance appInstance, IHTTPStreamerSession session) Called when an HTTP streaming session is shutdown- Parameters:
- appInstance- application instance
- session- HTTP streaming session
 
 - 
getIdleFrequencyint getIdleFrequency() Get the idle frequency (milliseconds) for HTTP requests. This is how often the session is called back while active.- Returns:
- idle frequency (milliseconds)
 
 - 
getAdapterNameString getAdapterName() Get the name of this adapter- Returns:
- name of this adapter
 
 - 
getIDString getID() Get the id of this adapter- Returns:
- id of this adapter
 
 - 
setIDvoid setID(String id) Set the id of this adapter- Parameters:
- id- id of this adapter
 
 - 
getSessionProtocolint getSessionProtocol() Set the adapter session protocol. See IHTTPStreamerSession.SESSIONPROTOCOL_*- Returns:
- adapter session protocol
 
 - 
setSessionProtocolvoid setSessionProtocol(int sessionProtocol) Get the adapter session protocol. See IHTTPStreamerSession.SESSIONPROTOCOL_*- Parameters:
- sessionProtocol- adapter session protocol
 
 - 
getLiveStreamPacketizerString getLiveStreamPacketizer(IApplicationInstance appInstance) Get the default live stream packetizer.- Parameters:
- appInstance- application instance
 
 - 
getLiveStreamPacketizerString getLiveStreamPacketizer(IApplicationInstance appInstance, com.wowza.wms.httpstreamer.model.SegmentFormat segmentFormat) Get the default live stream packetizer.- Parameters:
- appInstance- application instance
- segmentFormat- segmentFormat
 
 - 
getLiveStreamRepeaterString getLiveStreamRepeater(IApplicationInstance appInstance) Get the default live stream repeater.- Parameters:
- appInstance- application instance
 
 - 
getLiveStreamRepeaterString getLiveStreamRepeater(IApplicationInstance appInstance, com.wowza.wms.httpstreamer.model.SegmentFormat segmentFormat) Get the default live stream repeater.- Parameters:
- appInstance- application instance
- segmentFormat- segmentFormat
 
 
- 
 
-