-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Question PCM Buffersize in SrsEncoder.java #825
Comments
You might use ffmpeg to stream your test file to the AWS with authenticated URL to verify the rightness of codec format. |
Using your source, most of thing i used it as you make.
Would you guide me on this ? |
Would you please changing a mobile phone? Or did you run on other Android devices? Besides you can use recording function to hear whether there is tick noise. |
I tested it LG phone and Samsung and others.. it is happened .... |
Maybe there should be some configuration mismatch between AWS and yasea. Could this #554 (comment) help you? |
in the SrsEncoder.java, I like to know the reason ..
I send RTMP stream to AWS Medialive then audio get popcorn sound.
If popcorn sound is from latetenancy, then I would like to adjust more precisely....
private int getPcmBufferSize() {
int pcmBufSize = AudioRecord.getMinBufferSize(ASAMPLERATE, AudioFormat.CHANNEL_IN_STEREO,
AudioFormat.ENCODING_PCM_16BIT) + 8191;
return pcmBufSize - (pcmBufSize % 8192);
The text was updated successfully, but these errors were encountered: