Closed Bug 1101259 Opened 11 years ago Closed 1 year ago

Configuration of preferred codec should be based on codec name, not payload type

Categories

(Core :: WebRTC: Signaling, defect, P4)

defect

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: bwc, Assigned: ng)

Details

Attachments

(2 files)

Right now, media.navigator.video.preferred_codec takes a payload type number, like "126", but should really be taking something more like "H264"
backlog: --- → webRTC+
Rank: 40
Priority: -- → P3
Mass change P3->P4 to align with new Mozilla triage process.
Priority: P3 → P4
Severity: normal → S3
Assignee: nobody → na-g
Status: NEW → ASSIGNED

This pref is currently broken, and unused. I am going to remove the pref but keep the functionality.

[50026] Hit MOZ_CRASH(Should not access the preference 'media.navigator.video.preferred_codec' in the Content Processes) at /Users/ng/dev/mozilla-unified/modules/libpref/Preferences.cpp:1217
#01: PrefWrapper::WantValueKind(mozilla::PrefType, mozilla::PrefValueKind) const[/Users/ng/dev/build/opt-obj-aarch64-apple-darwin23.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x6911d8]
#02: nsresult mozilla::Internals::GetPrefValue<int*&>(char const*, int*&, mozilla::PrefValueKind)[/Users/ng/dev/build/opt-obj-aarch64-apple-darwin23.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x67381c]
#03: nsPrefBranch::GetIntPref(char const*, int*)[/Users/ng/dev/build/opt-obj-aarch64-apple-darwin23.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x5cf4cc]
#04: mozilla::PeerConnectionImpl::ConfigureJsepSessionCodecs()[/Users/ng/dev/build/opt-obj-aarch64-apple-darwin23.5.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x459c938]

Pushed by na-g@nostrum.com: https://hg.mozilla.org/integration/autoland/rev/98de71768403 preferred webrtc codec pref should accept codec name;r=bwc https://hg.mozilla.org/integration/autoland/rev/1df9ac8602b2 remove references to media.navigator.video.preferred_codec;r=bwc
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: