Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #233 +/- ##
=======================================
Coverage 87.38% 87.38%
=======================================
Files 20 20
Lines 1887 1887
=======================================
Hits 1649 1649
Misses 207 207
Partials 31 31
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Hello, extensions are currently managed through Do i like this implementation? no. Personally i think that those functions should be removed, extensions should be exposed directly and consistency tests should be performed into But anyway we're not talking about a missing feature, since the feature is already fully implemented, we're talking about a design choice, so it's not up to me to decide. |
|
The current API actually cannot meet the requirement of SFU updating extension ID. The only way we can do this under the current API design is: As you can see, this makes no sense. Since Extensions are already exposed, I think this is an acceptable minimal change without changing the existing API design. |
|
Why do you say that I think your task (changing an extension ID) can be solved by calling in sequence |
|
Yes, I could also : Still, why not just expose the ID. And if we can't change extensions, why expose it. |
|
Whether they are exposed or not, I think they should be consistent - either all exposed or none exposed. Since Extensions are already exposed, then the ID and Payload should also be exposed. |
|
Doing what you propose would allow to bypass consistency checks, as i already wrote, and this would mean losing a feature instead of gaining one. If you want to expose extensions, also reimplement consistency checks into |
|
Yes, I understand your concern. But I think it's already been bypassed. The exposed fields in the header have already caused inconsistencies. |
|
Here are my thoughts:
I will leave it up to you or others, thanks for your replies. |
|
@aler9 @jerry-tao I filed a similar issue might be related to this one at #249 |
|
Sorry I didn't chip in earlier @jerry-tao I think @aler9 captured it perfect. The only thing worse then a frustrating API is two :( What do you think off adding more APIs to I am trying to get issues/PRs on this repo to 0. So I will be hacking away if you have ideas I can get them in! |
Description
The Extension in the RTP header is exposed, but the id and payload are not. I think it would make sense for these two fields to also be exposed.