React Native - Performing RTMP live stream with Android camera and microphone #1016
Replies: 1 comment
-
Closing this question as we have noticed our hardware crashes when initializing the device that we would like to use, and will switch to a Windows native app instead. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there! Hopefully someone is able to help me with my issue. I am using React Native to develop an Android-only app, which utilizes the camera and microphone in order to start and stop an RTMP live stream. Using ffmpeg-kit-react-native, I am able to perform
-devices
, which shows the following:However, I am trying to perform the following command:
-f android_camera -i 0 -c:v libx264 -c:a aac -f flv ${streamURL}
and I am getting the following log / error below, which from my understanding means that ffmpeg-kit is unable to get a camera from device android_camera? If so, how would I be able to successfully get the video and audio from my android device to stream to the (correct) streamURL? For clarity, the device is USB-connected, and there are no internal cameras, meaning that android is only able to see this camera.
If anyone is able to provide help, I'd be very thankful! It's my first time coding with both ffmpeg, ffmpeg-kit and react native, so I am in unknown territory here. I have tried searching online, but I couldn't find an answer fitting to my problem.
Beta Was this translation helpful? Give feedback.
All reactions