/// <summary> /// Initializes a new instance of the <see cref="VideoTrackCodecData"/> class. /// </summary> /// <param name="dvc1">The <see cref="DigitalVideoCodingBox"/>.</param> /// <param name="width">The track width.</param> /// <param name="height">The track height.</param> public VideoTrackCodecData(DigitalVideoCodingBox dvc1, ushort width, ushort height) { this.FourCodecCode = "WVC1"; this.DisplayWidth = width; this.DisplayHeight = height; //this.Bitrate = 1800000; this.CodecPrivateData = BitConverter.ToString(dvc1.CodecPrivateData).Replace("-", ""); }