Writes buffer to a track.
Namespace: StreamCodersAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax bool WriteTrack(
TrackInfo track,
MediaBuffer<byte> inputBuffer
)
Function WriteTrack (
track As TrackInfo,
inputBuffer As MediaBuffer(Of Byte)
) As Boolean
bool WriteTrack(
TrackInfo^ track,
MediaBuffer<unsigned char>^ inputBuffer
)
abstract WriteTrack :
track : TrackInfo *
inputBuffer : MediaBuffer<byte> -> bool
Parameters
- track
- Type: StreamCodersTrackInfo
The track to write the samples to.
- inputBuffer
- Type: StreamCodersMediaBufferByte
The input buffer containing media frames.
Return Value
Type:
Boolean
true if it succeeds, false if it fails.
See Also