public ISMVideoTrack(ISMVTrackFormat videoFile, ISMVStream stream) { base.TrackFormat = videoFile; // sets payload type and other properties also ParentStream = stream; // set other properties of this track }
public ISMAudioTrack(ISMVTrackFormat audioFile, ISMVStream stream) { base.TrackFormat = audioFile; // this sets the PayloadType and other properties also ParentStream = stream; // set other properties }