Interface ITranscoderVideoDecoderNotify


  • public interface ITranscoderVideoDecoderNotify
    this listener interface is for frame processing by a transcoder. These methods are called on every frame processed.
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default void onAfterDecodeFrame​(com.wowza.wms.transcoder.model.TranscoderSessionVideo sessionVideo, com.wowza.wms.transcoder.model.TranscoderStreamSourceVideo sourceVideo, long frameCount, long timecode)
      Called when a frame has been decoded.
      default void onAfterScaleFrame​(com.wowza.wms.transcoder.model.TranscoderSessionVideo sessionVideo, com.wowza.wms.transcoder.model.TranscoderStreamSourceVideo sourceVideo, long frameCount, long timecode)
      Called after a frame has been scaled.
      default void onBadFrameReceived​(com.wowza.wms.transcoder.model.TranscoderSessionVideo sessionVideo, com.wowza.wms.transcoder.model.TranscoderStreamSourceVideo sourceVideo, long frameCount, long timecode)
      Called when the decoder has reported that a frame could not be decoded.
      default void onBadFrameReplaced​(com.wowza.wms.transcoder.model.TranscoderSessionVideo sessionVideo, com.wowza.wms.transcoder.model.TranscoderStreamSourceVideo sourceVideo, long frameCount, long timecode)
      Called when a frame has been replaced with the last good frame due to a bad frame received.
      default void onBeforeDecodeFrame​(com.wowza.wms.transcoder.model.TranscoderSessionVideo sessionVideo, com.wowza.wms.transcoder.model.TranscoderStreamSourceVideo sourceVideo, long frameCount, long timecode)
      Called when a frame has arrived is going to be decoded.
      default void onBeforeScaleFrame​(com.wowza.wms.transcoder.model.TranscoderSessionVideo sessionVideo, com.wowza.wms.transcoder.model.TranscoderStreamSourceVideo sourceVideo, long frameCount, long timecode)
      Called when a frame is about to be scaled.
      default void onMissingFrameReplaced​(com.wowza.wms.transcoder.model.TranscoderSessionVideo sessionVideo, com.wowza.wms.transcoder.model.TranscoderStreamSourceVideo sourceVideo, long frameCount, long timecode)
      Called when the last good frame has replaced a missing frame in the stream.
    • Method Detail

      • onBeforeDecodeFrame

        default void onBeforeDecodeFrame​(com.wowza.wms.transcoder.model.TranscoderSessionVideo sessionVideo,
                                         com.wowza.wms.transcoder.model.TranscoderStreamSourceVideo sourceVideo,
                                         long frameCount,
                                         long timecode)
        Called when a frame has arrived is going to be decoded.
        Parameters:
        sessionVideo - video session
        sourceVideo - stream source
        frameCount - current frame count
        timecode - timecode of frame
      • onAfterDecodeFrame

        default void onAfterDecodeFrame​(com.wowza.wms.transcoder.model.TranscoderSessionVideo sessionVideo,
                                        com.wowza.wms.transcoder.model.TranscoderStreamSourceVideo sourceVideo,
                                        long frameCount,
                                        long timecode)
        Called when a frame has been decoded.
        Parameters:
        sessionVideo - video session
        sourceVideo - stream source
        frameCount - current frame count
        timecode - timecode of frame
      • onBeforeScaleFrame

        default void onBeforeScaleFrame​(com.wowza.wms.transcoder.model.TranscoderSessionVideo sessionVideo,
                                        com.wowza.wms.transcoder.model.TranscoderStreamSourceVideo sourceVideo,
                                        long frameCount,
                                        long timecode)
        Called when a frame is about to be scaled.
        Parameters:
        sessionVideo - video session
        sourceVideo - stream source
        frameCount - current frame count
        timecode - timecode of frame
      • onAfterScaleFrame

        default void onAfterScaleFrame​(com.wowza.wms.transcoder.model.TranscoderSessionVideo sessionVideo,
                                       com.wowza.wms.transcoder.model.TranscoderStreamSourceVideo sourceVideo,
                                       long frameCount,
                                       long timecode)
        Called after a frame has been scaled.
        Parameters:
        sessionVideo - video session
        sourceVideo - stream source
        frameCount - current frame count
        timecode - timecode of frame
      • onBadFrameReceived

        default void onBadFrameReceived​(com.wowza.wms.transcoder.model.TranscoderSessionVideo sessionVideo,
                                        com.wowza.wms.transcoder.model.TranscoderStreamSourceVideo sourceVideo,
                                        long frameCount,
                                        long timecode)
        Called when the decoder has reported that a frame could not be decoded.
        Parameters:
        sessionVideo - video session
        sourceVideo - stream source
        frameCount - current frame count
        timecode - timecode of frame
      • onBadFrameReplaced

        default void onBadFrameReplaced​(com.wowza.wms.transcoder.model.TranscoderSessionVideo sessionVideo,
                                        com.wowza.wms.transcoder.model.TranscoderStreamSourceVideo sourceVideo,
                                        long frameCount,
                                        long timecode)
        Called when a frame has been replaced with the last good frame due to a bad frame received.
        Parameters:
        sessionVideo - video session
        sourceVideo - stream source
        frameCount - current frame count
        timecode - timecode of frame
      • onMissingFrameReplaced

        default void onMissingFrameReplaced​(com.wowza.wms.transcoder.model.TranscoderSessionVideo sessionVideo,
                                            com.wowza.wms.transcoder.model.TranscoderStreamSourceVideo sourceVideo,
                                            long frameCount,
                                            long timecode)
        Called when the last good frame has replaced a missing frame in the stream.
        Parameters:
        sessionVideo - video session
        sourceVideo - stream source
        frameCount - current frame count
        timecode - timecode of frame