[LAU] html5 in ff through jack

Peter P. peterparker at fastmail.com
Wed Nov 1 11:21:51 UTC 2017


Hi Robin, dear list,

I am taking up this old thread from more than a year ago. I am wondering
what the status of html5 audio through jack in the firefox browser is on
Linux?

Debian lists the following versions for the firefox-esr package:
52.4.0esr-1~deb9u1 for stable
and
52.4.0esr-2 for testing

Both packages do not seem to rely on libjack, so I suppose no jack
support in there for now?

Does anyone know more?

thanks!
P

* Robin Gareus <robin at gareus.org> [2016-06-15 17:17]:
> On 06/15/2016 03:02 PM, hollundertee at gmx.net wrote:
> > On Wed, 15 Jun 2016 12:18:05 +0200
> > Robin Gareus <robin at gareus.org> wrote:
> > 
> >> On 06/15/2016 10:00 AM, Peter P. wrote:
> >>> Hi list,
> >>>
> >>> I have been search the archives and the web a bit and it seems
> >>> there is no easy way to route html5 audio playback from firefox
> >>> through jack on Debian testing.   
> >>
> >> Wait for another week or three.
> >>
> >> Firefox/git features native JACK input & output since last week.
> >> Largely thanks to Damien Zammit.
> >>
> >>
> >> Cheers!
> >> robin
> > 
> > This is barely believable. My experience so far was that browsers allow
> > practically no user control over audio whatsoever.
> > Given that browsers nowadays are audio/video players, game engines and
> > whatnot this is ridiculuous, but also understandable, since browsers
> > are supposed to be everything but the kitchen sink (or "die eierlegende
> > Wollmilchsau" to use this wonderful German term.
> > Web browsers are the very definition of scope creep.
> > You can't expect those things to do everything or anything properly.
> 
> yep. The the actual browser processing is not RT-safe. There's a buffer
> (and resampler) in between jack and the sandboxed browser/engine.
> 
> So web-audio javascript etc is not using elevated privileges, probably a
> good thing, so it can't take down jack :)
> 
> > In which ff version is it supposed to be available? I will try it but I
> > won't hold my breath.
> > 
> 
> I don't know.
> 
> Firefox (and other mozilla products) uses "cubeb" a Cross platform audio
> library for audio i/o. JACK support was merged upstream there:
> https://github.com/kinetiknz/cubeb
> 
> The --enable-jack configuration option for FF is still sitting here:
> https://bugzilla.mozilla.org/show_bug.cgi?id=783733
> 
> If you can't wait, just compile your own firefox/iceweasel (apt-get
> build-dep... ; apt-get source...)
> 
> ciao,
> robin
> 
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user at lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-user


More information about the Linux-audio-user mailing list