fix: Fix iOS not reading videoCodec and videoBitRate from options (#2202)

* fix: Fix iOS not reading `videoCodec` and `videoBitRate` from options

* Update AVVideoCodecType+descriptor.swift
This commit is contained in:
Marc Rousavy
2023-11-22 17:54:49 +01:00
committed by GitHub
parent cf8f3d05e3
commit da0067d9f7
2 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ extension AVVideoCodecType {
self = .hevc
return
default:
throw CameraError.parameter(.invalid(unionName: "codec", receivedValue: string))
throw CameraError.parameter(.invalid(unionName: "videoCodec", receivedValue: string))
}
}
}