11-03-2022, 10:55 AM
(This post was last modified: 11-03-2022, 02:44 PM by noobsoftware.)
(11-02-2022, 07:34 PM)dbsoft Wrote:(11-02-2022, 01:34 PM)noobsoftware Wrote: WebRTC seems to be broken when using the camera and audio. Datachannels work fine.
On Ventura? or everything?
I just tried a WebRTC test page with your Silver build and the crash said this:
"This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data."
I guess you need to add that key to the Info.plist to use WebRTC on Ventura?
I added the following to the Info.plist and it seemed to detect everything, although I did not actually run an app:
Code:<key>NSCameraUsageDescription</key>
<string>Camera access allows usage by WebRTC enabled web applications.</string>
Further testing with other pages, audio seems to work... output video works... but webcam video, while it doesn't crash like before it gives an error code.
I will add this key to info.plist. I used the macos SDK from 11.1, not sure if that makes any difference. There are also some issues with WebRTC when it comes to compatability with other browsers, atleast with Safari.