Skip to content

Error "SRT_REJ_UNSECURE" when using SRT protocol for livestream #1697

Description

@cryinrain69

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.

image

Smartphone (please complete the following information):
Library version [2.5.5]
Device: [Samsung Galaxy S22 Ultra]
OS: [Android 14]
Class used: [RtmpCamera2 + OpenGlView]

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions