4 ms·
The web I want is merge of SIP and rendering engines for HTML5/css. SIP is federated and decentralized but really similar to HTTP. The problem is in difference
by popee 11y ago
The web I want is merge of SIP and rendering engines for HTML5/css. SIP is federated and decentralized but really similar to HTTP. The problem is in difference between URL and URI, because URIs are hosted/registered directly on user computers/agents, so for example it's not possible to take advantage of javascript/css. If someone could hacks this, transition would be really smooth.
But we already have webRTC, why SIP? It's standardized, mature and more basic protocol. Ofc WebRTC is based on SIP, but with who knows how many additional layers.
- pjc50 11y agoSIP? SIP is terrible, it's an attempt at replicating the telco model of separate control plane vs talk channel of a traditional telephone company. URIs are hosted/registered directly on user's computer, so for example it's not possible to take advantage of javascript/css This doesn't follow either. If I host a webpage on my personal computer, I can host the js/css in exactly the same way.
- popee 11y ago> SIP? SIP is terrible, it's an attempt at replicating the telco model of separate control plane vs talk channel of a traditional telephone company. Good point and I agree, but it solves problem of direct communication between users (NAT traversal). It would be great if SIP had plain and simple GET method (without need for session/dialog). > This doesn't follow either. If I host a webpage on my personal computer, I can host the js/css in exactly the same way. How can I get your js/css from outside, if you are behind NAT? STUN? NAT traversal is already part of standard SIP infrastructure. Sorry on stubbornness, just trying to brainstorm a little.
- pjc50 11y agoSTUN is indeed used by SIP to traverse NAT, as part of a whole pile of techniques called ICE. However, this ultimately requires that you have a central server on which you can "advertise" your SIP presence and exchange SDP data. Yes, the session payload transport (RTP) is peer to peer, but the signalling still requires a central point. > How can I get your js/css from outside, if you are behind NAT? The same way you get the HTML, whatever approach is used. I don't think it's impossible to build a system involving distributing "advertisements" saying how to reach systems on a distributed hash table, then using either ports opened through UPNP on home routers or a "supernode" collection of STUN servers to communicate to home systems. There are three big downsides to this which are probably why we've not seen one yet: - no way to monetise it if it's truly distributed and open source => reduced incentive to build and maintain - no central party to fight spam and abuse => system will drown in spam and abuse - necessarily broadcasts an association between home IP address and person => vulnerable to privacy problems and DOS attacks