Closed Bug 2063078 Opened 3 months ago Closed 2 months ago

uplift libwebrtc v117 to esr115

Categories

(Core :: WebRTC, task)

task

Tracking

()

RESOLVED FIXED
Tracking Status
firefox-esr115 --- fixed

People

(Reporter: mjf, Assigned: jesus.leganes.combarro)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 4 external files, 6 obsolete files)

575.81 KB, application/x-gzip
Details
No description provided.
Blocks: 2063079

suggested condensed cherry-pick stack:
Bug 2063078 - Cherry-pick libwebrtc v117 ebb2bfd239::70aa7e99e4 r?mjf!
Bug 2063078 - In WebrtcMediaDataEncoder switch to generic, non-deprecated, end_of_picture (Cherry-pick Bug 1859231) r?mjf!
Bug 2063078 - Cherry-pick libwebrtc v117 c4e0254909::50ca701e68 r?mjf!

The full stack is missing one small change in third_party/libwebrtc/README.mozilla, but that is an acceptable difference between the original landing for v117 and this uplifted version.

Detailed-Range-First: 1488b9f0f008c697aabdcc3fffba3076a5671c12
Detailed-Range-Last: 1488b9f0f008c697aabdcc3fffba3076a5671c12
Detailed-Commit-Count: 1
Detailed-Stack-Head: 7933de6fdbc72736a3f403b94608ac32bed291e9
Detailed-Endpoint-Tree: 5b7254aff488330c75f1ec77bfb8b4650be89b47
Source-Orders-First: 0.1
Source-Orders-Last: 0.1
Source-Bug: 1859231
Condensation-Plan-SHA256: 4cab2ba07565e04981581bf8c5aa11724435f5e09b1728a50beb160eb32daf91

Assignee: nobody → jesus.leganes.combarro
Status: NEW → ASSIGNED
Attachment #9629294 - Flags: approval-mozilla-esr115?

Detailed-Range-First: 5a4088aa3c9747e1ec696def63371b8dc8e7fe51
Detailed-Range-Last: 7933de6fdbc72736a3f403b94608ac32bed291e9
Upstream-Range-First: c4e0254909
Upstream-Range-Last: 70aa7e99e4
Detailed-Commit-Count: 223
Detailed-Stack-Head: 7933de6fdbc72736a3f403b94608ac32bed291e9
Detailed-Endpoint-Tree: 317c5bb8e13d93cacbbdebd044bdf4c892629f9c
Source-Orders-First: 1
Source-Orders-Last: 223
Condensation-Plan-SHA256: 4cab2ba07565e04981581bf8c5aa11724435f5e09b1728a50beb160eb32daf91

Attachment #9629295 - Flags: approval-mozilla-esr115?

firefox-esr115 Uplift Approval Request

  • User impact if declined/Reason for urgency: This is part of the planned libwebrtc update series for ESR115. Without this uplift, ESR115 remains on an increasingly outdated libwebrtc revision, making future maintenance, upstream backports and security updates progressively more difficult. This patch also provides the required base for the following libwebrtc v118 uplift.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: no
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing: No specific manual reproduction steps. Validation is based on successful builds, automated tests/previous Try validation of the detailed stack, and review of the full and condensed patch stacks.
  • Risk associated with taking this patch: medium
  • Explanation of risk level: This uplift consists of a condensed replay of the reviewed libwebrtc v117 update together with the required Mozilla cherry-pick from Bug 1859231. The detailed stack was reviewed and approved, the condensed stack was verified to produce the same final Git tree as the detailed stack, and the Phabricator revisions have been reviewed and accepted. The risk is considered medium because libwebrtc is a large shared subsystem and this uplift contains a substantial set of upstream changes.
  • String changes made/needed?: No
  • Is Android affected?: unknown
Attachment #9629294 - Flags: approval-mozilla-esr115? → approval-mozilla-esr115+
Attachment #9629295 - Flags: approval-mozilla-esr115? → approval-mozilla-esr115+

Hi Ryan, I saw the v117 uplift was backed out because of the macOS build bustage.

I initially thought ESR115 was being maintained mainly for Windows 7/8, but I’ve checked and 10.12-10.14 are still supported as well, so the backout makes sense.

The failure seems to come from the libwebrtc update using AVCaptureDeviceDiscoverySession / AVCaptureDeviceTypeBuiltInWideAngleCamera, which are annotated as macOS 10.15+, while ESR115 still targets macOS 10.12.

Before I prepare a follow-up, could you confirm what you’d prefer here?

Should I add the compatibility guard/fix needed for the older macOS deployment target and then request the uplift again, or is there an existing Mozilla patch/backport you’d prefer me to use?

Flags: needinfo?(jesus.leganes.combarro)

I doubt there's an existing patch to backport since this particular libwebrtc update would have landed on main after we'd already set 10.15 as the minimum version. So I think adding the guard to the existing patch sounds reasonable to me. No need to re-request uplift either.

Condensation-Plan-SHA256: 69c33bf58b6664989f8df67194fc3268cad4a319526c4b9168ddacb20f32e596
Detailed-Commit-Count: 1
Detailed-Endpoint-Tree: 5b7254aff488330c75f1ec77bfb8b4650be89b47
Detailed-Range-First: 1488b9f0f008c697aabdcc3fffba3076a5671c12
Detailed-Range-Last: 1488b9f0f008c697aabdcc3fffba3076a5671c12
Detailed-Stack-Head: 1d71f7d0bd6ccac08be49505dbccbecc4f914100
Source-Bug: 1859231
Source-Orders-First: 0.1
Source-Orders-Last: 0.1

Attachment #9631236 - Flags: approval-mozilla-esr115?

Condensation-Plan-SHA256: 69c33bf58b6664989f8df67194fc3268cad4a319526c4b9168ddacb20f32e596
Detailed-Commit-Count: 70
Detailed-Endpoint-Tree: 4d4fcbab2a2f21fa49016b52853fe55826fc0385
Detailed-Range-First: 5a4088aa3c9747e1ec696def63371b8dc8e7fe51
Detailed-Range-Last: 0670ce825b3cfc0a626758b8ad196178fadc9f36
Detailed-Stack-Head: 1d71f7d0bd6ccac08be49505dbccbecc4f914100
Source-Orders-First: 1
Source-Orders-Last: 70
Upstream-Range-First: c4e0254909
Upstream-Range-Last: 9948623027

Attachment #9631237 - Flags: approval-mozilla-esr115?

Condensation-Plan-SHA256: 69c33bf58b6664989f8df67194fc3268cad4a319526c4b9168ddacb20f32e596
Detailed-Commit-Count: 1
Detailed-Endpoint-Tree: 1512ea1d389957a16760cb8a1bc23cab95331c93
Detailed-Range-First: 2bef65172f6d22b7bd24b2305f97a5a04cdfff82
Detailed-Range-Last: 2bef65172f6d22b7bd24b2305f97a5a04cdfff82
Detailed-Stack-Head: 1d71f7d0bd6ccac08be49505dbccbecc4f914100
Source-Bug: 2063078
Source-Orders-First: 70.1
Source-Orders-Last: 70.1

Condensation-Plan-SHA256: 69c33bf58b6664989f8df67194fc3268cad4a319526c4b9168ddacb20f32e596
Detailed-Commit-Count: 153
Detailed-Endpoint-Tree: ddd5302c0a312a3a7290364a88ae2cfec1b1e002
Detailed-Range-First: dd7a5919b65aa93cd82c46693c389ce435cbbf5f
Detailed-Range-Last: 1d71f7d0bd6ccac08be49505dbccbecc4f914100
Detailed-Stack-Head: 1d71f7d0bd6ccac08be49505dbccbecc4f914100
Source-Orders-First: 71
Source-Orders-Last: 223
Upstream-Range-First: 415e30fdbb
Upstream-Range-Last: 70aa7e99e4

Attachment #9631239 - Flags: approval-mozilla-esr115?
Attachment #9629294 - Flags: approval-mozilla-esr115+
Attachment #9629295 - Flags: approval-mozilla-esr115+

