Earlier quoted context omitted.
iOS and Safari is riddled with WebRTC bugs like this. Sounds similar to my experience. Everything consistently works great in Chrome and Firefox and then only kinda works Safari. worst browser on the planet
I've jokingly referred to Safari as SafarIE for the last 5 years. It does tick all these boxes: 1. Backed by an OS manufacturer that doesn't care about the web 2. Spends more time working on features that suit itself than meeting standards agreed upon by a body of which they're a part. 3. The only sanctioned/allowed browser on their platform (MS didn't even achieve this holy grail) 4. Lagging behind most other popula…
Building video chat into my personal website using WebRTC, WebSockets, and Go
41–50 of 68 posts
Re: Building video chat into my personal website using WebRTC, WebSockets, and Go
#42Earlier quoted context omitted.
I've jokingly referred to Safari as SafarIE for the last 5 years. It does tick all these boxes: 1. Backed by an OS manufacturer that doesn't care about the web 2. Spends more time working on features that suit itself than meeting standards agreed upon by a body of which they're a part. 3. The only sanctioned/allowed browser on their platform (MS didn't even achieve this holy grail) 4. Lagging behind most other popula…
I use firefox on iOS, it’s even set as my default browser. Curious what you mean by “safari is the only browser that works in iOS”? For in browser video chat? Genuinely curious, what are the limitations?
Re: Building video chat into my personal website using WebRTC, WebSockets, and Go
#43Earlier quoted context omitted.
I've jokingly referred to Safari as SafarIE for the last 5 years. It does tick all these boxes: 1. Backed by an OS manufacturer that doesn't care about the web 2. Spends more time working on features that suit itself than meeting standards agreed upon by a body of which they're a part. 3. The only sanctioned/allowed browser on their platform (MS didn't even achieve this holy grail) 4. Lagging behind most other popula…
I use firefox on iOS, it’s even set as my default browser. Curious what you mean by “safari is the only browser that works in iOS”? For in browser video chat? Genuinely curious, what are the limitations?
Re: Building video chat into my personal website using WebRTC, WebSockets, and Go
#44Earlier quoted context omitted.
I use firefox on iOS, it’s even set as my default browser. Curious what you mean by “safari is the only browser that works in iOS”? For in browser video chat? Genuinely curious, what are the limitations?
Firefox and chrome on iOS are just re-skins of safari. Apple doesn't allow other browser backends
iOS binaries that are not signed by apple are not permitted to mark memory pages as executable if they have previously been writable.
This restriction makes exploiting buffer overruns very difficult on iOS - particularly important as objective-c doesn't give you much help avoiding them.
However, you can't write a runtime compiler unless you can generate bytecode (write) and then execute it, and nobody has found a way to write a performant javascript or CSS engine without some form of runtime compilation.
So, Apple does allow you to write your own browser backends, but they won't give their signature, which would permit you to use riskier techniques to gain performance.
In practice, that means any browser not using the safari engines would be unacceptably slow on the modern web.
Re: Building video chat into my personal website using WebRTC, WebSockets, and Go
#45Re: Building video chat into my personal website using WebRTC, WebSockets, and Go
#46Earlier quoted context omitted.
I'm not that convinced. I mean yes, if you literally just estimate "add video chat" without any research or further clarification, but that'd get you in hell in every other discipline too. EDIT: I guess one part might be that people are less likely to recognize specializations than in other disciplines?
Yeah. "I want a shed". OK, let's build a shed. "Oh yeah, and maybe some power, IDK maybe three phase. Also PoE and smart lighting and some insulation and enough room for a CNC machine and..."
Re: Building video chat into my personal website using WebRTC, WebSockets, and Go
#47I feel like part of the reason why software engineering projects are hard to estimate is this. So you want to add video chat.. - this blogpost: 100 loc - pion (open source): 100k loc? - dolby.io/ agora: I'm guessing >1m loc - zoom.... even more?
You made me curious about how large Pion is, 162k lines! I made sure to delete all test files first. sean@SeanLaptop:~/go/src/github.com/pion$ find . -type f -name '\*.go' | xargs wc 47871 162998 1394063 total pion/webrtc is the largest package with 58k lines. Every other package (ICE, DTLS, SCTP....) are all around 20k lines. It feels wrong that WebRTC is so large (and not pushed into sub packages) will for sure be…
Re: Building video chat into my personal website using WebRTC, WebSockets, and Go
#48Anyone have something similar for screen sharing?
Re: Building video chat into my personal website using WebRTC, WebSockets, and Go
#49Earlier quoted context omitted.
You made me curious about how large Pion is, 162k lines! I made sure to delete all test files first. sean@SeanLaptop:~/go/src/github.com/pion$ find . -type f -name '\*.go' | xargs wc 47871 162998 1394063 total pion/webrtc is the largest package with 58k lines. Every other package (ICE, DTLS, SCTP....) are all around 20k lines. It feels wrong that WebRTC is so large (and not pushed into sub packages) will for sure be…
thanks for the amazing work on Pion, seriously impressive stuff
Re: Building video chat into my personal website using WebRTC, WebSockets, and Go
#50Im doing exactly this, but will use it with a raspberrypi with a 7 inch touch screen as my doorbell. Someone hits the link on the screen, it hits the server, server texts me a link to join the video session and thats it really. I got the core code going (I used a simple tornado [python] implementation as it has web sockets built in) This is the version of the js code that I got going (I couldn't reason about straight…
Looks nice, here's the final working JS file from this blog post's example, no classes: https://github.com/m-butterfield/mattbutterfield.com/blob/88... A bit dense, and could use some error handling...but it actually seems to work fine!