Open Bug 1896931 (media3) Opened 1 year ago Updated 1 month ago

[meta] ExoPlayer: remove or migrate to Media3?

Categories

(Core :: Audio/Video, task)

ARM
Android
task

Tracking

()

People

(Reporter: jimm, Unassigned)

References

(Depends on 3 open bugs, Blocks 4 open bugs)

Details

(Keywords: meta, webcompat:platform-bug, Whiteboard: [fxdroid])

User Story

user-impact-score:645

Discussion around what we want to do with ExoPlayer code in GeckoView.

Depends on: 1896203
Depends on: 1672751, 1778430
OS: Unspecified → Android
Hardware: Unspecified → ARM
Depends on: disable-hls
Summary: [meta] ExoPlayer Meta → [meta] ExoPlayer: remove or migrate to Media3?
Whiteboard: [fxdroid]

Why did we move away from ExoPlayer to HLS????

Depends on: 1903429
Depends on: 1802969

Disabling HLS in bug 1896932 makes the content in bug 1802969 unplayable. (It was originally playable with an audio issue.) It seems there are sites that use hls.js on desktop but have some web compatibility issues on mobile.

Comment 2, Chris?

Flags: needinfo?(cpeterson)

Why did we move away from ExoPlayer to HLS????

Firefox Android used the ExoPlayer to implement native support for HLS in Gecko. This bug removed the outdated ExoPlayer, expecting websites would fall back to the hls.js library. But there are some issues with hls.js we need to investigate.

Flags: needinfo?(cpeterson)

Oooh ExoPlayer is outdated, ok.

See Also: → 1884192
Depends on: 1911651
See Also: → 1911081
Depends on: 1913403
No longer depends on: 1802969
No longer depends on: 1913403
Blocks: 1778430
No longer depends on: 1778430

There are two reasons we might move from Exoplayer to Media3:

  • Avoiding the Exoplayer OOM crashes (bug 1923711)
  • Exoplayer is no longer maintained and Media3 is Google's replacement

https://github.com/google/ExoPlayer
https://developer.android.com/media/media3/exoplayer

Depends on: 1923711
Depends on: 1907832
Depends on: 1912088
Blocks: 1908296
Alias: media3
No longer blocks: 1908296
Depends on: 1929822
Blocks: 1934908
Blocks: 1929822
No longer depends on: 1929822
Blocks: 1907832, 1912088
No longer depends on: 1907832, 1912088
No longer blocks: 1934908
User Story: (updated)
You need to log in before you can comment on or make changes to this bug.