Android devices should honor video constraints
guusdk opened this issue · 2 comments
Jitsi provides an SDK that allows developers to create native videoconferencing applications on mobile phones, that are compatible with Openfire Meetings.
The video constraints as defined on the server are currently ignored by those clients (they're pretty much hardcoded to 720p). In the future, Jitsi plans to improve on this, making the clients honor the defined constraints.
For now, we can set a specific set of constraints that will override the default on Android devices. Sadly, there is no such trick for iOS devices.
This bit of code allows us to set constraints that will override some of the defaults: https://github.com/jitsi/react-native-webrtc/blob/048b852d340877370d849e44b8ca4d59ff4b1429/android/src/main/java/com/oney/WebRTCModule/VideoCaptureController.java#L68
Sadly, this does not seem to be feasible. For some reason, the config.js defined constraints don't make it to WebRTCModule at all. We'll have to wait for the Jitsi improvements.