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

feat(codec-selection): Use the new codec selection API #2520

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jallamsetty1
Copy link
Member

@jallamsetty1 jallamsetty1 commented May 1, 2024

w3ctag/design-reviews#836. This allows the client to seamlessly switch between the codecs without having to trigger a renegotiation. This feature is behind the flag testing.enableCodecSelectionAPI in config.js

This is marked WIP since we need a JVB change for this feature to work as expected for all codecs. When the DD header extension headers are negotiated, Chrome includes the layer information for VP8 in the DD extension headers but the bridge currently reads this from the VP8 packet headers. Since renegotiation cycle is not triggered when this feature is enabled, client doesn't have a way of removing the DDs from being sent by Chrome when we switch to VP8. - this has been fixed in jitsi/jitsi-videobridge#2136

w3ctag/design-reviews#836. This allows the client to seamlessly switch between the codecs without having to trigger a renegotiation.
This feature is behind the flag testing.enableCodecSelectionAPI in config.js
@jallamsetty1 jallamsetty1 marked this pull request as draft May 1, 2024 17:50
The video codec for the local video sources needs to identified differently now, from the codecs field in the RTCRtpSendParameters returned by the browser. We no longer munge the remote SDP to switch to a different codec.
If no 'screenshareCodec' is set under videoQuality or p2p settings, AV1 will be selected as default.
@jallamsetty1 jallamsetty1 marked this pull request as ready for review June 4, 2024 00:48
@jallamsetty1 jallamsetty1 requested a review from saghul June 4, 2024 13:54
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.

None yet

1 participant