GetStream / stream-video-flutter

Flutter Video SDK - Build your own video app experience using Dart, Flutter and the Stream Video Messaging API.
https://getstream.io/video/docs/flutter/
Other
37 stars 11 forks source link

Default camera settings from Dashboard are not applied #616

Closed Brazol closed 2 days ago

Brazol commented 1 month ago

Default settings for video are not applied when creating a call

image

Nash0x7E2 commented 1 month ago

The implementation for this seems pretty straightforward. Upon some light research, the dashboard settings are accessible using the CallState.settings property.

To implement, we would simple need to apply those settings before moving forward in the join flow. For reference here are a few scenarios and results I tested on the dashboard:

default:

CallSettings(StreamAudioSettings(true, true, true, earpiece, true, true), StreamVideoSettings(true, true, true), StreamScreenShareSettings(true, true))

--- Everything off ---

CallSettings(StreamAudioSettings(false, false, false, speaker, false, false), StreamVideoSettings(false, false, true), StreamScreenShareSettings(false, false))

--- Camera and Audio on ----

CallSettings(StreamAudioSettings(true, false, false, speaker, false, false), StreamVideoSettings(false, true, true), StreamScreenShareSettings(false, false))
Brazol commented 2 days ago

Solved in latest release