p2p

WebRTC error while creating video chat app

会有一股神秘感。 提交于 2021-02-11 15:01:28
问题 I am getting this error on console while refreshing the page.. Everythng else works fine the Chats and everthing.. just the streaming part is not working NotSupportedError: MediaStreamError at module.exports (http://192.168.1.10:9966/index.js:3081:17) at Object.1.getusermedia (http://192.168.1.10:9966/index.js:4:1) at o (http://192.168.1.10:9966/index.js:1:265) at r (http://192.168.1.10:9966/index.js:1:431) at http://192.168.1.10:9966/index.js:1:460 while creating a video chat app This is my

In Kademlia, why is it recommended to have 160-bit node IDs and keys and not 128-bit?

南笙酒味 提交于 2021-01-28 02:06:01
问题 The Kademlia paper states that nodes are assigned random 160-bit IDs as well as the keys. Is this a strict restriction? Can I still go ahead and use a 128-bit keyspace if that's good enough from me? 回答1: The length was chosen because SHA1, used as hash function for the hash table keys, outputs 160bits and that was the most widely used hash function at the time. The routing algorithm itself does not require that specific length to work, all it needs is the key space being large enough to avoid

Why does WebRTC needs ICE protocol to operate?

纵饮孤独 提交于 2021-01-27 13:00:54
问题 As far as I understand, ICE protocol is used for discovering the nodes/devices from the end-user device to "the outside". I don't understand why it's needed. Isn't packet-routing is the responsibility of network devices like routers and switches? They should find the shortest path from the gateway to the end-user device (Actually, routers remembers those routes they previously discovered). Moreover, NAT protocol is used to convert from an "internal ip" to "external ip" and vice-versa. So

Is there any alternative approach to implement WebRTC SFU, to have only 1 upload stream?

倾然丶 夕夏残阳落幕 提交于 2021-01-04 06:24:14
问题 I have a server which is able to relay the WebRTC media data from A to B. For the video conferencing, if we go with P2P approach then a mesh network is created. Whenever P2P doesn't work, we can have this relay server. The main problem is that in the mesh network, the number of upload link is "N - 1" for N participants. Hence the number of connection goes upto N * (N-1). Usually mesh network allows 5-6 stable connections. Many online sources suggest to implement SFU. If SFU decrypts the media

Resources on mesh networks

廉价感情. 提交于 2020-12-15 09:11:03
问题 Does anyone have any pointers to good resources concerning mesh networks? Maybe I'm not even using the correct terminology. I need to write an app that has multiple agents on various machines, and each agent must have knowledge of and be able to communicate with others. A type of P2P application perhaps? I'm really looking for some architecture-level stuff to get me started on the planning. 回答1: I think you're talking about writing a multi-agent system. What language are you using? Jade is an

Resources on mesh networks

你离开我真会死。 提交于 2020-12-15 09:08:33
问题 Does anyone have any pointers to good resources concerning mesh networks? Maybe I'm not even using the correct terminology. I need to write an app that has multiple agents on various machines, and each agent must have knowledge of and be able to communicate with others. A type of P2P application perhaps? I'm really looking for some architecture-level stuff to get me started on the planning. 回答1: I think you're talking about writing a multi-agent system. What language are you using? Jade is an

Resources on mesh networks

左心房为你撑大大i 提交于 2020-12-15 09:05:42
问题 Does anyone have any pointers to good resources concerning mesh networks? Maybe I'm not even using the correct terminology. I need to write an app that has multiple agents on various machines, and each agent must have knowledge of and be able to communicate with others. A type of P2P application perhaps? I'm really looking for some architecture-level stuff to get me started on the planning. 回答1: I think you're talking about writing a multi-agent system. What language are you using? Jade is an