Closed Bug 1417087 Opened 8 years ago Closed 4 years ago

Cast / Chromecast support doesn't work with MSE

Categories

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

57 Branch
defect

Tracking

(fennec+, firefox57 affected, firefox58 ?, firefox59 ?)

RESOLVED INCOMPLETE
Tracking Status
fennec + ---
firefox57 --- affected
firefox58 --- ?
firefox59 --- ?

People

(Reporter: abovens, Unassigned, NeedInfo)

References

Details

1. Go to YouTube and play a video. Expected: Cast button appears in video UI. Actual result: Cast button does not appear in UI, and there is no other apparent way to initiate casting.
It looks like this is only a problem if it's the first page on startup. We don't get the casting information in time when the page is loading and it's not updated after. Reloading the page will show the cast button on the video for me.
NI to product folks for a priority
tracking-fennec: --- → ?
Flags: needinfo?(jcheng)
Flags: needinfo?(abovens)
Is it a regression from 56? Thanks
It works fine for me on http://camendesign.com/code/video_for_everybody/test.html but not on YouTube.
Flags: needinfo?(abovens)
YouTube uses MSE, so there isn't a source URL we can use to send to the Chromecast. Chrome appears to special case YouTube by launching their YouTube Chromecast app (or at least one that specifically supports YouTube).
Priority: -- → P3
Summary: Cast / Chromecast support no longer appears to work → Cast / Chromecast support doesn't work with MSE
tracking-fennec: ? → +

Andreas, can we reevaluate the priority of this bug in the context of Fenix?

There are no silver bullet and it's going to be hard to implement this for the increasing number of websites that use MSE instead of normal HTTP playback (say, comment 4 vs youtube), but if we decide it's important, then we can maybe devise ways to make this smoother for users?

Flags: needinfo?(jcheng) → needinfo?(abovens)

We flagged Cast support earlier this week as a potential GeckoView/Fenix feature to look into in Q2 or later this year. Needs more cost/impact analysis though.

Just so I understand your concern — would it be possible to implement casting support for MSE content? Or would it be limited to HTTP only?

Flags: needinfo?(abovens)
Flags: needinfo?(padenot)

(In reply to Andreas Bovens [:abovens] from comment #8)

Just so I understand your concern — would it be possible to implement casting support for MSE content? Or would it be limited to HTTP only?

This is not possible, according to the documentation (but also it makes sense that it's not possible, just knowing how it works).

HLS or simple HTTP streaming work, and we implement both on Firefox for Android (and probably Fenix has something for HLS, but I'm not sure).

If we're willing to special case some origins (a bit like what comment 5 explains), then we can possibly do something smoother for users that want to use their Chromecast with Firefox products on Android.

Flags: needinfo?(padenot) → needinfo?(abovens)
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: 4 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.