Skip to content
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

Sound not available in Video using CameraCaptureActivity #101

Open
snehadhagade opened this issue Dec 7, 2018 · 1 comment
Open

Sound not available in Video using CameraCaptureActivity #101

snehadhagade opened this issue Dec 7, 2018 · 1 comment

Comments

@snehadhagade
Copy link

Hello,
I am using code of CameraCaptureActivity but when get my video file , their is no sound in video. and we are also facing OutOfMemory issue.
How to clear buffer when release the camera components?
I am recording 2min circulerbuffer but this is not working at our end.

@milansamardzic
Copy link

milansamardzic commented Dec 13, 2018

Same here, try to switch from Front to Back camera still without sound.
Tested with Google Pixel 2.

Maby this can explain something
VideoEncoderCore.class
/** * Extracts all pending data from the encoder and forwards it to the muxer. * <p> * If endOfStream is not set, this returns when there is no more data to drain. If it * is set, we send EOS to the encoder, and then iterate until we see EOS on the output. * Calling this with endOfStream set should be done once, right before stopping the muxer. * <p> * We're just using the muxer to get a .mp4 file (instead of a raw H.264 stream). We're * not recording audio. */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants