Video subscription options.

class VideoSubscriptionOptions {
  const VideoSubscriptionOptions({this.type, this.encodedFrameOnly});

  @JsonKey(name: 'type')
  final VideoStreamType? type;

  @JsonKey(name: 'encodedFrameOnly')
  final bool? encodedFrameOnly;

  factory VideoSubscriptionOptions.fromJson(Map<String, dynamic> json) =>

  Map<String, dynamic> toJson() => _$VideoSubscriptionOptionsToJson(this);


The video stream type that you want to subscribe to. The default value is videoStreamHigh, indicating that the high-quality video streams are subscribed. See VideoStreamType.
Whether to subscribe to encoded video frames only:
  • true: Subscribe to the encoded video data (structured data) only; the SDK does not decode or render raw video data.
  • false: (Default) Subscribe to both raw video data and encoded video data.