428 questions
0
votes
0
answers
31
views
Peerj stream repetition problem, stream issue
I'm trying to make a Discord-like application where multiple users can chat and share screens in rooms. While sharing the screen, I combine video media and audio media and call other peer users. ...
2
votes
3
answers
172
views
HTML audio element currentTime property too high on mobile and Safari
I am developing a website with VoIP. I am setting the srcObj property of an audio element with the MediaStream of the user at the other end of the line (using PeerJS). I am also showing the time since ...
0
votes
1
answer
55
views
Where can I find a simple PeerJS example using AudioNodes?
I don't see any examples on the PeerJS website for audio connections:
https://peerjs.com/examples
The documentation mentions that a stream is returned:
https://peerjs.com/docs/#mediaconnection
Which I ...
0
votes
1
answer
98
views
Hosting a peerjs server on iisnode, client side unable to connect status "Finished" the status should be "101", not sure why this is happening?
So I have built a WebSocket server on ws and this works perfectly for sending basic messages.
What I wanted to do next was create a peer to peer calling service using PeerServer server side and PeerJS ...
0
votes
0
answers
121
views
Right approach to create an architecture for multiparty video chat
I'm implementing a video chat app for multi-parties. In my app I used socket.io for event management and peer.js for offering connection between peers.
I implemented the mesh architecture in a way ...
1
vote
0
answers
132
views
Cannot connect to peerjs server in production nginx webserver
I am trying to set up a custom peerjs server but I can't connect in production. I am assuming that ssl is the issue but not sure. I am using nginx on ubuntu server. I get the following error:
490....
0
votes
1
answer
294
views
WebRTC connection works only for local network or same network
I am working on a video calling application using WebRTC, ReactJS and NestJS. My video calling is working perfect on localhost within different browser windows and also works on live server if ...
0
votes
1
answer
75
views
connections is deprecated: Peer JS
I am creating a video chat application and I need to have screen share functionality. The problem is when I am screen sharing, the updated stream won't be available for other peers through the "...
0
votes
1
answer
196
views
i am using simple-peer and and can't display remote stream in reactjs
function callPeer(id: string) {
const peer = initializePeerInstance({ initiator: true, stream: stream! });
peer.on("signal", (data: any) => {
socket.current.emit("...
0
votes
0
answers
372
views
COTURN peerJS connectivity issue
I've set up a COTURN server for my Android app that utilizes peer.js for webRTC voice communication (isVideoCall is always false in the following code.)
While testing with the TURN server URL using ...
2
votes
0
answers
91
views
How Can I Connect Using A WebRTC-Offer With PeerJS
I want to be able to connect using PeerJS but with a WebRTC connection offer. In the docs it is like: var conn = peer.connect('dest-peer-id');
https://peerjs.com/docs/#peerconnect
I see that the peer ...
0
votes
1
answer
451
views
WebRTC: Peers Receive MediaStreamTrack with enabled Property as True Despite Being Set to False Locally and Confirmed
I'm developing a WebRTC application using JavaScript, where I programmatically disable video and audio tracks (MediaStreamTrack.enabled = false) before sending them to peers. Despite setting the ...
1
vote
1
answer
842
views
Peerjs how can I tell if a connection to a peer has been successfully established?
Is there a way with peerjs to tell if a connection has been successfully made when using peer.connect(). Reading the docs the only events emitted for a DataConnection are data, open, close and error. ...
0
votes
1
answer
227
views
React PeerJs Issue when building Video-Chat: Uncaught (in promise) DOMException: The play() request was interrupted by a new load request
I am building a React.Js video chat application using PeerJs library.
when I tried to video call and receive call, I receive this error on chrome:
Uncaught (in promise) DOMException: The play() ...
1
vote
0
answers
161
views
Peer.js remote stream returns black screen
I was working on a simple video chat app using Peer.js and React. After calling and answering call, I notice that on both ends, the remote video stream received was not "on" and return a ...