Skip to content
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

Add Shared Memory for incoming data. #350

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

GhostofCookie
Copy link
Contributor

No description provided.

@GhostofCookie GhostofCookie requested a review from TimEvens January 8, 2025 15:50
Copy link
Collaborator

@TimEvens TimEvens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great. Although, we will likely not have more than one slice. It's nice to have this though, because we have that crazy situation that QUIC/MoQ causes where we may not have enough data to parse the needed track alias out to find the subscribe handler.

This is great as the shared memory, but we need something very similar for PayloadData that the subscribe handler will use. In other words, subscribe handler will need to Push() shared pointers as slices. PayloadData also needs to have a method to set the begin iterator and end iterator, which happens after construct.

include/quicr/shared_memory.h Outdated Show resolved Hide resolved
include/quicr/shared_memory.h Outdated Show resolved Hide resolved
include/quicr/shared_memory.h Outdated Show resolved Hide resolved
include/quicr/shared_memory.h Outdated Show resolved Hide resolved
test/shared_memory.cpp Outdated Show resolved Hide resolved
@GhostofCookie GhostofCookie marked this pull request as ready for review January 9, 2025 15:48
@GhostofCookie GhostofCookie changed the title Add beginnings of shared memory container. Add Shared Memory for incoming data. Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants