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

RTP header extension #202

Open
JairoBit opened this issue Jul 20, 2023 · 2 comments
Open

RTP header extension #202

JairoBit opened this issue Jul 20, 2023 · 2 comments
Labels
feature New feature

Comments

@JairoBit
Copy link

Hi,

I would like to use the header extension for my project for send and receive a status and ID. I found the "struct ext_header" declaration but I didn't find a way to use it in the library.

Have any example of use? Or still need implementation?

@tampsa
Copy link
Collaborator

tampsa commented Jul 24, 2023

Hi,

Sending packets with a header extension is not yet implemented. As RFC 3550 section 3.5.1 suggests, the header extension is intended for limited use only, and in most situations the information should be carried in the payload section of the packet.
This would be a nice feature to have sometime in the future, but it is hard to say when we have time to implement this.

-Heikki

@tampsa tampsa added the feature New feature label Jul 24, 2023
@jrsnen
Copy link
Member

jrsnen commented Jul 25, 2023

In other words, currently, uvgRTP should be able to receive any header extensions, but we have no plans to support sending custom header extension. We try to keep uvgRTP API at a slightly higher level than allowing the user to send any kind of data, but we are not opposed to PRs that add support for new RFCs that use header extensions.

Hard to tell, what would be the best way to determine ID/status without knowing more about the situation. There is SSRC for stream specific identification and timestamps for telling different frames from each other.

BR, Joni Räsänen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

3 participants