com.wowza.wms.httpstreamer.model
Interface IHTTPStreamerApplicationContext


public interface IHTTPStreamerApplicationContext

IHTTPStreamerApplicationContext: HTTP streamer application context interface. Used by HTTP streaming adapter to store per-application information.


Method Summary
 IApplicationInstance getAppInstance()
          Get application instance
 WMSProperties getProperties()
          Get properties
 MediaCasterItem getRepeaterMediaCasterDef()
          Get the live repeater media caster definition
 String getStreamTypeStr()
          Get stream type
 IVHost getVHost()
          Get vhost
 void init(IApplicationInstance appInstance, com.wowza.wms.httpstreamer.model.HTTPStreamerItem httpStreamerItem)
          Initialize context
 void setRepeaterMediaCasterDef(MediaCasterItem repeaterMediaCasterDef)
          Set the live repeater media caster definition
 void setStreamTypeStr(String streamTypeStr)
          Set stream type
 

Method Detail

getAppInstance

IApplicationInstance getAppInstance()
Get application instance

Returns:
application instance

getProperties

WMSProperties getProperties()
Get properties

Returns:
properties

getRepeaterMediaCasterDef

MediaCasterItem getRepeaterMediaCasterDef()
Get the live repeater media caster definition

Returns:
live repeater media caster definition

getStreamTypeStr

String getStreamTypeStr()
Get stream type

Returns:
stream type

getVHost

IVHost getVHost()
Get vhost

Returns:
vhost

init

void init(IApplicationInstance appInstance,
          com.wowza.wms.httpstreamer.model.HTTPStreamerItem httpStreamerItem)
Initialize context

Parameters:
appInstance - application instance
httpStreamerItem - HTTP streamer

setRepeaterMediaCasterDef

void setRepeaterMediaCasterDef(MediaCasterItem repeaterMediaCasterDef)
Set the live repeater media caster definition

Parameters:
repeaterMediaCasterDef - live repeater media caster definition

setStreamTypeStr

void setStreamTypeStr(String streamTypeStr)
Set stream type

Parameters:
streamTypeStr - stream type