VideoTrack constructor

VideoTrack({
  1. required int trackId,
  2. TrackType trackType = TrackType.video,
  3. required int width,
  4. required int height,
  5. required int bitrate,
})

Creates an instance of VideoTrack.

The width, height and bitrate argument is required.

trackType is TrackType.video.

Implementation

VideoTrack({
  required super.trackId,
  super.trackType = TrackType.video,
  required this.width,
  required this.height,
  required this.bitrate,
});