Open Bug 1894494 Opened 2 years ago Updated 2 months ago

Playing list of audio files hang after while

Categories

(Firefox for Android :: Media, defect)

Unspecified
Android
defect

Tracking

()

Tracking Status
firefox147 --- affected
firefox148 --- affected
firefox149 --- affected

People

(Reporter: jocelyn.courcelles, Unassigned)

Details

Attachments

(3 files)

Attached file ProtoAudioStatic.tgz (obsolete) —

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0

Steps to reproduce:

Android Firefox version : 125.3.0 (Build #2016017559), 9f29904153+
GV: 125.0.3-20240425211020
AS: 125.0.1
My device is a Samsung Tab A SM-T350.

I make a web server to play a list of music files. See the archive attached to get the code I put to my server.

Step to reproduce the issue.

  • Open Firefox android.
  • Enter in the URL the web site address https://......
  • Push the Démarrer (Start) button to listen the musics playlist.

Actual results:

My playlist have 12 pieces of musics. After pushing the Démarrer button, the music start to play. After playing few pieces, the music stop. If I turn on the screen of my tablet, the music continue where it was left.

Expected results:

I was expected my playlist of musics continue from the first to the last without no interruption.
Interesting fact, if I use Firefox Focus android or Google Chrome android, I do not have this issue. All my list of music play without any problem even when my screen is turn off.

Component: General → Media
Hardware: All → Unspecified

I forget to tell, the tablet should not been connected to the power pack (charging) to see this issue.

The severity field is not set for this bug.
:tthibaud, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(tthibaud)
Severity: -- → S3
Flags: needinfo?(tthibaud)

Hey Jocelyn Courcelles, thanks a lot for reporting this issue.

Have you enabled the notifications for Firefox?

Also, would you mind testing with Firefox Nightly to see if you can reproduce the bug?

Flags: needinfo?(jocelyn.courcelles)

You could see the Notifications option is enabled for the Firefox application.

Flags: needinfo?(jocelyn.courcelles)

Hi Titouan,

Thanks for your help.

The notifications for Firefox is enabled. See picture attached ( Firefox information picture from my Samsung tablet. )

I did a test with the Firefox Nightly and the issue is still present. The music hang at the third musical piece.
Build version :
127.0a1 (Build #2016020495), hg-45d7400ced7e+
GV: 127.0a1-20240512212637
AS: 127.20240511050241

Thanks for your answer!

Would you mind sharing an archive or your code with some real musics, for example copyleft musics, that would help us reproduce the bug easily? 

Also, you could try following this doc to connect your Fenix Nightly to the debugger on Firefox Desktop and look into the console in case an error is visible there. Let me know if there's anything unclear here.

Flags: needinfo?(jocelyn.courcelles)

Please extract the exp.tgz archive to get the code.

Unfortunately, I do not have copyleft music but, you could modify the variable musics in the exp.js file and put your files under the musics directory.
Keep the following syntax for the music array variable in the exp.js.
"01 - Music title.mp3"
"02 - Music title.mp3"

Step to reproduce the issue.
The device should not be connected to the battery charger.
1 - Push the Démarrer button.
2 - Turn off the screen.
Do not use the device during testing. The music will hang before the end of the playlist.

Flags: needinfo?(jocelyn.courcelles)
Attached file exp.tgz —

I've tested your app on my device and I can see that the media notification disappears when the second music starts. It highly probable that playback stops because there's no foreground notification any more.

I'm not sure yet if this is a website issue or an issue on the Fenix side. I do see that the playback notification is still visible with the second music on Chrome though.

If I use Firefox focus on my Android device, I do not see the issue. All music pieces play to the end without hang.

Jocelyn, could you retry now on the latest version of Firefox for Android, and let us know if the issue is still reproducible?
Thank you!

Flags: needinfo?(jocelyn.courcelles)
Flags: needinfo?(jocelyn.courcelles)

Hello Mira, I try it with the version 147.0.2 (see last picture for more details) and the issue still reproducible. I create a WEB site for testing this issue. I could send you the URL (using private channel) if you want so you could try it on your device. Thanks for your help and have a good day!

Thank you for the quick reply.
Please send the link to my email: mlobontiuroman@mozilla.com.

Flags: needinfo?(jocelyn.courcelles)

Hello Mira,
I send you the link at your email.
Have a nice weekend!

Flags: needinfo?(jocelyn.courcelles)

I respond to your email. Maybe, it drop in your spam.

Thank you, Jocelyn!

I was able to reproduce this issue with the file provided by you, on a Google Pixel (Android 10), and on a Samsung Galaxy S24 (Android 16), on both Nightly 149.0a1, and on 147.0.2. Reproducible only if the device is locked.

I'll confirm the issue.

Status: UNCONFIRMED → NEW
Has STR: --- → yes
QA Whiteboard: [qa-triaged]
Ever confirmed: true
Version: Firefox 125 → Trunk

Jocelyn, is it possible to share a public website where we can reproduce that, so that we can try to work on a fix? 
Thanks for your help here Jocelyn and Mira!

Flags: needinfo?(jocelyn.courcelles)

Resolved.

Flags: needinfo?(jocelyn.courcelles)
Flags: needinfo?(jocelyn.courcelles)

Clear a needinfo that is pending on an inactive user.

Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.

For more information, please visit BugBot documentation.

Flags: needinfo?(jocelyn.courcelles)

(In reply to Titouan Thibaud [:titouan] from comment #18)

Jocelyn, is it possible to share a public website where we can reproduce that, so that we can try to work on a fix? 
Thanks for your help here Jocelyn and Mira!

Hello Titouan,

You could use my website at this URL: https://exp.les4as.ca/
Thanks for your help,

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

Attachment

General

Created:
Updated:
Size: