MediaMuxer.WriteSampleData(Int32, ByteBuffer, MediaCodec+BufferInfo) Method
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.
Writes an encoded sample into the muxer.
[Android.Runtime.Register("writeSampleData", "(ILjava/nio/ByteBuffer;Landroid/media/MediaCodec$BufferInfo;)V", "")]
public void WriteSampleData (int trackIndex, Java.Nio.ByteBuffer byteBuf, Android.Media.MediaCodec.BufferInfo bufferInfo);
[<Android.Runtime.Register("writeSampleData", "(ILjava/nio/ByteBuffer;Landroid/media/MediaCodec$BufferInfo;)V", "")>]
member this.WriteSampleData : int * Java.Nio.ByteBuffer * Android.Media.MediaCodec.BufferInfo -> unit
Parameters
- trackIndex
- Int32
The track index for this sample.
- byteBuf
- ByteBuffer
The encoded sample.
- bufferInfo
- MediaCodec.BufferInfo
The buffer information related to this sample.
- Attributes
Remarks
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.