Package com.wowza.wms.mediacaster
Interface IMediaCasterValidateMediaCaster
-
public interface IMediaCasterValidateMediaCaster
IMediaCasterValidateMediaCaster: interface for implementing stream validators. See IApplicationInstance.setMediaCasterValidator(IMediaCasterValidateMediaCaster mediaCasterValidator)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
onResetMediaCaster(IApplicationInstance appInstance, IMediaCaster mediaCaster)
Called when media caster is resetboolean
onValidateMediaCaster(IApplicationInstance appInstance, IMediaCaster mediaCaster)
Called for each media caster to validate the media caster.void
onValidateMediaCastersStart(IApplicationInstance appInstance)
Called when validation for all streams of an application instance is startingvoid
onValidateMediaCastersStop(IApplicationInstance appInstance)
Called when validation for all streams of an application instance is done
-
-
-
Method Detail
-
onValidateMediaCastersStart
void onValidateMediaCastersStart(IApplicationInstance appInstance)
Called when validation for all streams of an application instance is starting- Parameters:
appInstance
- application instance
-
onValidateMediaCastersStop
void onValidateMediaCastersStop(IApplicationInstance appInstance)
Called when validation for all streams of an application instance is done- Parameters:
appInstance
-
-
onValidateMediaCaster
boolean onValidateMediaCaster(IApplicationInstance appInstance, IMediaCaster mediaCaster)
Called for each media caster to validate the media caster. Return true if valid.- Parameters:
appInstance
- application instancemediaCaster
- media caster- Returns:
- true, if valid
-
onResetMediaCaster
boolean onResetMediaCaster(IApplicationInstance appInstance, IMediaCaster mediaCaster)
Called when media caster is reset- Parameters:
appInstance
- application instancemediaCaster
- media caster- Returns:
- return true
-
-