Interface VideoListener

    • Method Detail

      • onVideoSizeChanged

        default void onVideoSizeChanged​(VideoSize videoSize)
        Deprecated.
        Called each time there's a change in the size of the video being rendered.
        Parameters:
        videoSize - The new size of the video.
      • onSurfaceSizeChanged

        default void onSurfaceSizeChanged​(int width,
                                          int height)
        Deprecated.
        Called each time there's a change in the size of the surface onto which the video is being rendered.
        Parameters:
        width - The surface width in pixels. May be C.LENGTH_UNSET if unknown, or 0 if the video is not rendered onto a surface.
        height - The surface height in pixels. May be C.LENGTH_UNSET if unknown, or 0 if the video is not rendered onto a surface.
      • onRenderedFirstFrame

        default void onRenderedFirstFrame()
        Deprecated.
        Called when a frame is rendered for the first time since setting the surface, or since the renderer was reset, or since the stream being rendered was changed.