summaryrefslogtreecommitdiff
path: root/doc/protocols.texi
diff options
context:
space:
mode:
authorJun Zhao <barryjzhao@tencent.com>2019-12-01 21:09:13 +0800
committerJun Zhao <barryjzhao@tencent.com>2019-12-11 14:23:26 +0800
commit952fd0c768747a0f910ce8b689fd23d7c67a51f8 (patch)
treea32765809f63bd98bb89e46ce2ebb1e783a1f6ed /doc/protocols.texi
parent8d823e6005febef23ca10ccd9d8725e708167aeb (diff)
lavf/libsrt: enable other encryption parameters
Enable the SRTO_ENFORCEDENCRYPTION/SRTO_KMREFRESHRATE/ SRTO_KMPREANNOUNCE for srt encryption control. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Diffstat (limited to 'doc/protocols.texi')
-rw-r--r--doc/protocols.texi20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi
index 886c3b8bb9..d2935fc666 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -1282,6 +1282,26 @@ only if @option{pbkeylen} is non-zero. It is used on
the receiver only if the received data is encrypted.
The configured passphrase cannot be recovered (write-only).
+@item enforced_encryption=@var{1|0}
+If true, both connection parties must have the same password
+set (including empty, that is, with no encryption). If the
+password doesn't match or only one side is unencrypted,
+the connection is rejected. Default is true.
+
+@item kmrefreshrate=@var{packets}
+The number of packets to be transmitted after which the
+encryption key is switched to a new key. Default is -1.
+-1 means auto (0x1000000 in srt library). The range for
+this option is integers in the 0 - @code{INT_MAX}.
+
+@item kmpreannounce=@var{packets}
+The interval between when a new encryption key is sent and
+when switchover occurs. This value also applies to the
+subsequent interval between when switchover occurs and
+when the old encryption key is decommissioned. Default is -1.
+-1 means auto (0x1000 in srt library). The range for
+this option is integers in the 0 - @code{INT_MAX}.
+
@item payload_size=@var{bytes}
Sets the maximum declared size of a packet transferred
during the single call to the sending function in Live