-
Notifications
You must be signed in to change notification settings - Fork 11
Joining fetch #521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Joining fetch #521
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
f9d0797
WIP Joining Fetch
RichLogan ea45743
Add FetchAvailability result
RichLogan df49828
Review
RichLogan d25baf8
Merge branch 'fetch-response' into joining-fetch
RichLogan b018d41
Wiring for joining fetch resolution
RichLogan 8e08db2
Merge branch 'fetch-header' into joining-fetch
RichLogan 61126a4
WIP
RichLogan 2ad89e9
Review
RichLogan b65da50
Review
RichLogan 42ae5a3
Add parameters
RichLogan 9b6446f
Review
RichLogan 18ad52b
Fix fetch and joining fetch, Fix cache to support intervals gt 1
TimEvens 61f3972
format
TimEvens c2aa367
Fix fetch issues:
TimEvens c589b3e
format
TimEvens File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| // SPDX-FileCopyrightText: Copyright (c) 2025 Cisco Systems | ||
| // SPDX-License-Identifier: BSD-2-Clause | ||
|
|
||
| #pragma once | ||
|
|
||
| #include <quicr/detail/messages.h> | ||
| #include <quicr/subscribe_track_handler.h> | ||
|
|
||
| namespace quicr { | ||
| /** | ||
| * JoiningFetchHandler is used internally in order to forward JOINING FETCH | ||
| * streams to their corresponding SUBSCRIBE track handler, for convenience. | ||
| */ | ||
| class JoiningFetchHandler : public SubscribeTrackHandler | ||
| { | ||
| public: | ||
| explicit JoiningFetchHandler(std::shared_ptr<SubscribeTrackHandler> joining_subscribe) | ||
| : SubscribeTrackHandler(joining_subscribe->GetFullTrackName(), | ||
| joining_subscribe->GetPriority(), | ||
| joining_subscribe->GetGroupOrder(), | ||
| joining_subscribe->GetFilterType()) | ||
| , joining_subscribe_(std::move(joining_subscribe)) | ||
| { | ||
| } | ||
| void StreamDataRecv(bool is_start, | ||
| uint64_t stream_id, | ||
| std::shared_ptr<const std::vector<uint8_t>> data) override; | ||
|
|
||
| private: | ||
| std::shared_ptr<SubscribeTrackHandler> joining_subscribe_; | ||
| }; | ||
|
|
||
| } // namespace moq |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The thought here is that a fetch could be denied. We still need that for the future, but I suppose we can add it back then.