Questions tagged [peer]

A peer-to-peer (P2P) network is a type of decentralized and distributed network architecture in which individual nodes in the network (called "peers") act as both suppliers and consumers of resources, in contrast to the centralized client–server model where client nodes request access to resources provided by central servers.

A peer-to-peer (P2P) network is a type of decentralized and distributed network architecture in which individual nodes in the network (called "peers") act as both suppliers and consumers of resources, in contrast to the centralized client–server model where client nodes request access to resources provided by central servers.

In a peer-to-peer network, tasks (such as searching for files or streaming audio/video) are shared amongst multiple interconnected peers who each make a portion of their resources (such as processing power, disk storage or network bandwidth) directly available to other network participants, without the need for centralized coordination by servers.

Wikipedia: http://en.wikipedia.org/wiki/Peer-to-peer

316 questions
2
votes
2 answers

Channel creation failed at test network of hyperledger fabric

When i run test network at hyperledger fabric i have this error rror: Post "https://localhost:7053/participation/v1/channels": dial tcp 127.0.0.1:7053: connect: connection refused Channel creation failed How to solve it
2
votes
0 answers

How an admin mute the microphone or turn off video of other participant in webRTC?

I need an idea of how an admin access participant's camera and microphone. Also how to an admin mute the participant's microphone or turn off the video of the participant's.
2
votes
1 answer

Why do we need an 'application server' for WebRTC?

I am working on a project which allows two users on the Internet to have a video call with one other. I am using WebRTC for that. While doing the research, I came across certain articles. One thing I don't understand in these articles is that why do…
Adam
  • 21
  • 3
2
votes
1 answer

How to programmatically disconnect user from peerServer

I want to be able to programmatically disconnect user if the client.id and client.token does seems fishy (PeerServer). How would I go about doing that inside the connection handler - peerServer.on('connection', (client) => { if(is_fishy(client))…
ShadowDoom
  • 94
  • 1
  • 5
2
votes
1 answer

Hyperledger Caliper ERROR: Failed to submit transaction using arguments, with error: Error: No discovery results found

I am trying to set up the Hyperledger Caliper for the first time ever to test my Hyperledger Fabric network. I was following this tutorial on youtube https://www.youtube.com/watch?v=ypF36RGaG1Q, and when I try to run the following command: npx…
2
votes
2 answers

Java RMI without RMI Registry

I am rather new to java RMI and am trying to create a Peer 2 Peer bit torrent like application wherein multiple instances of the same peer may be on the same machine. This would mean that I would need to be able to have more than one remote object…
SaxyTimmy
  • 213
  • 2
  • 9
2
votes
2 answers

Detect if MediaStreamTrack is black/blank

I'm creating videochat with peerjs. I'm toggling camera (on/off) with the following function: function toggleCamera() { localStream.getVideoTracks()[0].enabled = !(localStream.getVideoTracks()[0].enabled); } After calling this function, video…
rozman
  • 143
  • 1
  • 10
2
votes
1 answer

how to implement bootstrap peer and SBC for Sip2peer, for Android?

I have to make an android app that should communicaticate peer to peer. After searching over internet I found one solution is Sip2peer http://code.google.com/p/sip2peer/ but I am not able to implement Bootstrap peer and SBC. Is there any one who…
Pawan
  • 1,503
  • 2
  • 19
  • 28
2
votes
0 answers

Peer dependencies error messages on Angular: "None of them installed

Goal: I try to update and add peer dependencies according to the error I got. I expect the peer error messages to be gone but they are still there. Error Messages: npm WARN angular-cli-ghpages@0.6.2 requires a peer of…
Uri Gross
  • 484
  • 1
  • 8
  • 20
2
votes
1 answer

WebSocket Connection failed: error in connection establishment

The following code is client and server side code to use webRTC connection. It's working perfectly in localhost. when i deployed to linux shared hosting server., it's getting error. This is my server side code. var http = require('http'); var…
2
votes
1 answer

Does contract.evaluateTransaction(fcn,args) make a transaction during query on endorsing peers?

I am using hyperledger fabric 1.4, and facing an issue, while querying using the node sdk await contract.evaluateTransaction(fcn,args), I am getting this error : - Errors: ["2 UNKNOWN: invalid txid. got…
2
votes
0 answers

Hyperledger Fabric: Querying private data using memberOnlyRead feature

collections_config.json file: "name": "Org1PDC", "policy": "OR('Org1MSP.member', 'Org2MSP.member')", "requiredPeerCount": 0, "maxPeerCount": 3, "blockToLive":0, "memberOnlyRead": false I try to query data using Org3 by…
2
votes
0 answers

How can I config the peer node connect to the orderer service on another port than 7050?

I am trying to create a new peer node that connects to existing fabric network on another machine. However, when I try to connect, there is an error message. The message is : " Failed obtaining connection: Could not connect to any of the …
2
votes
1 answer

How to troubleshoot problem with setting WebRTC server on vps?

I wrote a simple node express server for webRTC using peerjs-server and simple client using peerjs. Everything works fine on localhost, but when I try it on vps, I get error: Firefox can't connect with server…
Paweł
  • 146
  • 11
2
votes
1 answer

Peerjs keeps loosing connection and user id is lost

I have made an application following a tutorial using peerjs. Everything seems to be working fine except when I make a connection for a video call where I am using peerjs. I have made my own peerjs server which I am running on localhost (right now…
Amin Baig
  • 411
  • 4
  • 26