Closed Bug 1634170 Opened 5 years ago Closed 5 years ago

Playing DRM Video on Android breaks non-DRM video sites.

Categories

(Core :: Audio/Video, defect, P1)

ARM64
Android
defect

Tracking

()

VERIFIED FIXED
mozilla78
Tracking Status
firefox77 --- verified
firefox78 --- verified

People

(Reporter: rbarker, Assigned: jhlin)

Details

(Whiteboard: [fxr:p1][geckoview])

Attachments

(2 files)

STR:

  1. Visit https://www.ezdrm.com/html/drm-demos.asp and play video
  2. Open new tab and visit youtube.com
  3. Play any video

Actual:
Youtube videos are broken

Expected:
Youtube videos will play

This reproduces with and DRM video such as amazon prime.
Related FxR issue: https://github.com/MozillaReality/FirefoxReality/issues/3285
The FxR issue contains a screen capture of the issue.

I was able to reproduce this in GeckoView Example.
I've attached a logcat captured while reproducing the issue.

Whiteboard: [fxr:p1][geckoview]
Attachment #9144445 - Attachment description: Locat captured while reproducing issue. → Logcat captured while reproducing issue.
Assignee: nobody → jolin
Status: NEW → ASSIGNED
Priority: -- → P1

This problem is caused by using shared sample objects without properly clear the old crypto info of previous inputs. A regression of bug 1308405.

Pushed by jolin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/790ff6cce320 clear crypto info before reusing recycled sample. r=geckoview-reviewers,esawin
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78

The patch landed in nightly and beta is affected.
:jhlin, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(jolin)

Comment on attachment 9146037 [details]
Bug 1634170 - clear crypto info before reusing recycled sample. r?bryce

Beta/Release Uplift Approval Request

  • User impact if declined: DRM and non-DRM video cannot be played at the same time.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): The change is very simple.
  • String changes made/needed:
Flags: needinfo?(jolin)
Attachment #9146037 - Flags: approval-mozilla-beta?

Comment on attachment 9146037 [details]
Bug 1634170 - clear crypto info before reusing recycled sample. r?bryce

Simple patch and Fenix should be on beta 77 soon, uplift approved for beta, thanks.

Attachment #9146037 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

No issue encountered while testing this issue on Android (geckoview-example app), following the steps from the description with Samsung Galaxy Note 10 (Android 10) and Nokia 6 (Android 7.1.1). The FxR issue is also verified and I will update this one as well.
Notes: Fenix issue for adding DRM support: https://github.com/mozilla-mobile/fenix/issues/1175.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: