Closed ignacioinda closed 3 years ago
Hey @ignacioinda It is working for me with 22.1.7171670
Hey @ignacioinda It is working for me with
22.1.7171670
Thanks Alejandro, it was not a problem with the NDK. My camera did not support the MJPEG format and that is why it produced this error. This setup worked for me: File: StreamService.kt -> camera.setPreviewSize (width, height, UVCCamera.FRAME_FORMAT_YUYV);
I have a question: What RTMP server are you using? I am testing with a NGINX RTMP server and the video / audio lags 2 or 3 seconds. I'm not sure if it's a server or app problem
@ignacioinda I also use nginx rtmp, I have it mounted with docker together with obs-websockets to chance scenes if there's any problem. And yes, you can have 2 or 3 seconds of lag, but video/audio should be synchronized. You can find my setup here: https://github.com/alejandrorosas/rtmp-server-obs-websockets/blob/master/nginx-rtmp/nginx.conf
Thanks for sharing your code, I am trying to compile the project but when I run it the application stops. Could you tell me what version of NDK you used or what can I do to fix this error?