Closed Bug 1533511 Opened 5 years ago Closed 5 years ago

GV 67 can't play YouTube video in FFTV+GV

Categories

(Core :: Audio/Video: Playback, defect, P2)

Unspecified
Android
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox65 --- unaffected
firefox66 --- ?
firefox67 --- affected
firefox68 --- fix-optional

People

(Reporter: cpeterson, Unassigned)

References

()

Details

(Whiteboard: [gvtv:p1] [geckoview:p1] [media-q2])

Simon is testing GV in FFTV. He says that GV 65 can play YouTube videos, but GV 67 can't so this bug is a regression in GV 66 or 67.

https://github.com/mozilla-mobile/firefox-tv/issues/1915

Whiteboard: [gvtv] → [gvtv:p1] [geckoview:p1]
Rank: 15
Priority: -- → P2
Rank: 15 → 10

This also looks to me like a side effect of bug 1533252

Depends on: 1533252

To verify if this is caused by MediaCapabilities we would need to run with media.media-capabilities.enabled set to false.

Simon, can you please test YouTube playback on FFTV with the about:config pref media.media-capabilities.enabled = false?

Flags: needinfo?(schae)

(In reply to Nils Ohlmeier [:drno] from comment #2)

To verify if this is caused by MediaCapabilities we would need to run with media.media-capabilities.enabled set to false.

this is different to bug 1533252, YT doesn't work at all here. MediaCapabilities was already enabled in 65, there's been no change to it in 67.

(In reply to Chris Peterson [:cpeterson] from comment #3)

Simon, can you please test YouTube playback on FFTV with the about:config pref media.media-capabilities.enabled = false?

Do you still need me to check this? It's not as trivial to do this unless I have a local gecko build I think

Flags: needinfo?(schae)

(In reply to Simon Chae from comment #5)

Do you still need me to check this? It's not as trivial to do this unless I have a local gecko build I think

Simon says FFTV+GV supports about:config so he can test after all.

Whiteboard: [gvtv:p1] [geckoview:p1] → [gvtv:p1] [geckoview:p1] [media-q2]

John can you please take a look at the log Randell uploaded into the github issue here https://github.com/mozilla-mobile/firefox-tv/files/2963125/foo.txt and check if these crashes are something which we need to investigate, or were these the same out of memory crashes you saw when getMediaCapabilities() created too many decoders?

Flags: needinfo?(jolin)

The error is out of graphic buffer memory that very likely caused by concurrent video decoder creation (bug 1533252).

  14751:03-13 12:07:59.771  5860  5963 D SurfaceUtils: set up nativeWindow 0xd74b9008 for 1920x1080, color 0x11, rotation 0, usage 0x2002900
  14845:03-13 12:07:59.932  5860  5963 E ACodec  : registering GraphicBuffer 5 with OMX IL component failed: -12
  14846:03-13 12:07:59.937  5860  5963 E ACodec  : Failed to allocate buffers after transitioning to IDLE state (error 0xfffffff4)
  14847:03-13 12:07:59.937  5860  5963 E ACodec  : signalError(omxError 0x80001001, internalError -12)
  14848:03-13 12:07:59.937  5860  5962 E MediaCodec: Codec reported err 0xfffffff4, actionCode 0, while in state 5

And the "media processes keep dying" situation observed by :jesup is probably bug 1499224:

15310:03-13 12:08:03.084  5860  5860 I GeckoMediaManager: Media service has been unbound. Stopping.
15311:03-13 12:08:03.090  5860  5860 I Process : Sending signal. PID: 5860 SIG: 9
15424:03-13 12:08:04.978  3603  3875 I ActivityManager: Process org.mozilla.tv.firefox.gecko.debug:media (pid 5860) has died

I am resolving it as fixed for now. Please reopen if still reproducible.

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(jolin)
Resolution: --- → FIXED

I can play YT TV videos in FFTV + GV nightly 68.0.20190405095028

You need to log in before you can comment on or make changes to this bug.