-
-
Notifications
You must be signed in to change notification settings - Fork 794
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
Error "SRT_REJ_UNSECURE" when using SRT protocol for livestream #1697
Comments
Hello, Can you tell me your server name and version to reproduce your case? I only tested this feature with MediaMTX server. |
Hi. |
Hello, vMix is used to send video/audio to the server, I can't see a media server of vMix? |
Hi. |
But this is the pusher side. I want the server side to configure it and reproduce the error using RootEncoder with the same enviroment |
vMix is also a media server. |
Ok, I see. I will check it. |
No. |
Describe the bug
I am using SrtCamera2 + OpenGlView.
If on srt server no passphrase set, it works fine.
But when on srt server, using passphrase, app cannot livestream with reason "Error configure stream, SRT_REJ_UNSECURE" in onConnectionFailed callback.
In code I have set passphrase as follows:
srtCamera2.streamClient.setPassphrase("1234567890", EncryptionType.AES192)
I have tried changing EncryptionType to NONE, AES128, AES192, AES256 but still get the same error (on server is using keylength = 24).
If I use the CameraFi Live app (on Play Store) and set the SRT parameters as shown in the image below, the livestream is still normal.
Please check help me.
Smartphone (please complete the following information):
Library version [2.5.5]
Device: [Samsung Galaxy S22 Ultra]
OS: [Android 14]
Class used: [RtmpCamera2 + OpenGlView]
The text was updated successfully, but these errors were encountered: