alejandrorosas / android-uvc-rtmp-stream

UVC Rtmp Stream App for Android
Apache License 2.0
27 stars 13 forks source link

Showing Blank screen #91

Closed LetsNurtureGit closed 1 year ago

LetsNurtureGit commented 2 years ago

I am trying to run this project and I have properly attached the webcam and also enable USB device permission, app permission. It's showing always a blank screen somehow camera is not working with this app. And I have tested webcam with other cam app and it's working fine.

Let me know if I am missing anything! Please guide me

Thanks in advance!

Ivan421399 commented 2 years ago

@LetsNurtureGit Are you using android 11 or 12? If so please can you tell what processor your phone has?

Also the problem can be in that your webcam is MJPEG / have different fps / different resolution. All of those settings need to be changed accordingly in code.

LetsNurtureGit commented 2 years ago

I am using android 8,10 and 11.

jeffman2020 commented 2 years ago

i have same problem with LetsNurtureGit.I use android 10,9. My uvc cam is 640x480 15fps MJpeg.it is blank,black screen.Could u help us?

alejandrorosas commented 2 years ago

where do you see the blank screen? Is it on the live stream or on the live preview on the device?

jeffman2020 commented 2 years ago

preview

在 2022-11-07 03:06:03,"Alejandro Rosas" @.***> 写道:

where do you see the blank screen? Is it on the live stream or on the live preview on the device?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

alejandrorosas commented 1 year ago

I think I might have found your issue, trying to use a cam of 720 it was showing a black screen, so now I've updated the app to use the best available resolution, you can check this PR https://github.com/alejandrorosas/android-uvc-rtmp-stream/pull/148

jeffman2020 commented 1 year ago

thanks ,i will try

At 2022-11-28 00:48:13, "Alejandro Rosas" @.***> wrote:

I think I might have found your issue, trying to use a cam of 720 it was showing a black screen, so now I've updated the app to use the best available resolution, you can check this PR #148

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>