pedroSG94 / RootEncoder

RootEncoder for Android (rtmp-rtsp-stream-client-java) is a stream encoder to push video/audio to media servers using protocols RTMP, RTSP, SRT and UDP with all code written in Java/Kotlin
Apache License 2.0
2.57k stars 776 forks source link

What package are you using for UVC Cameras? #1624

Closed ronaldsampaio closed 4 weeks ago

ronaldsampaio commented 4 weeks ago

Just to confirm that you are using https://github.com/shiyinghan/UVCAndroid to implement UVC Cameras. The package I'm currently using is broken, there were updates in dependencies and the maintainer didn't update. Also could you point to the UVC Source example?

pedroSG94 commented 4 weeks ago

Hello,

Yes, I'm using that library. Currently you have the code example in the rotation example. You can change to UVCCameraSource using the top-right button menu: https://github.com/pedroSG94/RootEncoder/blob/master/app/src/main/java/com/pedro/streamer/rotation/RotationActivity.kt#L95 https://github.com/pedroSG94/RootEncoder/blob/master/app/src/main/java/com/pedro/streamer/rotation/RotationActivity.kt#L138

An user reported problems depend of the camera device so maybe you need modify camera parameters set to work properly like in this case: https://github.com/pedroSG94/RootEncoder/discussions/1622#discussioncomment-11037398

ronaldsampaio commented 4 weeks ago

Great thanks!