1,958 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-4
votes
0
answers
45
views
Simple-peer works fine when running locally but failing on localhost [duplicate]
I am trying to use simple-peer in a Vite project. When I run locally the first usage example in official simple-peer GitHub README.md file it works fine but when I run it using Vite server, I get this ...
2
votes
0
answers
118
views
Performing Peer - Peer connection with Turn server
I'm writing an application for a peer to peer service with a TURN server, but I'm struggling to construct one. If my understanding is correct, there are three steps needed for a successful peer to ...
0
votes
2
answers
85
views
Why does my P2P chat app always redirect back to the login page after registration?
I'm building a peer-to-peer chat app using WebRTC and a WebSocket signaling server.
Everything works fine up to registration — I can connect to the server, and I see "registered" in the ...
2
votes
0
answers
69
views
WebRTC file transfer in React intermittently fails with ICE failed and Unknown ufrag errors
I'm building a simple peer-to-peer file transfer app using WebRTC in a React application. The goal is to allow direct file transfer between two devices without always relying on a TURN server.
However,...
0
votes
0
answers
30
views
Kademlia Python DHT: ValueError: max() arg is an empty sequence after stopping one node
I’m experimenting with the Python Kademlia library to build a small peer-to-peer DHT. I start three servers, bootstrap them in a chain, store a value, then stop one node and try to store/get again—but ...
4
votes
1
answer
302
views
Can two web browsers directly form a WebRTC connection if they know each others IP and open port?
I seek to implement the following connection logic:
In order to get through their routers/NAT and connect via WebRTC, web browser clients first connect to a server to have holes punched in their ...
0
votes
0
answers
32
views
How do I define a ValueType of a Value in OpenDHT so that I could choose how data is stored on the DHT in the C++ implementation?
I'm working on a P2P messenger for college and cannot seem to figure out how the library works. I apologize if I'm missing something but I don't see how I can use my custom ValueTypes.
This is one of ...
0
votes
0
answers
904
views
Dahua Python SDK: P2P Connection
I have Dahua's CCTV camera and DVR in my home. I want to get its live feed and run my own computer vision algorithms on top of it.
So in order to do that, I am using Dahua's python sdk (...
0
votes
0
answers
59
views
cant use miniupnpc for holepunching
so im trying to set up my pc as a server using upnp (i dont want to use pf) i have some code which i think works. i allowed the connection on that port by adding rule on the firewall and using port ...
0
votes
0
answers
55
views
Communication from C to JS
I am expanding an existing project of a slideshow system that contains code editors which can be used to compile and execute several languages on the browser. My objective is to add a P2P ...
1
vote
0
answers
83
views
WebRTC P2P Stream video switching corrupted image
I'm working with WebRTC P2P video streaming on 2 channel FullHD and HD between my camera and web simple. The issue occurs when I switched from channel HD to channel FullHD and vice versa, the video ...
0
votes
0
answers
73
views
How to use Rust libp2p behind a LB? Advertised External IPs are ignored
I am trying to write a P2P distributed app in Rust with 3 Nodes and deploy them in K8s. But K8s has the WorkerNodes in a private network so the Peers are not directly accessible with public IPs. ...
-1
votes
1
answer
142
views
How to implement TLS for Rust file transfer project
I'm developing a Rust file transfer project, it is just a library to transfer files from device to device, it now works with just TCP but I want to implement TLS encryption for secure connections ...
2
votes
1
answer
756
views
How to make a TLS connection between two peers using Rust tokio_native_tls
I am working in a file transfer system that has p2p connectivity library using Rust. It works using just tcp but now I want to improve it using TLS but I do not understand 2 things. First is how can 2 ...
1
vote
1
answer
130
views
React Component with simple-peer can't seem to complete an ICE server connection to a Janus WebRTC server
I am working on a Vite-TS based React application and a Janus Gateway WebRTC server with Record&Play plugin; the application peer ideally initiates everything, provides a media stream, and the ...