Click or drag to resize
Mp4WriterAddTrack Method
Adds a track to the streamWriter.

Namespace: StreamCoders.Container
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public TrackInfo AddTrack(
	TrackInfo track
)

Parameters

track
Type: StreamCodersTrackInfo
The TrackInfo instance describing the elementary stream.

Return Value

Type: TrackInfo
Returns new instance of a TrackInfo object, containing the newly created tracks number, which should be used for all subsequent calls to Mp4Writer. In case the parameters are invalid or the codec is not supported, the return value is null.

Implements

IWriterAddTrack(TrackInfo)
See Also

Reference

IWriter.AddTrack(TrackInfo)