Package com.wowza.wms.mediacaster
Class ModuleMediaCaster
- Object
- 
- com.wowza.wms.module.ModuleBase
- 
- com.wowza.wms.mediacaster.ModuleMediaCaster
 
 
- 
- All Implemented Interfaces:
- IModuleOnApp
 
 public class ModuleMediaCaster extends ModuleBase implements IModuleOnApp ModuleMediaCaster: Module for manipulating media casters through a Flash UI. 
- 
- 
Field Summary- 
Fields inherited from class com.wowza.wms.module.ModuleBaseCALLBACK_PARAM1, CALLBACK_PARAM10, CALLBACK_PARAM2, CALLBACK_PARAM3, CALLBACK_PARAM4, CALLBACK_PARAM5, CALLBACK_PARAM6, CALLBACK_PARAM7, CALLBACK_PARAM8, CALLBACK_PARAM9, PARAM1, PARAM10, PARAM2, PARAM3, PARAM4, PARAM5, PARAM6, PARAM7, PARAM8, PARAM9, PARAMMETHODNAME, PLAYTRANSITION_APPEND, PLAYTRANSITION_APPEND_IMMEDIATE, PLAYTRANSITION_RESET, PLAYTRANSITION_RESET_IMMEDIATE, PLAYTRANSITION_STOP, PLAYTRANSITION_SWAP, PLAYTRANSITION_SWITCH, PLAYTRANSITION_UNKNOWN, PLAYTRANSITIONSTR_APPEND, PLAYTRANSITIONSTR_RESET, PLAYTRANSITIONSTR_STOP, PLAYTRANSITIONSTR_SWAP, PLAYTRANSITIONSTR_SWITCH, PLAYTRANSITIONSTR_UNKNOWN
 
- 
 - 
Constructor SummaryConstructors Constructor Description ModuleMediaCaster()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacquireMediaCaster(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params)Increment the lock count of a media caster stream.voidgetLockCount(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params)Get the current lock count for a streamvoidgetPlayerCount(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params)Get the numbers of players associated with a particular media castervoidgetStreamNames(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params)Get an array of stream names that are media casters associate with this application instance (returned as AMFDataArray)voidonAppStart(IApplicationInstance appInstance)onAppStartvoidonAppStop(IApplicationInstance appInstance)onAppStopvoidreleaseMediaCaster(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params)Decrement the lock count of a media caster streamvoidresetStream(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params)Reset a media caster streamvoidshutdownStream(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params)Force shutdown a media caster stream- 
Methods inherited from class com.wowza.wms.module.ModuleBasegetAppInstance, getApplication, getCallbackParamCount, getLogger, getLogger, getLogger, getParam, getParamBoolean, getParamBoolean, getParamCount, getParamDate, getParamDouble, getParamDouble, getParamInt, getParamInt, getParamLong, getParamLong, getParamMixedArray, getParamObj, getParamString, getParamString, getParamType, getStream, getVHost, invokePrevious, invokePrevious, isSendResult, sendClientOnStatusError, sendResult, sendResult, sendResult, sendResult, sendResult, sendStreamOnStatusError
 
- 
 
- 
- 
- 
Method Detail- 
onAppStartpublic void onAppStart(IApplicationInstance appInstance) onAppStart- Specified by:
- onAppStartin interface- IModuleOnApp
- Parameters:
- appInstance- application instance
 
 - 
onAppStoppublic void onAppStop(IApplicationInstance appInstance) onAppStop- Specified by:
- onAppStopin interface- IModuleOnApp
- Parameters:
- appInstance- application instance
 
 - 
getLockCountpublic void getLockCount(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params) Get the current lock count for a stream- Parameters:
- client- client
- function- function
- params- {streamName}
 
 - 
getPlayerCountpublic void getPlayerCount(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params) Get the numbers of players associated with a particular media caster- Parameters:
- client- client
- function- function
- params- {streamName}
 
 - 
getStreamNamespublic void getStreamNames(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params) Get an array of stream names that are media casters associate with this application instance (returned as AMFDataArray)- Parameters:
- client- client
- function- function
- params- (no params)
 
 - 
resetStreampublic void resetStream(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params) Reset a media caster stream- Parameters:
- client- client
- function- function
- params- {streamName}
 
 - 
shutdownStreampublic void shutdownStream(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params) Force shutdown a media caster stream- Parameters:
- client- client
- function- function
- params- {streamName}
 
 - 
acquireMediaCasterpublic void acquireMediaCaster(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params) Increment the lock count of a media caster stream. If the media caster does not exist create it and connect.- Parameters:
- client- client
- function- function
- params- {streamName, streamType [optional]}
 
 - 
releaseMediaCasterpublic void releaseMediaCaster(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params) Decrement the lock count of a media caster stream- Parameters:
- client- client
- function- function
- params- {streamName}
 
 
- 
 
-