-
-
Notifications
You must be signed in to change notification settings - Fork 808
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UVC Camera freezes when livestreaming #1759
Comments
Hello, If you means that the video freeze, I can't do so much about it. The USB library used is here: Possible test:
|
Hi.
I tried that but it still doesn't work. If I |
Crash? Can you share the crash logcat? |
Sorry, It's not a crash, just a video freeze error. |
@pedroSG94 Hi. |
Hi.
I am working with
UVC Camera
andSRT
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 typeAudioDeviceInfo.TYPE_USB_DEVICE
) but it also freezes as soon as it starts streaming as above.Please help me with the solution.
Here is the code I used:
And logs:
The text was updated successfully, but these errors were encountered: