Interface VideoLayerListener


  • public interface VideoLayerListener
    Interface for notifying a listener of changes to video frame properties.

    NOTE: These events are dispatched directly from the thread processing video frames. The application is responsible for handling these events on the main thread by calling Handler.post(Runnable).
    • Method Detail

      • onVideoFrameSizeChanged

        void onVideoFrameSizeChanged​(int width,
                                     int height)
        Notifies when the video frame size has changed.
        Parameters:
        width - the width of the video frame
        height - the height of the video frame