![]() Tried to access this socket with ffmpeg command, But it's failed with the error unix://camera2rtsp: no directory or file found.įfmpeg -i unix://camera2rtsp -vcodec libx264 -f flv rtmp://server LocalSocketServer = new LocalServerSocket("camera2rtsp") I have used MediaRecorder Sample source of android sample modified MediaRecorder to use local socket receiver = new LocalSocket() I have read about MediaRecorder LocalSocket that can stream data to ffmpeg as Unix Domain name local socket. ![]() Then i have used Camera and write rawvideo to a file and stream it to RTMP server while writing camera rawvideo to the file, It's also working but the issue is file size keep increasing. I have tried to stream a already existed video file to RTMP and its working great. Everything from FFMPGEG side is working perfectly fine. I have compiled FFMPEG for android as a shared library. I need help for streaming android Camera using FFMPEG to a RTMP Server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |