Skip to content

Commit

Permalink
[apps] Added cryptomode URI query option.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko committed Oct 26, 2022
1 parent 9a022d6 commit 11701a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/socketoptions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ const SocketOption srt_options [] {
#ifdef SRT_ENABLE_BINDTODEVICE
{ "bindtodevice", 0, SRTO_BINDTODEVICE, SocketOption::PRE, SocketOption::STRING, nullptr},
#endif
{ "retransmitalgo", 0, SRTO_RETRANSMITALGO, SocketOption::PRE, SocketOption::INT, nullptr }
{ "retransmitalgo", 0, SRTO_RETRANSMITALGO, SocketOption::PRE, SocketOption::INT, nullptr },
{ "cryptomode", 0, SRTO_CRYPTOMODE, SocketOption::PRE, SocketOption::INT, nullptr }
};
}

Expand Down
1 change: 1 addition & 0 deletions docs/apps/srt-live-transmit.md
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ following type specification:
| -------------------- | ---------------- | ------------------------- | ----------- |
| `congestion` | {`live`, `file`} | `SRTO_CONGESTION` | Type of congestion control. |
| `conntimeo` | `ms` | `SRTO_CONNTIMEO` | Connection timeout. |
| `cryptomode` | 0..2 | `SRTO_CRYPTOMODE` | Cryptographic mode. |
| `drifttracer` | `bool` | `SRTO_DRIFTTRACER` | Enable drift tracer. |
| `enforcedencryption` | `bool` | `SRTO_ENFORCEDENCRYPTION` | Reject connection if parties set different passphrase. |
| `fc` | `bytes` | `SRTO_FC` | Flow control window size. |
Expand Down

0 comments on commit 11701a6

Please sign in to comment.