Media server for webrtc for peer to peer connection [closed] - p2p

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Hello all I am newbie to webrtc just started to run my first application using localhost i got how to access camera and microphone.i had a question is there any media servers to buy if we want to make peer to peer connection or else any free media servers.

For P2P connections using WebRTC, you can use serverless-webrtc. It's purely client-side, just a bit of HTML + JS + CSS.
Another P2P library on top of WebRTC is PeerJS.
Alternatively, you can use e.g. EasyRTC - an open source WebRTC server based on node.js.

Have a look at OpenTok WebRTC: http://labs.opentok.com/try/
It has a huge library of functionality you can easily use, and supports peer to peer flawlessly.

Related

Nodejs Websocket Speed [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 months ago.
Improve this question
I am building a multiplayer game and am using websockets as the data transfer for playing. I want to know how many ms it takes for a message to be send from the client to the server and the server to the client. I am using nodejs websocket package ws
to know how much MS it takes is not an answer anyone can directly give ... that is entirely dependent on the hardware you are running your source code on as well as the latency of the recipient

Socket.io or Rest API [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I develop an application like Whatsapp using Vuejs and Nodejs. Can I create a backend for the entire application with Socket.io? Is it possible with Socket.io Rest api? I think there should be a Rest api in parts like the login. Is it true that I prepare parts like login with socket.io? Thanks in advance.
You can use a framework like NestJs or Adonis (or many others). Those that I'm mentioning are ready to build a REST service and also use websockets (with socket.io).
It is normal to use both in a project. The socket will be an open and persistent connection to the server, in the other case the http request is a petition, so ask yourself, Does this feature need constant communication with the server or could I ask for something and thats it??
Note: You can create a whole server using only sockets (socket.io in your case) but I think that a combination of ws + http is better

How can I make a desktop app with node.js in the backend for APIs [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
What would be the best set of technologies to use if I want to make a desktop application which would fetch data from server through JSON (node.js with MYSQL).
Side note: Currently we are using angular.js for frontend but the client wants a desktop app and is adamant. Don't want to change anything server side.
If you want to go ahead with js itself then you might want to look into electronjs you can even combine it with other frontend techs such as Angular, React or VueJs.
Another option is NW.js.
Look into both and choose as per your requirements both have pros and cons.

create application WebRTC [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
how create a WebRTC (video, audio & message) chat via socket.io
on this application you can:
talked to specify user.
talked with several users at the same time (notion of room).
the user can accept or reject the call.
There are many frameworks geared towards that specifically. Check out https://simplewebrtc.com/ and http://easyrtc.com/ as solid alternatives.
Note that for multiparty calls you may need to add a server component to handle the media itself.
Take a look to WebRTC in the real world and to Building a webRTC Video Chat Service On Nodejs and Krakenjs. Also, you can see Advanced chat using node.js and socket.io – Episode 2.

BitTorrent: How do peers connect to each other even in the absence of port forwarding? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
When you download a file using BitTorrent, you can download parts of the file from others who already have the file or from the original host. Once you've finished downloading the file, you too can help others download it by sending them parts of it.
How are peers able to connect to each other even if they are behind routers that don't forward any incoming connections to them? Does the original host help with this somehow?
If your router does not support upnp, many bittorrent implementations will try to connect to other peers using NAT punchthrough (see http://www.raknet.net/raknet/manual/natpunchthrough.html for some examples).
If you cannot punch through, that just means that you cannot host a connection. You can still make a connection with another host and send/receive packets to them. It's only when both parties are behind routers that can't be punched through that there is a problem. In this case, no data can be directly sent between the peers.

Resources