TUIRoomVideoEncoderParams.fromJson constructor

TUIRoomVideoEncoderParams.fromJson(
  1. Map<String, dynamic> json
)

Implementation

TUIRoomVideoEncoderParams.fromJson(Map<String, dynamic> json) {
  videoResolution = TUIVideoQualityExt.fromValue(json["video_resolution"]);
  resolutionMode = TUIResolutionModeExt.fromValue(json["resolution_mode"]);
  fps = json["fps"];
  bitrate = json["bitrate"];
}