This message was deleted.
# helpdesk
s
This message was deleted.
a
Copy code
livekit-client: 1.6.5
livekit-server-sdk: 1.1.0
d
CC: @polite-kilobyte-67570
p
hi! it would be great to have a bit more info around this: what OS are you seeing this on? Can you paste the full livekit-client logs shortly before and after this happens, with debug logging enabled (also including the whole error message)?
r
@strong-receptionist-62811
@red-author-16962
r
Hi @polite-kilobyte-67570 We are facing the issue with restart tracks in both iOS and Android occasionally. The browser log while facing the issue is " Uncaught (in promise) DOMException: Could not start video source " For following code restartTrack({ facingMode: "environment" , }
p
thanks, this is likely a
NotReadableError
which points to hardware/OS level problems (see https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia#exceptions). This error could also surface if the device is in use already. there’s unfortunately not much we can do about this. Would be best to put the method in a
try/catch
clause and either retry or give up depending on your needs
🙌 1