From b6a97e7c935c704cee0cae5a55d644d51b7e11c8 Mon Sep 17 00:00:00 2001 From: afrind Date: Thu, 27 Feb 2025 12:12:39 -0800 Subject: [PATCH 1/2] Explain Stream Count better Also add a value for Datagram tracks Fixes #681 Fixes #701 --- draft-ietf-moq-transport.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/draft-ietf-moq-transport.md b/draft-ietf-moq-transport.md index dc77f208..8058adc4 100644 --- a/draft-ietf-moq-transport.md +++ b/draft-ietf-moq-transport.md @@ -2032,9 +2032,20 @@ SUBSCRIBE_DONE Message { * Status Code: An integer status code indicating why the subscription ended. + * Stream Count: An integer indicating the number of data streams the publisher -opened for this subscription. The subscriber can remove all subscription state -once the same number of streams have been processed. +opened for this subscription. This helps the subscriber know if it has received +all of the data published in this subscription by comparing the number of +streams received. The subscriber can immediately remove all subscription state +once the same number of streams have been processed. If the track had +Forwarding Preference = Datagram, the publisher MUST set Stream Count to 0. If +the publisher is unable to set Stream Count to the exact number of streams +opened for the subscription, it MUST set Stream Count to 2^62 - 1. Subscribers +SHOULD use a timeout or other mechanism to remove subscription state in case +the publisher set an incorrect value, reset a stream before the SUBGROUP_HEADER, +or set the maximum value. If a subscriber receives more streams for a +subscription than specified in Stream Count, it MAY close the session with a +Protocol Violation. * Reason Phrase: Provides the reason for subscription error. From 4067530f5d5682f3acd052a32ec2fd0fe9688c29 Mon Sep 17 00:00:00 2001 From: afrind Date: Thu, 27 Feb 2025 12:13:17 -0800 Subject: [PATCH 2/2] Update draft-ietf-moq-transport.md remove blank line --- draft-ietf-moq-transport.md | 1 - 1 file changed, 1 deletion(-) diff --git a/draft-ietf-moq-transport.md b/draft-ietf-moq-transport.md index 8058adc4..cda27227 100644 --- a/draft-ietf-moq-transport.md +++ b/draft-ietf-moq-transport.md @@ -2032,7 +2032,6 @@ SUBSCRIBE_DONE Message { * Status Code: An integer status code indicating why the subscription ended. - * Stream Count: An integer indicating the number of data streams the publisher opened for this subscription. This helps the subscriber know if it has received all of the data published in this subscription by comparing the number of