Member Junction
    Preparing search index...
    • Copies a frame's I420 planes into a new buffer this thread owns, so it can be transferred to another thread (the SDK's own frame buffer cannot be). Copies at most I420ByteLength bytes; a shorter buffer is copied whole, and I420PlanesOf rejects it where it is encoded.

      Parameters

      • data: Uint8Array
      • width: number
      • height: number

      Returns ArrayBuffer