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 support for RTP input in srt-live-transmit #2848

Merged
merged 8 commits into from
Jan 12, 2024

Conversation

davemevans
Copy link
Contributor

@davemevans davemevans commented Jan 8, 2024

Introduce a new Source type that considers RTP separately to UDP.

The intention is to drop bytes from the head of the input buffer. This enables the RTP header to be dropped for use cases where the receiving end cannot accept RTP. The default behaviour is to skip the first 12 bytes. Where rtpheadersize is set, the number of bytes to skip can be varied, to deal with extended RTP headers for example.

No effort is made in this initial implementation to attempt to parse the RTP headers in any way eg for reordering, extracting timing, detecting length.

This goes some way to addressing #136.

@maxsharabayko maxsharabayko added this to the v1.5.4 milestone Jan 9, 2024
@maxsharabayko maxsharabayko added Type: Enhancement Indicates new feature requests [apps] Area: Test applications related improvements labels Jan 9, 2024
@maxsharabayko
Copy link
Collaborator

Could you please also update the srt-live-transmit.md document with the new media type and its specifics like not actually parsing RTP you described here?

@davemevans
Copy link
Contributor Author

Could you please also update the srt-live-transmit.md document with the new media type and its specifics like not actually parsing RTP you described here?

Addressed via 3075b8e

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (88c6214) 67.04% compared to head (3075b8e) 67.02%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2848      +/-   ##
==========================================
- Coverage   67.04%   67.02%   -0.02%     
==========================================
  Files         102      102              
  Lines       20368    20368              
==========================================
- Hits        13656    13652       -4     
- Misses       6712     6716       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ethouris
Copy link
Collaborator

Sorry that I have spread the review comments so long in time. It should be everything this time.

Copy link
Collaborator

@maxsharabayko maxsharabayko left a comment

Choose a reason for hiding this comment

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

@davemevans Thanks for the contribution!

@maxsharabayko maxsharabayko merged commit b8358bc into Haivision:master Jan 12, 2024
8 of 10 checks passed
@davemevans davemevans deleted the 136 branch January 12, 2024 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[apps] Area: Test applications related improvements Type: Enhancement Indicates new feature requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants