Skip to content

Commit 1713082

Browse files
committed
Change max passphrase length to 80, matching libsrt
1 parent d8162b5 commit 1713082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const (
1515
MIN_PAYLOAD_SIZE = MIN_MSS_SIZE - UDP_HEADER_SIZE - SRT_HEADER_SIZE
1616
MAX_PAYLOAD_SIZE = MAX_MSS_SIZE - UDP_HEADER_SIZE - SRT_HEADER_SIZE
1717
MIN_PASSPHRASE_SIZE = 10
18-
MAX_PASSPHRASE_SIZE = 79
18+
MAX_PASSPHRASE_SIZE = 80
1919
MAX_STREAMID_SIZE = 512
2020
SRT_VERSION = 0x010401
2121
)

0 commit comments

Comments
 (0)