]> git.sesse.net Git - vlc/commitdiff
Document size restrictions of SRTP parameters
authorPierre Ynard <linkfanel@yahoo.fr>
Sat, 26 Nov 2011 03:08:27 +0000 (04:08 +0100)
committerPierre Ynard <linkfanel@yahoo.fr>
Sat, 26 Nov 2011 03:08:27 +0000 (04:08 +0100)
Feel free to improve/add rationale

modules/access/rtp/rtp.c
modules/stream_out/rtp.c

index d0a8fa22c495ca8916e20082abf7f04309b9e68c..169216649f3665be9ea400f8f5726f6b40e524ad 100644 (file)
 #define SRTP_KEY_TEXT N_("SRTP key (hexadecimal)")
 #define SRTP_KEY_LONGTEXT N_( \
     "RTP packets will be authenticated and deciphered "\
-    "with this Secure RTP master shared secret key.")
+    "with this Secure RTP master shared secret key. "\
+    "This must be a 32-character-long hexadecimal string.")
 
 #define SRTP_SALT_TEXT N_("SRTP salt (hexadecimal)")
 #define SRTP_SALT_LONGTEXT N_( \
-    "Secure RTP requires a (non-secret) master salt value.")
+    "Secure RTP requires a (non-secret) master salt value. " \
+    "This must be a 28-character-long hexadecimal string.")
 
 #define RTP_MAX_SRC_TEXT N_("Maximum RTP sources")
 #define RTP_MAX_SRC_LONGTEXT N_( \
index 613f6c067445b2df58985212d44389aa3004a53f..103bb62bdb1bd28dff6d6cb220c8e83bc61e6237 100644 (file)
 #define SRTP_KEY_TEXT N_("SRTP key (hexadecimal)")
 #define SRTP_KEY_LONGTEXT N_( \
     "RTP packets will be integrity-protected and ciphered "\
-    "with this Secure RTP master shared secret key.")
+    "with this Secure RTP master shared secret key. "\
+    "This must be a 32-character-long hexadecimal string.")
 
 #define SRTP_SALT_TEXT N_("SRTP salt (hexadecimal)")
 #define SRTP_SALT_LONGTEXT N_( \
-    "Secure RTP requires a (non-secret) master salt value.")
+    "Secure RTP requires a (non-secret) master salt value. " \
+    "This must be a 28-character-long hexadecimal string.")
 
 static const char *const ppsz_protos[] = {
     "dccp", "sctp", "tcp", "udp", "udplite",