IModuleOnApppublic class ModuleMediaCaster extends ModuleBase implements IModuleOnApp
ModuleMediaCaster: Module for manipulating media casters through a Flash UI.
CALLBACK_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 | Description |
|---|---|
ModuleMediaCaster() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
acquireMediaCaster(IClient client,
com.wowza.wms.request.RequestFunction function,
AMFDataList params) |
Increment the lock count of a media caster stream.
|
void |
getLockCount(IClient client,
com.wowza.wms.request.RequestFunction function,
AMFDataList params) |
Get the current lock count for a stream
|
void |
getPlayerCount(IClient client,
com.wowza.wms.request.RequestFunction function,
AMFDataList params) |
Get the numbers of players associated with a particular media caster
|
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)
|
void |
onAppStart(IApplicationInstance appInstance) |
onAppStart
|
void |
onAppStop(IApplicationInstance appInstance) |
onAppStop
|
void |
releaseMediaCaster(IClient client,
com.wowza.wms.request.RequestFunction function,
AMFDataList params) |
Decrement the lock count of a media caster stream
|
void |
resetStream(IClient client,
com.wowza.wms.request.RequestFunction function,
AMFDataList params) |
Reset a media caster stream
|
void |
shutdownStream(IClient client,
com.wowza.wms.request.RequestFunction function,
AMFDataList params) |
Force shutdown a media caster stream
|
getAppInstance, getApplication, getCallbackParamCount, 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, sendStreamOnStatusErrorpublic void acquireMediaCaster(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params)
client - clientfunction - functionparams - {streamName, streamType [optional]}public void getLockCount(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params)
client - clientfunction - functionparams - {streamName}public void getPlayerCount(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params)
client - clientfunction - functionparams - {streamName}public void getStreamNames(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params)
client - clientfunction - functionparams - (no params)public void onAppStart(IApplicationInstance appInstance)
onAppStart in interface IModuleOnAppappInstance - application instancepublic void onAppStop(IApplicationInstance appInstance)
onAppStop in interface IModuleOnAppappInstance - application instancepublic void releaseMediaCaster(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params)
client - clientfunction - functionparams - {streamName}public void resetStream(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params)
client - clientfunction - functionparams - {streamName}public void shutdownStream(IClient client, com.wowza.wms.request.RequestFunction function, AMFDataList params)
client - clientfunction - functionparams - {streamName}