From 75e7dc03bfc0e64fe243742478bd755b399045a2 Mon Sep 17 00:00:00 2001 From: kixelated Date: Tue, 7 Nov 2023 21:58:26 +0900 Subject: [PATCH] Correct version (#123) --- moq-transport/src/setup/version.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moq-transport/src/setup/version.rs b/moq-transport/src/setup/version.rs index 5f7dca5..8933039 100644 --- a/moq-transport/src/setup/version.rs +++ b/moq-transport/src/setup/version.rs @@ -10,10 +10,10 @@ pub struct Version(pub VarInt); impl Version { /// https://www.ietf.org/archive/id/draft-ietf-moq-transport-00.html - pub const DRAFT_00: Version = Version(VarInt::from_u32(0xff00)); + pub const DRAFT_00: Version = Version(VarInt::from_u32(0xff000000)); /// https://www.ietf.org/archive/id/draft-ietf-moq-transport-01.html - pub const DRAFT_01: Version = Version(VarInt::from_u32(0xff01)); + pub const DRAFT_01: Version = Version(VarInt::from_u32(0xff000001)); /// Fork of draft-ietf-moq-transport-00. ///