Skip to content

Commit

Permalink
Merge pull request #81 from muxinc/msmith/max-passphrase-len
Browse files Browse the repository at this point in the history
Change max passphrase length to 80, matching libsrt
  • Loading branch information
ioppermann authored Nov 18, 2024
2 parents 12a4522 + 1713082 commit dca5a78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const (
MIN_PAYLOAD_SIZE = MIN_MSS_SIZE - UDP_HEADER_SIZE - SRT_HEADER_SIZE
MAX_PAYLOAD_SIZE = MAX_MSS_SIZE - UDP_HEADER_SIZE - SRT_HEADER_SIZE
MIN_PASSPHRASE_SIZE = 10
MAX_PASSPHRASE_SIZE = 79
MAX_PASSPHRASE_SIZE = 80
MAX_STREAMID_SIZE = 512
SRT_VERSION = 0x010401
)
Expand Down

0 comments on commit dca5a78

Please sign in to comment.