New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to combine with ready-made camera library ? #1403
Comments
Hello, Maybe you can try this way: You can create your own VideoSource using that library. You will need study that library to check the way to render a SurfaceTexture |
Hello,
Now, you need create your own VideoSource as described in the issue I shared you.
I provide you the SurfaceTexture to render in the start method of VideoSource that you need implement. You have a library that need video data to work (RootEncoder) and a library that generate video data (camera1, camera2, camerax, MediaPlayer, CainCamera, etc) |
Hello Pedro. I spend the last few days understanding the library and try to create the video source as you mentioned. The problem I am facing right is only audio packet is being sent while the log related to VideoEncoder being prepared and started can be seen in the logcat . May I know what could be the possible reasons for video packet not being sent ? |
Hello, Maybe the problem is that you are not rendering the SurfaceTexture provided by VideoSource correctly. Can you show me your VideoSource code? Maybe I can help you more this way |
https://github.com/CainKernel/CainCamera
Hello Pedro, I discovered this camera filter library along with your rtmp publish package. May I know the step to combine these two to work together ?
Thank you.
The text was updated successfully, but these errors were encountered: