-
-
Notifications
You must be signed in to change notification settings - Fork 792
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
Do not send Audio stream in SRT #1698
Comments
Ok, I will check it |
Hi @pedroSG94 |
Hello, I'm currently with this but I'm no able to reproduce it for now. I tested using MediaMTX. I will install vMIx server today and test with that. |
I was able to connect stream using vMix but the audio is not working with exactly the same configuration than with MediaMTX, only the video. How can I check the audio channel received? |
I'm not able to see that green bar no matter what. The audio is working fine on others server. |
Hi. As I said at the beginning, the sound is transmitted sometimes with signal, sometimes without (When it's live, if there is sound, the whole live session will always have sound. If there is not, the whole live session will not have sound).
|
Hi @pedroSG94 |
Hello, I'm trying it but i'm not able to make it work even with ffmpeg. To discard problems when the stream is stopped and started again. I tested that case using 2 servers and it is working as expected (MediaMTX and SRS in this case) |
Hi. |
Describe the bug
I am using SrtCamera2 + OpenGlView.
During the first livestream, everything seemed to work fine. The server received both image and sound.
But after stopping the livestream, and livestreaming again (all subsequent livestreams), the server only received images but no sound.
Only when I exited the application and reopened it. Started the livestream again, then there was sound. And the no sound error will repeat if I continue to stop and start the livestream.
It can be understood simply like this:
Start livestream (server receives image + sound) => Stop => Start livestream (server only has image + no sound).
But sometimes the first time I open the app to livestream, there is no sound.
The code I am using to start and stop the livestream:
When the livestream error has no sound, I call
srtCamera2.enableAudio()
orsrtCamera2.disableAudio()
and everything is still the same (no sound).When I was livestreaming and had no sound, in the onNewBitrate listener, I checked that srtCamera2.isMute returned false.
I am using vMix as the srt server.
https://www.vmix.com/
If I use the CameraFi Live app (on Play Store), everything works fine and doesn't have this error.
Please check soon for me.
_Also, do you have a sample project on how to use srt and its features effectively (using this sdk library of yours) ?
I've been struggling with this passphrase (issues 1697) and audio issue for days now and haven't found a solution.
Since everything is fine when I use another app to live, I think there's no problem on the server side.
Thank you very much.
Smartphone (please complete the following information):
Library version [2.5.5]
Device: [Samsung Galaxy S22 Ultra, Vsmart Joy 3]
OS: [Android 14, 10]
Class used: [RtmpCamera2 + OpenGlView]
The text was updated successfully, but these errors were encountered: