copyWith method
VideoSettings
copyWith({
- int? width,
- int? height,
- int? bitrate,
- int? frameInterval,
- ProfileLevel? profileLevel,
Implementation
VideoSettings copyWith({
int? width,
int? height,
int? bitrate,
int? frameInterval,
ProfileLevel? profileLevel,
}) {
return VideoSettings(
width: width ?? this.width,
height: height ?? this.height,
bitrate: bitrate ?? this.bitrate,
frameInterval: frameInterval ?? this.frameInterval,
profileLevel: profileLevel ?? this.profileLevel,
);
}