mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SRT: Support encrypt, with utest (#3223)
* SRT: support encrypt, with utest * SRT: refine set srt option error log
This commit is contained in:
parent
8dcbcd1656
commit
7d9dc69ae1
7 changed files with 172 additions and 13 deletions
|
@ -350,6 +350,19 @@ srt_server {
|
|||
# Overwrite by env SRS_SRT_SERVER_RECVBUF
|
||||
# default: 8192 * (1500-28)
|
||||
recvbuf 2000000;
|
||||
# The passphrase of SRT.
|
||||
# If passphrase is no empty, all the srt client must be using the correct passphrase to publish or play,
|
||||
# or the srt connection will reject. The length of passphrase must be in range 10~79.
|
||||
# @see https://github.com/Haivision/srt/blob/master/docs/API/API-socket-options.md#srto_passphrase.
|
||||
# Overwrite by env SRS_SRT_SERVER_PASSPHRASE
|
||||
# default: ""
|
||||
passphrase xxxxxxxxxxxx;
|
||||
# The pbkeylen of SRT.
|
||||
# The pbkeylen determined the AES encrypt algorithm, this option only allow 4 values which is 0, 16, 24, 32
|
||||
# @see https://github.com/Haivision/srt/blob/master/docs/API/API-socket-options.md#srto_pbkeylen.
|
||||
# Overwrite by env SRS_SRT_SERVER_PBKEYLEN
|
||||
# default: 0
|
||||
pbkeylen 16;
|
||||
}
|
||||
|
||||
vhost srt.vhost.srs.com {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue