Class LiveStreamTranscoderActionNotifyBase

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onCalculateSourceAudioBitrate​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, long bitrate)
      Called when the bitrate of the source audio stream is calculated
      void onCalculateSourceVideoBitrate​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, long bitrate)
      Called when the bitrate of the source video stream is calculated
      void onInitAfterLoadTemplate​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
      Called just after transcoder template is loaded.
      void onInitBeforeLoadTemplate​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
      Called just before transcoder template is loaded
      void onInitStart​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, String streamName, String transcoderName, IApplicationInstance appInstance, com.wowza.wms.stream.livetranscoder.LiveStreamTranscoderItem liveStreamTranscoderItem)
      Call when live stream transcoder is first created
      void onInitStop​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
      At the end of the initialization process
      void onRegisterStreamNameGroup​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderStreamNameGroup streamNameGroup)
      Called after a stream name group is resolved and registered with MediaStreamMap
      void onResetStream​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
      Called when the stream feeding the live stream transcoder switches.
      void onSessionAudioDecodeCodecInfo​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.media.model.MediaCodecInfoAudio codecInfoAudio)
      Called when audio decoding information is available.
      void onSessionAudioEncodeCodecInfo​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionAudioEncode sessionAudioEncode, com.wowza.wms.media.model.MediaCodecInfoAudio codecInfoAudio)
      Called when audio encoding information is available.
      void onSessionAudioEncodeCreate​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionAudioEncode sessionAudioEncode)
      Called when audio encoder session is created.
      void onSessionAudioEncodeInit​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionAudioEncode sessionAudioEncode)
      Called after audio session is initialized.
      void onSessionAudioEncodeSetup​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionAudioEncode sessionAudioEncode)
      Called after native audio encoder is created and initialized.
      void onSessionDataEncodeCreate​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionDataEncode sessionDataEncode)
      Called when data encoder session is created.
      void onSessionDataEncodeInit​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionDataEncode sessionDataEncode)
      Called after data session is initialized.
      void onSessionDestinationCreate​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionDestination sessionDestination)
      Called when transcoding destination is created
      void onSessionVideoDecodeCodecInfo​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.media.model.MediaCodecInfoVideo codecInfoVideo)
      Called when video decoding information is available.
      void onSessionVideoEncodeCodecInfo​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionVideoEncode sessionVideoEncode, com.wowza.wms.media.model.MediaCodecInfoVideo codecInfoVideo)
      Called when video encoding information is available.
      void onSessionVideoEncodeCreate​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionVideoEncode sessionVideoEncode)
      Called when video encoder session is created.
      void onSessionVideoEncodeInit​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionVideoEncode sessionVideoEncode)
      Called after video session is initialized.
      void onSessionVideoEncodeSetup​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionVideoEncode sessionVideoEncode)
      Called after native video encoder is created and initialized.
      void onShutdownStart​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
      Called when the live stream transcoder starts to shutdown.
      void onShutdownStop​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
      Called when the live stream transcoder is shutdown.
      void onUnregisterStreamNameGroup​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderStreamNameGroup streamNameGroup)
      Called after a stream name group is unregistered with MediaStreamMap
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LiveStreamTranscoderActionNotifyBase

        public LiveStreamTranscoderActionNotifyBase()
    • Method Detail

      • onInitStart

        public void onInitStart​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder,
                                String streamName,
                                String transcoderName,
                                IApplicationInstance appInstance,
                                com.wowza.wms.stream.livetranscoder.LiveStreamTranscoderItem liveStreamTranscoderItem)
        Description copied from interface: ILiveStreamTranscoderActionNotify
        Call when live stream transcoder is first created
        Specified by:
        onInitStart in interface ILiveStreamTranscoderActionNotify
        Parameters:
        liveStreamTranscoder - live stream transcoder
        streamName - stream name
        transcoderName - transcoder name
        appInstance - application instance
        liveStreamTranscoderItem - live stream transcoder definition
      • onInitAfterLoadTemplate

        public void onInitAfterLoadTemplate​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
        Description copied from interface: ILiveStreamTranscoderActionNotify
        Called just after transcoder template is loaded. Good place to modify values loaded from template.
        Specified by:
        onInitAfterLoadTemplate in interface ILiveStreamTranscoderActionNotify
        Parameters:
        liveStreamTranscoder - live stream transcoder
      • onCalculateSourceVideoBitrate

        public void onCalculateSourceVideoBitrate​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder,
                                                  long bitrate)
        Description copied from interface: ILiveStreamTranscoderActionNotify
        Called when the bitrate of the source video stream is calculated
        Specified by:
        onCalculateSourceVideoBitrate in interface ILiveStreamTranscoderActionNotify
        Parameters:
        liveStreamTranscoder - live stream transcoder
        bitrate - source bitrate (bytes per second)
      • onCalculateSourceAudioBitrate

        public void onCalculateSourceAudioBitrate​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder,
                                                  long bitrate)
        Description copied from interface: ILiveStreamTranscoderActionNotify
        Called when the bitrate of the source audio stream is calculated
        Specified by:
        onCalculateSourceAudioBitrate in interface ILiveStreamTranscoderActionNotify
        Parameters:
        liveStreamTranscoder - live stream transcoder
        bitrate - source bitrate (bytes per second)
      • onSessionDestinationCreate

        public void onSessionDestinationCreate​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder,
                                               com.wowza.wms.transcoder.model.TranscoderSessionDestination sessionDestination)
        Description copied from interface: ILiveStreamTranscoderActionNotify
        Called when transcoding destination is created
        Specified by:
        onSessionDestinationCreate in interface ILiveStreamTranscoderActionNotify
        Parameters:
        liveStreamTranscoder - live stream transcoder
        sessionDestination - destination
      • onSessionVideoEncodeCreate

        public void onSessionVideoEncodeCreate​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder,
                                               com.wowza.wms.transcoder.model.TranscoderSessionVideoEncode sessionVideoEncode)
        Description copied from interface: ILiveStreamTranscoderActionNotify
        Called when video encoder session is created.
        Specified by:
        onSessionVideoEncodeCreate in interface ILiveStreamTranscoderActionNotify
        Parameters:
        liveStreamTranscoder - live stream transcoder
        sessionVideoEncode - video session
      • onSessionAudioEncodeCreate

        public void onSessionAudioEncodeCreate​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder,
                                               com.wowza.wms.transcoder.model.TranscoderSessionAudioEncode sessionAudioEncode)
        Description copied from interface: ILiveStreamTranscoderActionNotify
        Called when audio encoder session is created.
        Specified by:
        onSessionAudioEncodeCreate in interface ILiveStreamTranscoderActionNotify
        Parameters:
        liveStreamTranscoder - live stream transcoder
        sessionAudioEncode - audio session
      • onSessionDataEncodeCreate

        public void onSessionDataEncodeCreate​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder,
                                              com.wowza.wms.transcoder.model.TranscoderSessionDataEncode sessionDataEncode)
        Description copied from interface: ILiveStreamTranscoderActionNotify
        Called when data encoder session is created.
        Specified by:
        onSessionDataEncodeCreate in interface ILiveStreamTranscoderActionNotify
        Parameters:
        liveStreamTranscoder - live stream transcoder
        sessionDataEncode - data session
      • onSessionVideoEncodeInit

        public void onSessionVideoEncodeInit​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder,
                                             com.wowza.wms.transcoder.model.TranscoderSessionVideoEncode sessionVideoEncode)
        Description copied from interface: ILiveStreamTranscoderActionNotify
        Called after video session is initialized.
        Specified by:
        onSessionVideoEncodeInit in interface ILiveStreamTranscoderActionNotify
        Parameters:
        liveStreamTranscoder - live stream transcoder
        sessionVideoEncode - video session
      • onSessionAudioEncodeInit

        public void onSessionAudioEncodeInit​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder,
                                             com.wowza.wms.transcoder.model.TranscoderSessionAudioEncode sessionAudioEncode)
        Description copied from interface: ILiveStreamTranscoderActionNotify
        Called after audio session is initialized.
        Specified by:
        onSessionAudioEncodeInit in interface ILiveStreamTranscoderActionNotify
        Parameters:
        liveStreamTranscoder - live stream transcoder
        sessionAudioEncode - audio session
      • onSessionDataEncodeInit

        public void onSessionDataEncodeInit​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder,
                                            com.wowza.wms.transcoder.model.TranscoderSessionDataEncode sessionDataEncode)
        Description copied from interface: ILiveStreamTranscoderActionNotify
        Called after data session is initialized.
        Specified by:
        onSessionDataEncodeInit in interface ILiveStreamTranscoderActionNotify
        Parameters:
        liveStreamTranscoder - live stream transcoder
        sessionDataEncode - data session
      • onSessionVideoEncodeSetup

        public void onSessionVideoEncodeSetup​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder,
                                              com.wowza.wms.transcoder.model.TranscoderSessionVideoEncode sessionVideoEncode)
        Description copied from interface: ILiveStreamTranscoderActionNotify
        Called after native video encoder is created and initialized.
        Specified by:
        onSessionVideoEncodeSetup in interface ILiveStreamTranscoderActionNotify
        Parameters:
        liveStreamTranscoder - live stream transcoder
        sessionVideoEncode - video session
      • onSessionAudioEncodeSetup

        public void onSessionAudioEncodeSetup​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder,
                                              com.wowza.wms.transcoder.model.TranscoderSessionAudioEncode sessionAudioEncode)
        Description copied from interface: ILiveStreamTranscoderActionNotify
        Called after native audio encoder is created and initialized.
        Specified by:
        onSessionAudioEncodeSetup in interface ILiveStreamTranscoderActionNotify
        Parameters:
        liveStreamTranscoder - live stream transcoder
        sessionAudioEncode - audio session
      • onSessionVideoEncodeCodecInfo

        public void onSessionVideoEncodeCodecInfo​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder,
                                                  com.wowza.wms.transcoder.model.TranscoderSessionVideoEncode sessionVideoEncode,
                                                  com.wowza.wms.media.model.MediaCodecInfoVideo codecInfoVideo)
        Description copied from interface: ILiveStreamTranscoderActionNotify
        Called when video encoding information is available.
        Specified by:
        onSessionVideoEncodeCodecInfo in interface ILiveStreamTranscoderActionNotify
        Parameters:
        liveStreamTranscoder - live stream transcoder
        sessionVideoEncode - video session
        codecInfoVideo - encoding info
      • onSessionAudioEncodeCodecInfo

        public void onSessionAudioEncodeCodecInfo​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder,
                                                  com.wowza.wms.transcoder.model.TranscoderSessionAudioEncode sessionAudioEncode,
                                                  com.wowza.wms.media.model.MediaCodecInfoAudio codecInfoAudio)
        Description copied from interface: ILiveStreamTranscoderActionNotify
        Called when audio encoding information is available.
        Specified by:
        onSessionAudioEncodeCodecInfo in interface ILiveStreamTranscoderActionNotify
        Parameters:
        liveStreamTranscoder - live stream transcoder
        sessionAudioEncode - audio session
        codecInfoAudio - encoding info
      • onSessionVideoDecodeCodecInfo

        public void onSessionVideoDecodeCodecInfo​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder,
                                                  com.wowza.wms.media.model.MediaCodecInfoVideo codecInfoVideo)
        Description copied from interface: ILiveStreamTranscoderActionNotify
        Called when video decoding information is available.
        Specified by:
        onSessionVideoDecodeCodecInfo in interface ILiveStreamTranscoderActionNotify
        Parameters:
        liveStreamTranscoder - live stream transcoder
        codecInfoVideo - video info
      • onSessionAudioDecodeCodecInfo

        public void onSessionAudioDecodeCodecInfo​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder,
                                                  com.wowza.wms.media.model.MediaCodecInfoAudio codecInfoAudio)
        Description copied from interface: ILiveStreamTranscoderActionNotify
        Called when audio decoding information is available.
        Specified by:
        onSessionAudioDecodeCodecInfo in interface ILiveStreamTranscoderActionNotify
        Parameters:
        liveStreamTranscoder - live stream transcoder
        codecInfoAudio - audio info
      • onRegisterStreamNameGroup

        public void onRegisterStreamNameGroup​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder,
                                              com.wowza.wms.transcoder.model.TranscoderStreamNameGroup streamNameGroup)
        Description copied from interface: ILiveStreamTranscoderActionNotify
        Called after a stream name group is resolved and registered with MediaStreamMap
        Specified by:
        onRegisterStreamNameGroup in interface ILiveStreamTranscoderActionNotify
        Parameters:
        liveStreamTranscoder - live stream transcoder
        streamNameGroup - stream name group
      • onUnregisterStreamNameGroup

        public void onUnregisterStreamNameGroup​(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder,
                                                com.wowza.wms.transcoder.model.TranscoderStreamNameGroup streamNameGroup)
        Description copied from interface: ILiveStreamTranscoderActionNotify
        Called after a stream name group is unregistered with MediaStreamMap
        Specified by:
        onUnregisterStreamNameGroup in interface ILiveStreamTranscoderActionNotify
        Parameters:
        liveStreamTranscoder - live stream transcoder
        streamNameGroup - stream name group