News for hackers. Stuff that matters.
Re:FaceTime on the web requires Chrome or Edge, no mention o... by pacifika on Tuesday June 08, 2021 @02:06AM (#27431139)
What are (if any) the technical blockers for Firefox to be considered on the same level of support?
Re:FaceTime on the web requires Chrome or Edge, no mention o... by nklmilojevic on Tuesday June 08, 2021 @04:50AM (#27432001)
You cannot achieve true E2E encryption on Firefox as it doesn't support insertable streams, so I guess this is where the limitation is.

EDIT: bug on bugzilla https://bugzilla.mozilla.org/show_bug.cgi?id=1631263

Re:FaceTime on the web requires Chrome or Edge, no mention o... by SahAssar on Tuesday June 08, 2021 @06:32AM (#27432986)
E2E is on by default as in all P2P webrtc calls. What you can't do is use a SFU and still get E2E. Perhaps I'm just missing something but why would you want a SFU AND E2E? Why not just use TURN in those cases (if the problem the SFU is meant to fix is routing)?
Re:FaceTime on the web requires Chrome or Edge, no mention o... by ryanar on Tuesday June 08, 2021 @07:45AM (#27433837)
An SFU lets your video/audio streams scale. If there were only ever two people, sure, you could use a TURN server if P2P failed, but if you invite 4 people on the call, an SFU will allow each person to upload their stream to the SFU which will then distribute it at various bitrates to the other people on the call.
Re:FaceTime on the web requires Chrome or Edge, no mention o... by px43 on Tuesday June 08, 2021 @09:39AM (#27435041)
Just to add some context for muggles such as myself who were unaware of what an SFU is, it stands for "Selective Forwarding Unit".

https://webrtcglossary.com/sfu/

https://stackoverflow.com/questions/60013467/one-to-many-liv...

Re:FaceTime on the web requires Chrome or Edge, no mention o... by SahAssar on Tuesday June 08, 2021 @10:34AM (#27435706)
Except that if the call is E2E then the SFU can't do things like reencode to a different bitrate. Also wouldn't the decryption keys need to be distributed to all the participants of the call via the centralized service anyway since the stream is already in progress? Or am I just being thick in not understanding how a SFU and E2E would bring all of the benefits of both?
Re:FaceTime on the web requires Chrome or Edge, no mention o... by asherkin on Tuesday June 08, 2021 @12:07PM (#27437011)
The originating browser is responsible for encoding all the desired quality levels and sending them to the SFU to decide what to forward to the other participants - that is the difference between a SFU and a MCU, and why SFUs can scale. SVC-capable codecs are coming to WebRTC too, which makes this a lot more efficient for the browser to do.

Encryption keys are distributed out of band of the media, so it's the same as whatever the tradeoffs are for multi-party E2E-encrypted text chat there (I don't know what those are though!)

Re:FaceTime on the web requires Chrome or Edge, no mention o... by X6S1x6Okd1st on Tuesday June 08, 2021 @11:28AM (#27436467)
It looks like mozilla has marked that standard as worth prototyping: https://github.com/mozilla/standards-positions/issues/330
Re:FaceTime on the web requires Chrome or Edge, no mention o... by behnamoh on Tuesday June 08, 2021 @09:58AM (#27435290)
Then how come Zoom works in FF?
Re:FaceTime on the web requires Chrome or Edge, no mention o... by systoll on Tuesday June 08, 2021 @10:08AM (#27435391)
Because the Zoom web client doesn't support end-to-end encrypted calls. Only their apps do.

https://support.zoom.us/hc/en-us/articles/360048660871-End-t...

Re:FaceTime on the web requires Chrome or Edge, no mention o... by lxgr on Tuesday June 08, 2021 @05:41PM (#27441268)
That can‘t be why – one benefit of their weird way of using WebRTC is that it would actually allow them to provide end to end encryption in all browsers, regardless of support for WebRTC insertable streams.
Re:FaceTime on the web requires Chrome or Edge, no mention o... by lxgr on Tuesday June 08, 2021 @05:39PM (#27441237)
Zoom does very weird things in the browser. They essentially don‘t use WebRTC, but rather grab raw camera frames, H.264 encode them in software (using WASM!) and shove them down a Websocket (or WebRTC Data Connection. This lets them use their own encryption as well.

More details: https://webrtchacks.com/zoom-avoids-using-webrtc/

Re:FaceTime on the web requires Chrome or Edge, no mention o... by bwindels on Tuesday June 08, 2021 @03:48AM (#27431693)
Firefox can require more bandwidth for WebRTC calls I think, see https://bugzilla.mozilla.org/show_bug.cgi?id=1600698

I also have some memory of asking all participants in Jitsi meetings to not use firefox, because the call would start to lag for all participants if bandwidth was an issue for the firefox users in the call. Don't know if that is still the case or not though.

Re:FaceTime on the web requires Chrome or Edge, no mention o... by solarkraft on Tuesday June 08, 2021 @05:09AM (#27432116)
This should be fixed.
Re:FaceTime on the web requires Chrome or Edge, no mention o... by alimbada on Tuesday June 08, 2021 @06:22AM (#27432838)
Sorry, your comment is ambiguous; "should be" as in "needs to be fixed" or as in "has been fixed"?
Re:FaceTime on the web requires Chrome or Edge, no mention o... by sharken on Tuesday June 08, 2021 @07:03AM (#27433449)
The issue is open so it can only mean that it needs to be fixed.
Re:FaceTime on the web requires Chrome or Edge, no mention o... by sfink on Tuesday June 08, 2021 @12:32PM (#27437413)
If you read to the end, it looks like the expected underlying reason is now fixed, but it hasn't been confirmed yet whether it resolved the problem. If someone knows how to reproduce, they could try it out and comment there.
Re:FaceTime on the web requires Chrome or Edge, no mention o... by ZeroGravitas on Tuesday June 08, 2021 @02:11AM (#27431167)
At a guess, codecs seem the most likely explanation.

Firefox has a h.264 decoder, but not an encoder I think.

Re:FaceTime on the web requires Chrome or Edge, no mention o... by est on Tuesday June 08, 2021 @04:57AM (#27432048)
Why can't firefox invoke the system dll or libraries for H.264 encode/decode? Like many video players do.

Why must every browser ship its own codec or even Unicode collection is beyond me.

Re:FaceTime on the web requires Chrome or Edge, no mention o... by michaelt on Tuesday June 08, 2021 @06:12AM (#27432688)
Because of a long tradition of the system libraries being fucked.

All this stuff started in the days of Windows XP, which shipped with such a meagre selection of codecs you couldn't even play DVDs.

And the codecs you could download? Either they cost money (i.e. most users wouldn't have them), or they were dodging license costs by some questionable means, or they had bigger aspirations than just providing a mere codec (flash/realplayer/quicktime)

VLC arose out of that and became popular because, by ignoring the system codecs, it could actually play the damn file.

Re:FaceTime on the web requires Chrome or Edge, no mention o... by MaxBarraclough on Tuesday June 08, 2021 @06:49AM (#27433269)
VLC also has the advantage of being developed in France, where the legal system does not recognise software patents.
Re:FaceTime on the web requires Chrome or Edge, no mention o... by simondotau on Tuesday June 08, 2021 @08:33AM (#27434276)
Really! My respect for France has gone up a few notches.
Re:FaceTime on the web requires Chrome or Edge, no mention o... by namdnay on Tuesday June 08, 2021 @08:40AM (#27434348)
Don't get too excited, in France there's a tax on all storage devices (sd cards, usb sticks, hdds, laptops, phones etc) to help subsidise the record and film industry...
Re:FaceTime on the web requires Chrome or Edge, no mention o... by nephanth on Tuesday June 08, 2021 @10:11AM (#27435432)
Note that internal HDDs aren't taxed under this tax, only external ones. (So if you don't want to pay it, you can just buy a SATA HDd and an adaptor). Phones are taxed though (yes this doesn't make any sense technically)
Re:FaceTime on the web requires Chrome or Edge, no mention o... by simondotau on Tuesday June 08, 2021 @08:17PM (#27442759)
Is the tax on a phone's storage capacity or its overall retail price?
Re:FaceTime on the web requires Chrome or Edge, no mention o... by nephanth on Sunday June 13, 2021 @11:53AM (#27493604)
On the storage capacity
Re:FaceTime on the web requires Chrome or Edge, no mention o... by carlob on Tuesday June 08, 2021 @09:12AM (#27434690)
We have that in Italy too, but at least that means that ripping CDs or DVDs is entirely legal. It's actually called private copy contribution.
Re:FaceTime on the web requires Chrome or Edge, no mention o... by nephanth on Tuesday June 08, 2021 @09:59AM (#27435304)
Yep it actually came from Germany, and was afterward adopted by a lot of european countries
Re:FaceTime on the web requires Chrome or Edge, no mention o... by drw85 on Tuesday June 08, 2021 @10:02AM (#27435335)
Germany has that too. Even on paper, since you could copy pages under copyright.
Re:FaceTime on the web requires Chrome or Edge, no mention o... by simondotau on Tuesday June 08, 2021 @08:13PM (#27442735)
Honestly, I'd take that trade. A narrow, stupid tax is definitely the lesser of two evils here. (Especially as it means I'd have a moral license to pirate whatever I wish!)
Re:FaceTime on the web requires Chrome or Edge, no mention o... by giantrobot on Tuesday June 08, 2021 @12:59PM (#27437752)
There was a lot of back and forth [0] over this back when Firefox added support for system libraries. The FOSS purists only wanted to support codecs they could include in Gecko (long before OpenH264) while the pragmatists wanted to make a useful web browser.

Support for system libraries first appeared on mobile platforms because it was essential. At the time (ca 2011/12) the likes of YouTube and Vimeo were only delivering MP4 to mobile clients.

The purists seemed to think that somehow if Firefox held the line on (likely but not guaranteed) unencumbered formats/codecs that every content producer would see the light and go with those objectively worse codecs with no hardware acceleration for video content.

This completely ignored the fact that Flash was common on desktops and supported encumbered codecs just fine. It was in fact the primary delivery vehicle for them. The NPAPI content hole let the purists be intransigent while actually using content on the web. They were also ignoring the design of the HTML5 video tag that encouraged inclusion of multiple source formats and some sort of fallback including object embeds.

As for Microsoft they were still pushing the various Windows Media codecs as the One True Way in the Windows XP and Vista eras. They had to support MP4 with Windows 7 because every smartphone and most stand alone cameras were capturing video in MPEG-4 codecs if not file formats.

[0] https://groups.google.com/g/mozilla.dev.platform/c/-xTei5rYT...

Re:FaceTime on the web requires Chrome or Edge, no mention o... by cpeterso on Tuesday June 08, 2021 @03:13PM (#27439532)
Microsoft still doesn't include basic codecs like H.264 in some Windows editions ("N" and "KN" for some regions in the EU and Korea), but those users can download Microsoft's Windows Media Feature Pack to get the codecs:

https://support.mozilla.org/en-US/kb/fix-video-audio-problem...

Re:FaceTime on the web requires Chrome or Edge, no mention o... by captainmuon on Tuesday June 08, 2021 @06:38AM (#27433061)
Firefox used to be able to do this, but they don't anymore for strategic or political reasons. They don't want website authors to depend on certain codecs that some users have on their PC but some others don't. I can understand the rationale, but think it is a bit sad.
Re:FaceTime on the web requires Chrome or Edge, no mention o... by shakow on Tuesday June 08, 2021 @05:19AM (#27432166)
For H.264, it's a question of patents IIRC. Cisco granted a free of charge decoder, but not necessarily an encoder.
Re:FaceTime on the web requires Chrome or Edge, no mention o... by teekert on Tuesday June 08, 2021 @05:29AM (#27432214)
Hi ow can I pay to get the encoder into my FF? Like I paid to get some en/decoding in my raspberry pi’s.
Re:FaceTime on the web requires Chrome or Edge, no mention o... by southerntofu on Tuesday June 08, 2021 @07:01AM (#27433436)
I personally believe Raspberry Pi made the wrong decision in using non-free hardware which required non-free firmware to operate key features such as video encoding/decoding.

Why would we encourage Firefox or others to do the same and develop a business model based on patents? Especially so when these patents are owned by huge conglomerates of corporate psychopaths (hello MPEG-LA) and the software editor we're talking about (Mozilla) had to lay-off a lot of staff during the confinement by lack of funds.

To be fair, Firefox is more than capable to encode/decode into free codecs and there's no reason why a third party plugin couldn't support H264 encoding as well. It falls on Apple to support proper standards for their communications platform and not on Firefox to support every piece of proprietary tech they can come up with.

But well, we all know what Apple thinks of standards. With their AirPlay, iMessage, iCloud and other Apple-specific solutions. If only we had free-software, standards-compliant solutions to all these computing problems. /s

Re:FaceTime on the web requires Chrome or Edge, no mention o... by teekert on Tuesday June 08, 2021 @08:47AM (#27434417)
For the record, I very much agree with you.
Re:FaceTime on the web requires Chrome or Edge, no mention o... by LinAGKar on Tuesday June 08, 2021 @06:34AM (#27433014)
I'm pretty sure it does use system libraries for decode
Re:FaceTime on the web requires Chrome or Edge, no mention o... by inside_out_life on Tuesday June 08, 2021 @07:18AM (#27433603)
It's possible and it's compile time option, source package managers like portage allow you to do that.
Re:FaceTime on the web requires Chrome or Edge, no mention o... by LinAGKar on Tuesday June 08, 2021 @06:31AM (#27432973)
That's why it downloads the openh264 encoder binary from Cisco
Re:FaceTime on the web requires Chrome or Edge, no mention o... by deadmutex on Tuesday June 08, 2021 @02:33AM (#27431279)
Maybe... Google Duo works in Firefox (and even Opera) though.

Important: Google Duo is available on Google Chrome, Microsoft Edge, Firefox, Opera, and Safari.

Source: https://support.google.com/duo/answer/6386089

Re:FaceTime on the web requires Chrome or Edge, no mention o... by nielsbot on Tuesday June 08, 2021 @02:41AM (#27431315)
Does Duo send H.264?
Re:FaceTime on the web requires Chrome or Edge, no mention o... by fwn on Tuesday June 08, 2021 @05:22AM (#27432175)
As far as I've read about Duo it seems to be AV1:

https://www.xda-developers.com/google-duo-lyra-codec-better-...

...though I'm not sure whether they use it consistently.

Re:FaceTime on the web requires Chrome or Edge, no mention o... by bhaavan on Tuesday June 08, 2021 @05:45AM (#27432305)
How does this happen? AV1 encoding codec was still work in progress, and most chips don't support any hardware acceleration for this. Can we get reasonable frame rates on core CPU for av1 encoding already?
Re:FaceTime on the web requires Chrome or Edge, no mention o... by slac on Tuesday June 08, 2021 @07:13AM (#27433556)
Duo uses AV1 for very low bandwidth calls. And then a mix of H.264 / VP8 / VP9 etc.. depending on many parameters. Disclaimer: worked on the product. https://blog.google/products/duo/4-new-google-duo-features-h...
Re:FaceTime on the web requires Chrome or Edge, no mention o... by ilikepi on Tuesday June 08, 2021 @02:10AM (#27431161)
If there are any (as opposed to "just" the added customer support burden), I wonder if they're the same issues that prevent Slack from allowing calls in Firefox...
Re:FaceTime on the web requires Chrome or Edge, no mention o... by nexuist on Tuesday June 08, 2021 @02:50AM (#27431355)
As a corollary, I wonder if Slack will now implement calling functionality once Mozilla adds the necessary APIs for Apple to do its job here, which is probably very likely since I don't think Apple chose to ignore a non-Google browser on purpose.
Re:FaceTime on the web requires Chrome or Edge, no mention o... by ChrisMLane on Tuesday June 08, 2021 @04:10AM (#27431809)
Slack calls didn't used to work on Firefox even if you bypassed their user-agent block.

In recent months, after bypassing the user-agent check, calls will at least work albeit not very well. (bit laggy, long connection time)

Re:FaceTime on the web requires Chrome or Edge, no mention o... by dathinab on Tuesday June 08, 2021 @03:42AM (#27431655)
All necessary parts are there, which is why e.g. jitsi meet or Google meet work without problem.

It's more like they don't care than anything else.

Re:FaceTime on the web requires Chrome or Edge, no mention o... by DeliriumTrigger on Tuesday June 08, 2021 @05:45AM (#27432304)
Slack uses Amazon Chime as backend Chime is using h264 firefox still can not encode h264 videos in real time.
Re:FaceTime on the web requires Chrome or Edge, no mention o... by southerntofu on Tuesday June 08, 2021 @07:03AM (#27433448)
Yes, so it's precisely another case of "we tested on chrome and it works", which falls under "don't care" software development best practices.
Re:FaceTime on the web requires Chrome or Edge, no mention o... by zinekeller on Tuesday June 08, 2021 @07:34AM (#27433743)
Unfortunately, hardware VP9 decoding isn't really well-supported except in high-end phones (in context of multiple decoding, single decoding works fine) due to bugs in Mediatek's implementation. There's software decoding, but that's still taxing to a phone, and transcoding to H.264 server-side but that doesn't bode well to end-to-end encryption.
Re:FaceTime on the web requires Chrome or Edge, no mention o... by NavinF on Tuesday June 08, 2021 @07:32AM (#27433719)
No, it's very practical. A lot of devices are just too weak to encode anything other than H.264 so that's the one codec you must support.

Other codecs are better, but you have to do more testing and enable those codecs only on calls where all members are using a device that supports it.

Re:FaceTime on the web requires Chrome or Edge, no mention o... by southerntofu on Tuesday June 08, 2021 @08:05AM (#27433995)
> A lot of devices are just too weak to encode anything other than H.264

Not that your point is wrong, but a lot of devices are too weak to encode/decode H264 as well. It's very recent for me to have access to second-hand hardware with H264 support and still i'm in western Europe where it's easier to come by.

Though as the other commenter pointed out, if you can afford to use hardware en/decoders then it's always the better option.

Re:FaceTime on the web requires Chrome or Edge, no mention o... by NavinF on Tuesday June 08, 2021 @08:29PM (#27442827)
Are you sure you're not thinking of H265?

I'm kinda curious which devices don't support H264

Re:FaceTime on the web requires Chrome or Edge, no mention o... by mattl on Tuesday June 08, 2021 @07:30AM (#27433699)
Apple Business Manager recently stopped working in Firefox and that is a basic portal.
Re:FaceTime on the web requires Chrome or Edge, no mention o... by zamalek on Tuesday June 08, 2021 @10:05AM (#27435372)
Not a blocker, but certainly a consideration. Chrome and Edge both share a common ancestor: WebKit (Safari).