Skip to content

Commit

Permalink
updating PROTO_OVERHEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumemichel committed Sep 3, 2024
1 parent 50c7468 commit 094c764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/webrtc-utils/src/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ mod state;
/// <https://issues.webrtc.org/issues/40644524>
pub const MAX_MSG_LEN: usize = 256 * 1024; // 256 KiB
/// Length of varint, in bytes.
const VARINT_LEN: usize = 2;
const VARINT_LEN: usize = 4;
/// Overhead of the protobuf encoding, in bytes.
const PROTO_OVERHEAD: usize = 5;
/// Maximum length of data, in bytes.
Expand Down

0 comments on commit 094c764

Please sign in to comment.