Condensation-Plan-SHA256: 27c41e214be3b74c8606cf80f5ca8ec055cd55a311eac3f0fe39c0acde43dea8
Detailed-Commit-Count: 191
Detailed-Endpoint-Tree: 6dc93e0b7ec6191ead02dfead7882668bcf1f4ea
Detailed-Range-First: 7c7d5f8bb8210831ae48d7c844deadd7d3971a41
Detailed-Range-Last: d0b6bbda871f5463addf3bbac107ecfb84b86228
Detailed-Stack-Head: d0b6bbda871f5463addf3bbac107ecfb84b86228
Source-Orders-First: 1
Source-Orders-Last: 191
Upstream-Range-First: 277fb3cd0e
Upstream-Range-Last: d8f2b0380b

Attachment #9631279 - Flags: approval-mozilla-esr115?
Attachment #9631238 - Attachment description: WIP: Bug 2063078 (MOZ) - Preserve camera device enumeration compatibility with macOS 10.12 → Bug 2063078 (MOZ) - Preserve camera device enumeration compatibility with macOS 10.12 r=mjf
Attachment #9629294 - Attachment is obsolete: true
Attachment #9629295 - Attachment is obsolete: true

Comment on attachment 9631279 [details]
Bug 2063078 - Cherry-pick libwebrtc v118 277fb3cd0e::d8f2b0380b r?mjf!

Revision D321672 was moved to bug 2063079. Setting attachment 9631279 [details] to obsolete.

Attachment #9631279 - Attachment is obsolete: true
Attachment #9631279 - Flags: approval-mozilla-esr115?

firefox-esr115 Uplift Approval Request

  • User impact if declined/Reason for urgency: This is part of the planned libwebrtc update series for ESR115. Without this uplift, ESR115 remains on an increasingly outdated libwebrtc revision, making future maintenance, upstream backports and security updates progressively more difficult. This patch also provides the required base for the following libwebrtc v118 uplift.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: no
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing: No specific manual reproduction steps. Validation is based on successful builds, automated tests/previous Try validation of the detailed stack, and review of the full and condensed patch stacks.
  • Risk associated with taking this patch: medium
  • Explanation of risk level: This uplift consists of a condensed replay of the reviewed libwebrtc v117 update together with the required Mozilla cherry-pick from Bug 1859231. The detailed stack was reviewed and approved, the condensed stack was verified to produce the same final Git tree as the detailed stack, and the Phabricator revisions have been reviewed and accepted. The risk is considered medium because libwebrtc is a large shared subsystem and this uplift contains a substantial set of upstream changes.
  • String changes made/needed?: No
  • Is Android affected?: unknown
Attachment #9631239 - Attachment description: Bug 2063078 - Cherry-pick libwebrtc v117 415e30fdbb::70aa7e99e4 r?mjf! → Bug 2063078 - Cherry-pick libwebrtc v117 415e30fdbb::70aa7e99e4
QA Whiteboard: [qa-triage-done-c157/b156]
Attachment #9631236 - Flags: approval-mozilla-esr115? → approval-mozilla-esr115+
Attachment #9631237 - Flags: approval-mozilla-esr115? → approval-mozilla-esr115+
Attachment #9631238 - Flags: approval-mozilla-esr115+
Attachment #9631239 - Flags: approval-mozilla-esr115? → approval-mozilla-esr115+
Attachment #9631236 - Flags: approval-mozilla-esr115+ → approval-mozilla-esr115?
Attachment #9631237 - Flags: approval-mozilla-esr115+ → approval-mozilla-esr115?
Attachment #9631238 - Flags: approval-mozilla-esr115+ → approval-mozilla-esr115?

Comment on attachment 9631239 [details]
Bug 2063078 - Cherry-pick libwebrtc v117 415e30fdbb::70aa7e99e4 r?mjf!

The stack failed to land due to conflicts, please rebase onto ESR115

