fenix icon indicating copy to clipboard operation
fenix copied to clipboard

[Bug] Soundcloud: Audio plays without media notification showing

Open agi90 opened this issue 7 years ago • 18 comments

Steps to reproduce

  • Play a song (e.g. on soundcloud.com) on Fenix
  • Put Fenix in the background
  • Open a CustomTab from Twitter app (or another app)
  • Open app list and swipe Fenix away

Expected behavior

  • Music should stop, or a notification that music is playing from Fenix should display

Actual behavior

  • Music keeps playing, no way for the user to stop it (beside using Force Stop, which is a pretty obscure UX)

Device information

  • Android device: Samsung S10, Android 9
  • Fenix version: Latest Nightly from today

┆Issue is synchronized with this Jira Task

agi90 avatar Aug 17 '19 18:08 agi90

Looks like this is specific to soundcloud.com and it's due to https://bugzilla.mozilla.org/show_bug.cgi?id=1554297

agi90 avatar Aug 19 '19 16:08 agi90

Is this still an issue @agi90?

boek avatar Dec 28 '19 04:12 boek

According to #1461 this is still an issue.

kbrosnan avatar Dec 31 '19 03:12 kbrosnan

If we want to make this a priority, we'll need to comment in the bugzilla issue https://bugzilla.mozilla.org/show_bug.cgi?id=1554297

liuche avatar Mar 27 '20 00:03 liuche

This will be fixed by the implementation of a new Media standard, the Media Session API. There are a number of parts to this, including implementing it in Gecko and then exposing it through GeckoView. The design phase of this is under way, with implementation expected to occur in GeckoView 79. Please ping me if you want to gain access to the design doc for the spec.

fluffyemily avatar May 19 '20 14:05 fluffyemily

The design doc is public https://docs.google.com/document/d/1cv7dhLvf7HYr34qNP7SYBNCARBZ2HFbegRsK4PGZHZQ/edit

agi90 avatar May 19 '20 17:05 agi90

I've encountered the same issue using rockfm.ro on the latest beta 5.1.0-beta.1 build with Samsung Galaxy Tab S6 (Android 9).

lobontiumira avatar May 20 '20 08:05 lobontiumira

This is being tracked under https://bugzilla.mozilla.org/show_bug.cgi?id=1623715. The implementation of Media Session inside Gecko is a pretty big task and is likely to take longer than a single release cycle. Earliest possible GV for this landing is probably GV 80.

fluffyemily avatar Jun 02 '20 13:06 fluffyemily

Now that this AC issue has landed https://github.com/mozilla-mobile/android-components/issues/8207, let's QA this on Nightly with the next AC version, on ~~Friday Oct 9~~. EDIT: Due to AC PR problems today and Play Store review times, let's test on Monday Oct 12.

Related issues would be: #7369 #10740

liuche avatar Oct 08 '20 02:10 liuche

This is not fixed yet on the 10/9 Nightly build (AC: 63.0.20201008190100, 6249bacf5, GV: 83.0a1-20201008094950) on HTC 10 (Android 8). Following the STR from the first comment, only force closing Fenix stopped the media from playing.

I'll remove the qa:needed label.

lobontiumira avatar Oct 09 '20 06:10 lobontiumira

Hi, verified as fixed on the latest Nightly 201210 using the following devices: • Google Pixel 3a (Android 11) • Huawei Mate 20 Lite (Android 10) • OnePlus A3 (Android 6.0.1)

AndiAJ avatar Dec 10 '20 07:12 AndiAJ

Still reproducible on Beta 85.0.0-beta.1 using a OnePlus A3 (Android 6.0.1)

AndiAJ avatar Dec 17 '20 10:12 AndiAJ

This issue is still reproducible on Beta 85.0.0-beta.6 with Nexus 5 (Android 6.0.1).

ebalazs-sv avatar Jan 08 '21 12:01 ebalazs-sv

FYI, on Nightly86.0a1, I am not able to reproduce this issue any more, Firefox shows the media notification controller while playing music on Soundclound.

alastor0325 avatar Jan 11 '21 22:01 alastor0325

Still reproducible on Beta 85.0.0-beta.7 with Sony Xperia Z5 Premium (Android 7.1.1). I'll reopen this issue.

lobontiumira avatar Jan 12 '21 12:01 lobontiumira

@softvision-miralobontiu / @ebalazs-sv This is not enabled in Beta yet. It was kept behind a feature flag. It's in Nightly currently and should go into the next Beta.

pocmo avatar Jan 13 '21 16:01 pocmo

Still reproducible on 85.1.0-rc.1 using a OnePlus A3 (Android 6.0.1)

AndiAJ avatar Jan 21 '21 07:01 AndiAJ

Still reproducible on 85.1.3 using a OnePlus A3 (Android 6.0.1)

AndiAJ avatar Feb 09 '21 14:02 AndiAJ