Interface IVideoEncodedFrameObserver

Receives encoded video images.

Hierarchy

  • IVideoEncodedFrameObserver

Methods

  • Reports that the receiver has received the to-be-decoded video frame sent by the remote end.

    If you call the setRemoteVideoSubscriptionOptions method and set encodedFrameOnly to true, the SDK triggers this callback locally to report the received encoded video frame information.

    Parameters

    • uid: number

      The user ID of the remote user.

    • imageBuffer: Uint8Array

      The encoded video image buffer.

    • length: number

      The data length of the video image.

    • videoEncodedFrameInfo: EncodedVideoFrameInfo

      For the information of the encoded video frame, see EncodedVideoFrameInfo.

    Returns void

Generated using TypeDoc