We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
BitrateMode
1 parent 6552e6a commit 6781702Copy full SHA for 6781702
Sources/DOMKit/WebIDL/VideoEncoderConfig.swift
@@ -4,6 +4,8 @@ import JavaScriptEventLoop
4
import JavaScriptKit
5
6
public class VideoEncoderConfig: BridgedDictionary {
7
+ public typealias BitrateMode = String
8
+
9
public convenience init(codec: String, width: UInt32, height: UInt32, displayWidth: UInt32, displayHeight: UInt32, bitrate: UInt64, framerate: Double, hardwareAcceleration: HardwareAcceleration, alpha: AlphaOption, scalabilityMode: String, bitrateMode: BitrateMode, latencyMode: LatencyMode) {
10
let object = JSObject.global[Strings.Object].function!.new()
11
object[Strings.codec] = codec.jsValue
0 commit comments