UVCAndroid icon indicating copy to clipboard operation
UVCAndroid copied to clipboard

UVC Camera video freezes when livestreaming/record video

Open cryinrain69 opened this issue 9 months ago • 0 comments

Hi. As mentioned this issue 1759 in another library that uses this UVC library. I can't use the UVC Camera audio source on my Samsung Galaxy A35 5G for livestreaming. It can also happen if you record video with the UVC Camera source. I have tested it quite thoroughly but I don't know how to handle it. Can you check it for me or give me some solutions?

I am working with UVC Camera and SRT protocol. On Samsung S22 Ultra, everything works fine without any additional setup (audio + video with 30fps). But when running on Samsung A35 5G, it freezes as soon as it starts streaming and the signal is not pushed to the server. Both devices are running Android 14, API 34 If I set audioDeviceInfo with type AudioDeviceInfo.TYPE_BUILTIN_MIC, it works fine (using the phone's microphone). Because I want to use UVC Camera audio, I set audioDeviceInfo with type AudioDeviceInfo.TYPE_USB_DEVICE) but it also freezes as soon as it starts streaming as above. Please help me with the solution.

cryinrain69 avatar Mar 18 '25 08:03 cryinrain69