top | item 11218986

Dear Slack: why is your WebRTC so weak?

83 points| eloycoto | 10 years ago |webrtchacks.com | reply

14 comments

order
[+] dwwoelfel|10 years ago|reply
> you need to have a very good excuse to launch something with WebRTC and not support Firefox.

I built audio chat over webRTC for https://precursorapp.com [1]. I built support for both Firefox and Chrome, but I can understand why someone would choose not to support Firefox.

There are lots of annoying little differences between the two implementations. For example, Firefox wouldn't fire a negotiationneeded event after adding a stream [2], so I had to add a special workaround for them. Connection stats was another area where the APIs diverged a lot.

In their defense, sometimes Firefox does a better job of implementing the spec than Chrome does. But since most people develop in Chrome first, it's no surprise that they put off working on a Firefox implementation until they're happy with their implementation in Chrome.

[1] Click on the mic icon at the bottom left of a document to try it out.

[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1071643

[+] randall|10 years ago|reply
This is our experience too for Epishow. It's not that we couldn't get it working, it's that we focus on one platform (chrome) then expand outward (web at large, which for now means ff).
[+] GFischer|10 years ago|reply
Another problem is that Firefox is losing market share badly.

It's at less than 10% for most of the sites I manage, and steadily going down (apparently 14% globally).

[+] cpeterso|10 years ago|reply
Summary: why does Slack support WebRTC in Chrome but not Firefox?
[+] TD-Linux|10 years ago|reply
The article doesn't actually answer that, but it does point out some odd choices that make it suboptimal even in Chrome.
[+] Klathmon|10 years ago|reply
Well it's been a little over a year or so since i last worked with WebRTC, but portions of it have pretty bad cross browser compatability.

Firefox can talk with firefox fine, chrome with chrome, but the 2 have some issues talking with each other.

Maybe Slack just made a decision to support chrome until the 2 meet in a way that makes them compatible.

[+] Scarbutt|10 years ago|reply
Is that why Slack is so laggy in Firefox?
[+] owenwil|10 years ago|reply
Because it's a beta and not finished yet? God.
[+] HerpDerpLerp|10 years ago|reply
Is the backlash against Slash starting? (the Backslash!?)

seen a fair few negative posts of late.

[+] neximo4|10 years ago|reply
Also why does your chat client take soo long (we're talking 20s+) to start up if you're not in the US.
[+] owenwil|10 years ago|reply
I think your connection is bad? Europe here, starts in 1-2 seconds.