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

sdp: simulcast: Properly parse and set 'a=simulcast:' #528

Merged
merged 1 commit into from
Jan 14, 2024

Conversation

haaspors
Copy link
Contributor

@haaspors haaspors commented Jan 9, 2024

This improves parsing and generation of SDP for simulcast attribute according to RFC8853.
Support for alternative formats are not implemented 100%.

Comparing to Pion implementation, this commit at least covers more, hopefully most usecases for webrtc-rs users.

@haaspors
Copy link
Contributor Author

haaspors commented Jan 9, 2024

Here is at least one corresponding pion commit if anyone interested
pion/webrtc@ee9717e

Copy link

codecov bot commented Jan 9, 2024

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (fb59f4b) 61.53% compared to head (b989e68) 61.55%.

Files Patch % Lines
webrtc/src/peer_connection/sdp/sdp_test.rs 74.07% 0 Missing and 7 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #528      +/-   ##
==========================================
+ Coverage   61.53%   61.55%   +0.01%     
==========================================
  Files         529      529              
  Lines       48859    48877      +18     
  Branches    12367    12369       +2     
==========================================
+ Hits        30067    30085      +18     
+ Misses       9588     9585       -3     
- Partials     9204     9207       +3     

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

@haaspors haaspors force-pushed the simulcast-rid branch 2 times, most recently from 7c15348 to 70b297d Compare January 12, 2024 14:39
This improves parsing and generation of SDP for simulcast attribute
according to RFC8853.
Support for alternative formats are not implemented 100%.

Comparing to Pion implementation, this commit at least covers more, hopefully
most usecases for webrtc-rs users.
@rainliu rainliu merged commit 0564ff3 into webrtc-rs:master Jan 14, 2024
5 checks passed
@haaspors haaspors deleted the simulcast-rid branch January 15, 2024 08:06
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