Interface IMediaCasterValidateMediaCaster


  • public interface IMediaCasterValidateMediaCaster

    IMediaCasterValidateMediaCaster: interface for implementing stream validators. See IApplicationInstance.setMediaCasterValidator(IMediaCasterValidateMediaCaster mediaCasterValidator)

    • 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 instance
        mediaCaster - media caster
        Returns:
        true, if valid
      • onResetMediaCaster

        boolean onResetMediaCaster​(IApplicationInstance appInstance,
                                   IMediaCaster mediaCaster)
        Called when media caster is reset
        Parameters:
        appInstance - application instance
        mediaCaster - media caster
        Returns:
        return true