Map<String, dynamic> toJson() => { 'videoFps': fps.index, 'minRate': minRate, 'maxRate': maxRate, 'videoResolution': toResolutionStr(resolution), };