We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fad8c6 commit 76973a3Copy full SHA for 76973a3
lib/src/participant/local.dart
@@ -178,8 +178,8 @@ class LocalParticipant extends Participant<LocalTrackPublication> {
178
// use constraints passed to getUserMedia by default
179
VideoDimensions dimensions = track.currentOptions.params.dimensions;
180
181
- if (kIsWeb) {
182
- // getSettings() is only implemented for Web
+ if (kIsWeb || lkPlatformIsMobile()) {
+ // getSettings() is only implemented for Web & Mobile
183
try {
184
// try to use getSettings for more accurate resolution
185
final settings = track.mediaStreamTrack.getSettings();
0 commit comments