jitsi-meet-flutter-sdk icon indicating copy to clipboard operation
jitsi-meet-flutter-sdk copied to clipboard

How can I override 'constraints' in config.js?

Open Allenisme opened this issue 9 months ago • 1 comments

{
    'resolution': 720,
    'constraints': {
        'video': {
            'height': {'ideal': 720, 'max': 720, 'min': 720}
         }
     }
}

I got this error: [modules/RTC/RTCUtils] Failed to get access to local media. TypeError: constraints is not a dictionary "{video={height={ideal=720, min=720, max=720}}}"

Allenisme avatar Jul 02 '25 06:07 Allenisme

Please update to latest version and also check how config options get overwritten in the example below: https://github.com/jitsi/jitsi-meet-flutter-sdk/blob/main/example/lib/main.dart

Calinteodor avatar Jul 28 '25 08:07 Calinteodor