MediaCodec.BufferInfo.Size Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The recorded amount of data in the buffer, in bytes.
[Android.Runtime.Register("size")]
public int Size { get; set; }
[<Android.Runtime.Register("size")>]
member this.Size : int with get, set
Property Value
The recorded number of valid data bytes in the buffer.
- Attributes
Remarks
For ordinary codec output buffer metadata, zero indicates an empty buffer, which can carry an end-of-stream marker. A fallback record created by BufferInfos has size zero even when the buffer contains data.
Java documentation for android.media.MediaCodec.BufferInfo.size.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.