Closed Bug 1377891 Opened 7 years ago Closed 3 years ago

[Fennec][HLS] twitch.tv does not play when media.mediasource.enabled is set to false.

Categories

(Firefox for Android Graveyard :: Audio/Video, defect, P5)

56 Branch
ARM
Android
defect

Tracking

(firefox56 affected, firefox57 affected, firefox58 affected, firefox59 affected)

RESOLVED INCOMPLETE
Tracking Status
firefox56 --- affected
firefox57 --- affected
firefox58 --- affected
firefox59 --- affected

People

(Reporter: sflorean, Unassigned)

References

Details

Attachments

(1 file)

Environment: 
Device: Asus ZenPad 8 (Android 6.0.1), Honor 8 (Android 6.0);
Build: Nightly 56.0a1 (2017-07-03);

Steps to reproduce:
1. Launch Fennec and go to about:config and change media.mediasource.enabled to false; 
2. Go to twitch.tv and play a video; 

Expected result:
The video is playing and no interruptions or glitches are triggered.

Actual result:
The video is loading and no video is played.

Notes:
Before pressing the play button a message is displayed: "this site uses a plugin that may slow Nightly".
Hi Sorina,

I've tested this on Nexus 5 (A factory reset to Android 5.0), cannot reproduce it.
This message "this site uses a plugin that may slow Nightly" comes from [1] and a plugin is used to play the video.

[1] http://searchfox.org/mozilla-central/rev/a3a739de04ee6134c11546568a33dbb6a6a29907/browser/base/content/browser-plugins.js#393


Could you please snapshot about:plugins for more information ? Thanks !
Flags: needinfo?(sorina.florean)
Tested again with Nexus 5 (Android 6.0.1) and the issue is not reproducible. But on Huawei Honor (Android 5.1.1) I've got a black video for 1 min and only after that I could see the video. 
And with Asus Zenpad 8 (Android 6.0.1) the behavior is the same as in description, still loading. It was the same video an all devices.
Flags: needinfo?(sorina.florean)
This issue cannot be reproduced by Google Pixel Android 7.1.2 by Nightly.

We will try to find a device that can reproduce this symptom.

Fortunately, this website uses MSE as its first priority.

Hi Sorina,

Few questions need your help to clarify,

As your description on comment 2,

Did you test the website by latest nightly, and those devices can play HLS content with another website, right?

Huawei Honor (Android 5.1.1) can play this video only if you wait for precisely 1 minute?

Asus Zenpad 8 (Android 6.0.1) cannot play this video permanently right?

Was the attachment you provided captured by the Zenpad 8 or Huawei Honor?

Thank you for reporting this, let us find a device and investigate deeper.
Flags: needinfo?(sorina.florean)
Set this bug as p3 since normally user would not disable media source on purpose.
Priority: -- → P3
Sorry for late replay, see my answers in line.

(In reply to James Cheng[:JamesCheng] from comment #3)
> This issue cannot be reproduced by Google Pixel Android 7.1.2 by Nightly.
> 
> We will try to find a device that can reproduce this symptom.
> 
> Fortunately, this website uses MSE as its first priority.
> 
> Hi Sorina,
> 
> Few questions need your help to clarify,
> 
> As your description on comment 2,
> 
> Did you test the website by latest nightly, and those devices can play HLS
> content with another website, right?
Yes, build was latest Nightly and other HlS video is working as expected.
> Huawei Honor (Android 5.1.1) can play this video only if you wait for
> precisely 1 minute?
Not precisely, I was able to play the video but with build from today (7/7) I can't. It's the same behavior as on Asus.  
> Asus Zenpad 8 (Android 6.0.1) cannot play this video permanently right?
I tried again to play the video and left open the page for almost 30 min and the video is still loading.
> Was the attachment you provided captured by the Zenpad 8 or Huawei Honor?
The attachment was captured with the Huawei Honor. Here is for Asus: https://i.imgur.com/Vbo05c4.png.
> Thank you for reporting this, let us find a device and investigate deeper.
Flags: needinfo?(sorina.florean)
Regarding the keep loading issue, I found that the tracks information is not notified from ExoPlayer, that resulted to a pending status for HLSDemuxer.

Investigating.
Once Bug 1381916 landed, there's no flash plugin on Fennec, I would take some time look back here.
ni ? myself.
Flags: needinfo?(kikuo)
Drop the ni ? as we're not shipping this feather  soon.
Flags: needinfo?(kikuo)
I noticed this behavior when the Media autoplay toggle is off (in Settings>Advanced). The twitch.tv videos just keep loading and don't start playing, regardless of the mediasource config status (true/false).
(In reply to Oana Horvath from comment #9)
> I noticed this behavior when the Media autoplay toggle is off (in
> Settings>Advanced). The twitch.tv videos just keep loading and don't start
> playing, regardless of the mediasource config status (true/false).
This looks like another problem. Please file another bug.
Thanks.
I am going to set this bug as P5 since normally user will not change media.mediasource.enabled to false in order to use HLS.
Priority: P3 → P5
Summary: [Fennec][HLS] Issues with videos from twitch.tv → [Fennec][HLS] twitch.tv does not play when media.mediasource.enabled is set to false.
By comment 9,

This issue is not related to HLS since twitch uses MSE for first priority.

And by the description, the issue is not related to what playback protocol we used.

Maybe it is related to "Autoplay" feature...., I would like to ni? our expert Alastor Wu to take a look.

Hi Alastor,

Please see if it is related to Autoplay and adjust the Bug title to a proper one.

Thanks.
Flags: needinfo?(alwu)
(In reply to James Cheng[:JamesCheng] from comment #12)
> By comment 9,
> 
> This issue is not related to HLS since twitch uses MSE for first priority.
> 
> And by the description, the issue is not related to what playback protocol
> we used.
> 
> Maybe it is related to "Autoplay" feature...., I would like to ni? our
> expert Alastor Wu to take a look.
> 
> Hi Alastor,
> 
> Please see if it is related to Autoplay and adjust the Bug title to a proper
> one.
> 
> Thanks.

Setting "media.autoplay.enabled" to false, I can reproduce this issue on Nightly 59, but no 57 release.
(In reply to Kilik Kuo [:kikuo] from comment #14)
> (In reply to James Cheng[:JamesCheng] from comment #12)
> > By comment 9,
> > 
> > This issue is not related to HLS since twitch uses MSE for first priority.
> > 
> > And by the description, the issue is not related to what playback protocol
> > we used.
> > 
> > Maybe it is related to "Autoplay" feature...., I would like to ni? our
> > expert Alastor Wu to take a look.
> > 
> > Hi Alastor,
> > 
> > Please see if it is related to Autoplay and adjust the Bug title to a proper
> > one.
> > 
> > Thanks.
> 
> Setting "media.autoplay.enabled" to false, I can reproduce this issue on
> Nightly 59, but no 57 release.

Should add, on desktop
Depends on: 1420192
Per the step1 of comment 0, I don't think it's related with autoplay.
Flags: needinfo?(alwu)
I've created a new bug for the autoplay issue: Bug 1434249. Thanks!
Re-triaging per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195

Needinfo :susheel if you think this bug should be re-triaged.
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: