Adds a track to the streamWriter.
Namespace: StreamCoders.ContainerAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax public TrackInfo AddTrack(
TrackInfo track
)
Public Function AddTrack (
track As TrackInfo
) As TrackInfo
public:
virtual TrackInfo^ AddTrack(
TrackInfo^ track
) sealed
abstract AddTrack :
track : TrackInfo -> TrackInfo
override AddTrack :
track : TrackInfo -> TrackInfo
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)