Skip to content

fix: keep codec hashes and MIME types locale independent and avoid camera score overflow - #548

Merged
devopvoid merged 2 commits into
mainfrom
fix/codec-locale-camera-overflow
Nov 5, 2026
Merged

devopvoid merged 2 commits into
mainfrom
fix/codec-locale-camera-overflow

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

AudioCodecInfo and VideoCodecInfo hash codes now fold the name as equalsIgnoreCase does, which keeps them consistent with equals under any locale. RTCRtpCodecCapability.getMimeType() no longer depends on the default locale, and the camera capability score is computed as long, so extreme resolutions cannot overflow it.

@devopvoid
devopvoid merged commit 590677b into main Nov 5, 2026
13 of 14 checks passed
@devopvoid
devopvoid deleted the fix/codec-locale-camera-overflow branch November 5, 2026 13:53
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