Skip to content

fix: use the 3-parameter QueryCodecSupport overloads - #416

Merged
devopvoid merged 1 commit into
mainfrom
fix/query-codec-support-deprecation
Oct 22, 2026
Merged

devopvoid merged 1 commit into
mainfrom
fix/query-codec-support-deprecation

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

WebRTC deprecated the 2-parameter QueryCodecSupport overloads of VideoEncoderFactory and VideoDecoderFactory. GetHardwareVideoEncoderFormats and GetHardwareVideoDecoderFormats now call the 3-parameter versions with resolution = std::nullopt, which is what the old overloads forwarded to, so behavior is unchanged and the deprecation warning is gone.

@devopvoid
devopvoid merged commit 0e0cf4d into main Oct 22, 2026
29 of 31 checks passed
@devopvoid
devopvoid deleted the fix/query-codec-support-deprecation branch October 22, 2026 21:18
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.

1 participant