navigator.mediaDevices.getUserMedia OverconstrainedError on Safari in IOS17

When javaScript calls to navigator.mediaDevices.getUserMedia using {video: true, audio: true } constraints, throws an error:

error: OverconstrainedError
constraint: ""
message: "Invalid constraint"
name: "OverconstrainedError"

Same result when constraints has video: true and audio: false

You can test it easily opening the webRTC github samples:

https://webrtc.github.io/samples/src/content/devices/multi/

https://webrtc.github.io/samples/src/content/getusermedia/gum/

This works fine on IOS16

navigator.mediaDevices.getUserMedia OverconstrainedError on Safari in IOS17
 
 
Q