ThibaultBee / StreamPack

SRT/RTMP/RTMPS live streaming libraries for Android
https://thibaultbee.github.io/StreamPack/index.html
Apache License 2.0
196 stars 70 forks source link

How to fill in Passphrase #53

Closed wangpeng1 closed 1 year ago

wangpeng1 commented 1 year ago

Hi,I used the app with srt,I want to encrypt the stream, but i donot know how to fill the passphrase field。 Could you give me some advice?

ThibaultBee commented 1 year ago

Hi,

SRT passphrase is just setter/getter that hides libsrt srto_passphrase socket option. Have a look on libsrt documentation: https://github.com/Haivision/srt/blob/master/docs/API/API-socket-options.md#srto_passphrase