-
Notifications
You must be signed in to change notification settings - Fork 197
Description
Describe the bug
room?.setVideoInputDevice
i have this function from room , recently i have upgrade package to latest version ,
this function is working correctly on iOS , but on andriod its not working ..
for andriod i have to use
localVideoTrack
?.switchCamera(deviceId ?? _videoInputs.first.deviceId),
but these both function make some kind of glitch when i switch camera from front to back or back to fron ,
. room?.setVideoInputDevice
this function initially mirror current camera then switch camera
. localVideoTrack?.switchCamera(deviceId ?? _videoInputs.first.deviceId)
this function also make glitches on andriod ,
it will shift to next camera but at after switching show same camera (previous one) for a moment then switch to next camera
To Reproduce
Simple add a button for switching camera and use it on andriod and iOS in debug mode ,
Expected behavior
they will work smoothly
Platform information
i am using flutter , with andriod and ios development
-
Flutter version:
Flutter 3.32.7 • channel stable • https://github.com/flutter/flutter.git
Framework • revision d7b523b356 (6 weeks ago) • 2025-07-15 17:03:46 -0700
Engine • revision 39d6d6e699 (6 weeks ago) • 2025-07-15 15:39:12 -0700
Tools • Dart 3.8.1 • DevTools 2.45.1 -
Plugin version:
livekit_client: ^2.5.0+hotfix.3 -
Flutter target OS:
ios version 18.6 and andriod 14 -
Flutter target OS version:
-
Flutter console log: