byteLength

external val byteLength: Int(source)

The byteLength read-only property of the EncodedVideoChunk interface returns the length in bytes of the encoded video data.

MDN Reference