Bump protocols. Added proto status

This commit is contained in:
Ultradesu committed 2026-07-28 22:20:33 +01:00
1 parent cad8b2280f
commit d61d7a6bac
5 files changed
+84 -6

No files matched your search

+2
View File
@@ -21,6 +21,8 @@ use super::{TransportStats, record_stream_transport};
/// ALPN of the peer-to-peer audio streaming protocol.
pub const AUDIO_ALPN: &[u8] = b"furumi-fd/audio/1";
/// Version of the peer-to-peer audio streaming protocol.
pub const AUDIO_PROTOCOL_VERSION: u16 = 1;
/// Maximum size of a JSON protocol line (request or response header).
const MAX_PROTOCOL_LINE: usize = 4096;