224 karma · joined Jun 5, 2011 (15y ago) · 69 submissions
comment 8y ago · link · parent
We can support almost any valid h264 file :D
In an ideal world, you'd send 1080p high profile h264 encoded with a bitrate above 8Mbps (or CRF 18 for x264 nerds), with a max keyframe interval of around 5 seconds. Closed GOPs also makes processing more efficient.
comment 9y ago · link · parent
In addition, the SDP exchange also sets up DTLS, making sure that whoever the WebRTC SDP was exchanged with is the same as whoever connects at a low-level. While you can implement this as a messaging exchange over UDP once the connection is established, its a nice property that WebRTC doesn't even allow the connection to be established with a non-secured link.
I think the hardest part of the stack is getting a decent, stand-alone implementation. With things like Websockets creating a server is straightforward, but libraries for low-level webrtc are much harder to build.
comment 9y ago · link · parent
The ICE RFC does a good job of explaining it: https://tools.ietf.org/html/rfc5245#section-2.7
comment 9y ago · link · parent
Once you realize its just ICE + DTLS + SCTP, and that each layer has a corresponding library, the work getting it up and running is mainly just 'plumbing'.
Here's a link to the library I've been working on: https://github.com/chadnickbok/librtcdcpp
comment 9y ago · link · parent
If you're interested in this sorta thing, try taking a look at Broadway JS: https://github.com/mbebenita/Broadway
Here's a simple demo page they have setup: http://mbebenita.github.io/Broadway/foxDemo.html
Its entirely possible to use WebSockets to stream H264 to a browser and decode using broadway, and the performance is pretty good, even on mobile.
14.
Show HN: Redis compressed values module using Zstandard(github.com ↗)
10 points · by chadnickbok · 10y ago · 1 comment
comment 10y ago · link · parent
Also on desktop this link points to latest: https://twitter.com/search?f=tweets&vertical=default&q=route...
comment 10y ago · link · parent
We don't use TCP because its fast. We don't use it because its reliable (although that's really useful). We use it because _we kept breaking the internet_. Once you get above a certain threshold, the network can't keep up with you and packets start getting dropped. The problem is that backing off just a little doesn't allow the network to recover.
Instead, we need to use exponential backoff in the face of packet loss to ensure that the network as a whole can recover.
But if you're pretty much the only connection misbehaving, and everything else backs off, then you can kinda get away with not using exponential backoff. The problem is that the applications that is was "kinda okay" to do this for was VOIP and friends, where realtime delivery is really important and exponential backoff causes noticeable drops in quality.
For a great read about these kinds of issues, check out the TCP-Friendly rate control RFC: https://tools.ietf.org/html/rfc5348
comment 10y ago · link · parent
As I understand it, even "getting drunk and trash talking a previous employee" in front of the wrong people can be seen as impacting someone's employ-ability, and can land you in some difficult legal situations if you're high up enough. Essentially the only safe thing to say about past employees is nothing.
comment 10y ago · link · parent
Do you think that youtube will provide enough engaging content for people to start getting into the platform? How could you go about getting 'real' popular content onto the platform, and if this works how can you compete with Twitch?
comment 10y ago · link · parent
You mentioned that your process doesn't require a clean room. What are the regulations around getting a catheter "approved" for human use? Do you need to run some expensive trials or is this something that you can scoot around?
ie. If I wanted to use your catheters tomorrow, other than a repeatable manufacturing process whats stopping me from ordering a few thousand and putting them to use?
comment 10y ago · link · parent
Cool idea - I've always loved reading through the Hugo Awards each year to find new books, but I can never really trust that they're doing a great job. And sometimes Amazon does an even better job, recommending books like The Martian before anyone I knew had even heard of it.
What do you imagine 'Premium Content' being? And how do you think you can differentiate from what platforms like Amazon Kindle are doing?
You say your background is a game developer - care to expand a little? It seems like something like this would need lots of web development and payments integrations; when you say something like Steam, would this be primarily a website or a desktop app?
And would it let me get things in formats I can easily put on my Kindle/e-reader/iPad? Are those formats difficult to generate or pretty straightforward?
comment 10y ago · link · parent
Saying that this is somehow more complex than updating a single commit and learning a whole new tool doesn't change that if you want to convince me, you at least need to correctly identify what's going wrong.
Perhaps if the author had specifically called out their perceived failings of the very latest GitHub pull request changes I'd have given the article more time. But unfortunately the justification given for switching was really shallow.
comment 10y ago · link · parent
The process might seem more complex initially but think
of it like this: If you add a new member to your team,
they would have to fork the repositories on GitHub, clone
them locally, make the changes, push to their own fork
and then create the pull request
Annndddd we're done - its easy to make a pull request from a branch; this person has no idea what they're doing.In addition, the new GitHub code review tools address most (if not all) of the stated reasons for this switch. And in my opinion, GitHub's ease-of-use, alongside it being an incredible single point of reference, far outweigh any clunky other tools I've used (like Gerrit).