Flags: needinfo?(jesus.leganes.combarro)
Attachment #9631239 - Flags: approval-mozilla-esr115+ → approval-mozilla-esr115?

Condensation-Plan-SHA256: db8dbfa3efc03ce16c353834e83d650c1ad32db50d1e8178fbefc4d217fd9676
Detailed-Commit-Count: 70
Detailed-Endpoint-Tree: bb3d69d54d32fa23cc4a0d0915e233a46a375de3
Detailed-Range-First: 9d17cf17b52e994487856ca386e5d55a3b8af23b
Detailed-Range-Last: d7569a6304a18a2615c76bee7f74715fb2a1a33f
Detailed-Stack-Head: 44f4fcdf029d28d517fa61db3f232291a828ad97
Source-Orders-First: 1
Source-Orders-Last: 70
Upstream-Range-First: c4e0254909
Upstream-Range-Last: 9948623027

Attachment #9635671 - Flags: approval-mozilla-esr115?

Condensation-Plan-SHA256: db8dbfa3efc03ce16c353834e83d650c1ad32db50d1e8178fbefc4d217fd9676
Detailed-Commit-Count: 1
Detailed-Endpoint-Tree: cfdb6b617d809497b95a5119bb2807ebdbe9391f
Detailed-Range-First: ac1da14f3ef07928d978106e3a124b960da8f228
Detailed-Range-Last: ac1da14f3ef07928d978106e3a124b960da8f228
Detailed-Stack-Head: 44f4fcdf029d28d517fa61db3f232291a828ad97
Source-Bug: 2063078
Source-Orders-First: 70.1
Source-Orders-Last: 70.1

Condensation-Plan-SHA256: db8dbfa3efc03ce16c353834e83d650c1ad32db50d1e8178fbefc4d217fd9676
Detailed-Commit-Count: 153
Detailed-Endpoint-Tree: a6235977abcd07111f23fc7ba638c4bcdf55ba8c
Detailed-Range-First: 61883fb0fa45a95f75e0854aceff3e5805ef2536
Detailed-Range-Last: 44f4fcdf029d28d517fa61db3f232291a828ad97
Detailed-Stack-Head: 44f4fcdf029d28d517fa61db3f232291a828ad97
Source-Orders-First: 71
Source-Orders-Last: 223
Upstream-Range-First: 415e30fdbb
Upstream-Range-Last: 70aa7e99e4

Attachment #9635673 - Flags: approval-mozilla-esr115?
Attachment #9635671 - Attachment is obsolete: true
Attachment #9635671 - Flags: approval-mozilla-esr115?
Attachment #9635672 - Attachment is obsolete: true
Attachment #9635673 - Attachment is obsolete: true
Attachment #9635673 - Flags: approval-mozilla-esr115?
Attachment #9631238 - Attachment description: Bug 2063078 (MOZ) - Preserve camera device enumeration compatibility with macOS 10.12 r=mjf → Bug 2063078 (MOZ) - Preserve camera device enumeration compatibility with macOS 10.12
Attachment #9631239 - Attachment description: Bug 2063078 - Cherry-pick libwebrtc v117 415e30fdbb::70aa7e99e4 → Bug 2063078 - Cherry-pick libwebrtc v117 415e30fdbb::70aa7e99e4 r?mjf!

Hi @dmeehan, the v117 condensed stack has been rebased and updated. mjf has reviewed the updated stack. Could you please take another look and confirm it is ready to land? Thanks!

Flags: needinfo?(jesus.leganes.combarro) → needinfo?(dmeehan)
Attachment #9631239 - Flags: approval-mozilla-esr115? → approval-mozilla-esr115+
Attachment #9631238 - Flags: approval-mozilla-esr115? → approval-mozilla-esr115+
Attachment #9631237 - Flags: approval-mozilla-esr115? → approval-mozilla-esr115+
Attachment #9631236 - Flags: approval-mozilla-esr115? → approval-mozilla-esr115+
Flags: needinfo?(dmeehan)
Depends on: 1859231

I'm not sure why this wasn't marked as fixed when the patches landed 20 days ago.

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: