[bTSstream-devel] [Git][videolan/bitstream][master] haivision/srt: add timeout and crypto handshake rejection codes

Christophe Massiot (@cmassiot) gitlab at videolan.org
Thu Aug 27 10:56:44 UTC 2026



Christophe Massiot pushed to branch master at VideoLAN / bitstream


Commits:
a3be36c2 by Kieran Kunhya at 2026-08-27T10:56:36+00:00
haivision/srt: add timeout and crypto handshake rejection codes

SRT_REJ_TIMEOUT and SRT_REJ_CRYPTO, the latter being sent when the two
peers have conflicting crypto modes (AES-CTR vs AES-GCM).

Co-Authored-By: Claude Opus 5 (1M context) <noreply at anthropic.com>

- - - - -


1 changed file:

- haivision/srt.h


Changes:

=====================================
haivision/srt.h
=====================================
@@ -325,6 +325,8 @@ static inline const uint8_t *srt_get_control_packet_cif(const uint8_t *buf)
 #define SRT_HANDSHAKE_TYPE_REJ_CONGESTION 1013
 #define SRT_HANDSHAKE_TYPE_REJ_FILTER 1014
 #define SRT_HANDSHAKE_TYPE_REJ_GROUP 1015
+#define SRT_HANDSHAKE_TYPE_REJ_TIMEOUT 1016
+#define SRT_HANDSHAKE_TYPE_REJ_CRYPTO 1017
 
 static inline void srt_set_handshake_version(uint8_t *cif, uint32_t version)
 {



View it on GitLab: https://code.videolan.org/videolan/bitstream/-/commit/a3be36c2e916f94120a63621461f55e44a6d8eb9

-- 
View it on GitLab: https://code.videolan.org/videolan/bitstream/-/commit/a3be36c2e916f94120a63621461f55e44a6d8eb9
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the biTStream-devel mailing list