Should I use webRTC or socket.io for a text chat?saving a video/audio session created through webrtc peerConnectionWhat Protocol to use for chat? webRTC or WebsocketswebRTC HTML5 whiteboard/video chatWhich websocket library to use with Node.js?WebRTC vs Websockets: If WebRTC can do Video, Audio, and Data, why do I need Websockets?how to build multi-user video chatting web app using webRTC, node.js and socket.ioAdd text chat to webRTC audio/video chatsave text chat in the server with architecture of webrtc+socket.io+nodejsSocket.io vs RTCDataChannel, as Signalling Servers?webRTC working example, multiple video chat
Minimizing expected brier score and Brier score interpretation
Received a dinner invitation through my employer's email, is it ok to attend?
How can I deal with a player trying to insert real-world mythology into my homebrew setting?
Shortest distance around a pyramid?
When casting Eldritch Blast with the Agonizing Blast eldritch invocation, what do I add to my damage roll?
Cops: The Hidden OEIS Substring
Should I intentionally omit previous work experience when applying for jobs?
Is anyone advocating the promotion of homosexuality in UK schools?
Why were Er and Onan punished if they were under 20?
How can one write good dialogue in a story without sounding wooden?
During copyediting, journal disagrees about spelling of paper's main topic
Is "take care'n of" correct?
How to say "to make my heart sing"
Is "My neighbor Mr. Lee is 70 years old who plays basketball every day." grammatical?
Is lack of functional requirements agile?
Why was hardware diversification an asset for the IBM PC ecosystem?
Print the last, middle and first character of your code
Why isn't pressure filtration popular compared to vacuum filtration?
Book where the stars go black due to aliens stopping human observation collapsing quantum possibilities
How would vampires avoid contracting diseases?
How to achieve this rough borders and stippled illustration look?
Single word for "refusing to move to next activity unless present one is completed."
Referring to different instances of the same character in time travel
Is there a word for a message that is intended to be intercepted by an adversary?
Should I use webRTC or socket.io for a text chat?
saving a video/audio session created through webrtc peerConnectionWhat Protocol to use for chat? webRTC or WebsocketswebRTC HTML5 whiteboard/video chatWhich websocket library to use with Node.js?WebRTC vs Websockets: If WebRTC can do Video, Audio, and Data, why do I need Websockets?how to build multi-user video chatting web app using webRTC, node.js and socket.ioAdd text chat to webRTC audio/video chatsave text chat in the server with architecture of webrtc+socket.io+nodejsSocket.io vs RTCDataChannel, as Signalling Servers?webRTC working example, multiple video chat
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm working on a node project and want to create a text chat between multiple users. So, more than 2 users in the chat.
I can't seem to figure out what approach is best: using socket.io (example of a text chat right here: https://socket.io/get-started/chat/ or webRTC. When I try to look for a webRTC example of text chat, I find links to video chat or a 1-1 text chat which uses sockets.
Which one should I use for a text chat?
websocket socket.io webrtc
add a comment |
I'm working on a node project and want to create a text chat between multiple users. So, more than 2 users in the chat.
I can't seem to figure out what approach is best: using socket.io (example of a text chat right here: https://socket.io/get-started/chat/ or webRTC. When I try to look for a webRTC example of text chat, I find links to video chat or a 1-1 text chat which uses sockets.
Which one should I use for a text chat?
websocket socket.io webrtc
add a comment |
I'm working on a node project and want to create a text chat between multiple users. So, more than 2 users in the chat.
I can't seem to figure out what approach is best: using socket.io (example of a text chat right here: https://socket.io/get-started/chat/ or webRTC. When I try to look for a webRTC example of text chat, I find links to video chat or a 1-1 text chat which uses sockets.
Which one should I use for a text chat?
websocket socket.io webrtc
I'm working on a node project and want to create a text chat between multiple users. So, more than 2 users in the chat.
I can't seem to figure out what approach is best: using socket.io (example of a text chat right here: https://socket.io/get-started/chat/ or webRTC. When I try to look for a webRTC example of text chat, I find links to video chat or a 1-1 text chat which uses sockets.
Which one should I use for a text chat?
websocket socket.io webrtc
websocket socket.io webrtc
asked Mar 26 at 3:18
user2719875user2719875
5,37818 gold badges66 silver badges145 bronze badges
5,37818 gold badges66 silver badges145 bronze badges
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
WebRTC is a point 2 point link (although it can go through server). If you want multiple users on single chat, WebSockets might be the right approach for you. With WebRTC you might need to create a link between each 2 users, and that is a pain.
Anyway, if you use Azure maybe SignalR Service is the right answer, depending on you scalability needs.
add a comment |
WebRTC is Peer-to-Peer and is mainly emphasized on video/audio streaming. It can be used for multiple users, but that would result in a complicated structure like mesh structure. Based on your situation, I would recommend a simpler server-based solution, for example, the one you mentioned: Socket.io.
It's completely possible to implement what you said with WebRTC, but it would be complicated and not very suitable for your situation (text-only).
I recommend you to look more into WebRTC if you are still interested in it, it's great but it doesn't fit your current need very well.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55349347%2fshould-i-use-webrtc-or-socket-io-for-a-text-chat%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
WebRTC is a point 2 point link (although it can go through server). If you want multiple users on single chat, WebSockets might be the right approach for you. With WebRTC you might need to create a link between each 2 users, and that is a pain.
Anyway, if you use Azure maybe SignalR Service is the right answer, depending on you scalability needs.
add a comment |
WebRTC is a point 2 point link (although it can go through server). If you want multiple users on single chat, WebSockets might be the right approach for you. With WebRTC you might need to create a link between each 2 users, and that is a pain.
Anyway, if you use Azure maybe SignalR Service is the right answer, depending on you scalability needs.
add a comment |
WebRTC is a point 2 point link (although it can go through server). If you want multiple users on single chat, WebSockets might be the right approach for you. With WebRTC you might need to create a link between each 2 users, and that is a pain.
Anyway, if you use Azure maybe SignalR Service is the right answer, depending on you scalability needs.
WebRTC is a point 2 point link (although it can go through server). If you want multiple users on single chat, WebSockets might be the right approach for you. With WebRTC you might need to create a link between each 2 users, and that is a pain.
Anyway, if you use Azure maybe SignalR Service is the right answer, depending on you scalability needs.
answered Mar 26 at 15:26
RonenRonen
1
1
add a comment |
add a comment |
WebRTC is Peer-to-Peer and is mainly emphasized on video/audio streaming. It can be used for multiple users, but that would result in a complicated structure like mesh structure. Based on your situation, I would recommend a simpler server-based solution, for example, the one you mentioned: Socket.io.
It's completely possible to implement what you said with WebRTC, but it would be complicated and not very suitable for your situation (text-only).
I recommend you to look more into WebRTC if you are still interested in it, it's great but it doesn't fit your current need very well.
add a comment |
WebRTC is Peer-to-Peer and is mainly emphasized on video/audio streaming. It can be used for multiple users, but that would result in a complicated structure like mesh structure. Based on your situation, I would recommend a simpler server-based solution, for example, the one you mentioned: Socket.io.
It's completely possible to implement what you said with WebRTC, but it would be complicated and not very suitable for your situation (text-only).
I recommend you to look more into WebRTC if you are still interested in it, it's great but it doesn't fit your current need very well.
add a comment |
WebRTC is Peer-to-Peer and is mainly emphasized on video/audio streaming. It can be used for multiple users, but that would result in a complicated structure like mesh structure. Based on your situation, I would recommend a simpler server-based solution, for example, the one you mentioned: Socket.io.
It's completely possible to implement what you said with WebRTC, but it would be complicated and not very suitable for your situation (text-only).
I recommend you to look more into WebRTC if you are still interested in it, it's great but it doesn't fit your current need very well.
WebRTC is Peer-to-Peer and is mainly emphasized on video/audio streaming. It can be used for multiple users, but that would result in a complicated structure like mesh structure. Based on your situation, I would recommend a simpler server-based solution, for example, the one you mentioned: Socket.io.
It's completely possible to implement what you said with WebRTC, but it would be complicated and not very suitable for your situation (text-only).
I recommend you to look more into WebRTC if you are still interested in it, it's great but it doesn't fit your current need very well.
answered Mar 26 at 21:41
jackz314jackz314
1,4046 silver badges28 bronze badges
1,4046 silver badges28 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55349347%2fshould-i-use-webrtc-or-socket-io-for-a-text-chat%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown