One thing that slightly bothers me is how Matrix is so high up the network level :
> The Matrix standard specifies RESTful HTTP APIs for securely transmitting and replicating JSON data between Matrix-capable clients, servers and services.
It seems like a waste to try to push everything through HTTP, just because it's not being blocked (yet) by firewalls that software users might have no control over.
Especially when overwhelming IPv6 adoption seems to be finally just around the corner (with Europe having ran out of IPv4 addresses, and a lot of people, especially in Asia, never having had one in the first place), IPv6 which has a quite different approach to security than IPv4.
But of course "just around the corner" is also "not really here yet"...
Anyone has any idea what kind of performance improvements one gets with RTSP/UDP, especially for video ?
Matrix is currently using JSON+HTTP because it was the easiest to start with, but it's not something that the protocol actually depends on. Matrix is more of an RPC system, so the important part is the definition of the methods and the message. You could use any other transport and framing protocol... As they have actually done in experiments (see https://matrix.org/blog/2019/03/12/breaking-the-100-bps-barr...)
The thing is, with widespread high bandwidth internet and little funding they have to have priorities and while minimizing the number of bytes sounds interesting, it probably isn't more important than say smoothing out the user first experience
Indeed, definitely not everywhere in the world. But they're probably prioritizing the crowd that at least has access to a few hundreds of kbps, because they're the one who have the most chance to bring any money.
> The Matrix standard specifies RESTful HTTP APIs for securely transmitting and replicating JSON data between Matrix-capable clients, servers and services.
It seems like a waste to try to push everything through HTTP, just because it's not being blocked (yet) by firewalls that software users might have no control over.
Especially when overwhelming IPv6 adoption seems to be finally just around the corner (with Europe having ran out of IPv4 addresses, and a lot of people, especially in Asia, never having had one in the first place), IPv6 which has a quite different approach to security than IPv4.
But of course "just around the corner" is also "not really here yet"...
Anyone has any idea what kind of performance improvements one gets with RTSP/UDP, especially for video ?