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
Audio not sending shortly after beginning #1286
Comments
Forgot to mention this was com.github.pedroSG94.rtmp-rtsp-stream-client-java:rtplibrary:2.2.4 |
Hello, I will try investigate. I noticed that sometimes (I could reproduce like 1 or 2 times, long time ago, that I remember) AudioEncoder class stop to process frames with no reason (no crash report) but it is really rare and I was no able to reproduce. I think that internet is not related if you can receive video because in that case audio and video frames should be affected and you should receive both channels but maybe losing few frames. Do you have anyway to reproduce it easier? |
No way to reproduce unfortunately, but I can introduce more logging to catch it. Any ideas where it could happen? FYI setMicrophoneMode(MicrophoneMode.ASYNC); is used. |
I have 2 main suspects:
Let me know if you can detect the error and we can try to solve it. |
Can we release a new version if anything was fixed? Having trouble with adding master branch via implementation in gradle /jitpack. |
Hello, Try this gradle: implementation 'com.github.pedroSG94:RootEncoder:library:0005d02b5b' This will compile the library in the actual last commit of master |
Describe the bug
We've noticed that on some streams audio stops sending shortly after start or not sending at all:
http://bit.ly/3PLdgZG
Here's the chart of audio and video packets in the received video on RTMP server:
To Reproduce
Steps to reproduce the behavior:
This only happens in small % of streams
Expected behavior
Audio and video be sent continiously
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Samsung Galaxy S20 5G
Samsung Galaxy S23 Ultra
Additional context
Probably non-ideal connection on 4G with interruptions.
The text was updated successfully, but these errors were encountered: