V
V
Vyacheslav Belyaev2016-08-26 18:34:35
Chats
Vyacheslav Belyaev, 2016-08-26 18:34:35

How to implement video chat?

How to implement chat with audio and video stream. Both jointly and separately.
I'm trying to master WebRTC, but the information on Habré is outdated (2013), I could not find new and intelligible ones. What technologies are more relevant now for such things?
At the moment, several examples have been implemented, but the flow between devices still does not pass. Registered on the turn-server (viagenie.ca) but with these accesses it was also not possible to send the video.
Here if that part of the code:

var server = { iceServers:[
{url:'stun:stun.l.google.com:19302'},
{url:'stun:stun1.l.google.com:19302'},
{url:'stun:stun2.l.google.com:19302'},
{url:'stun:stun3.l.google.com:19302'},
{url:'stun:stun4.l.google.com:19302'},
{url:'stun:stunserver.org'},
{url:'stun:stun.softjoys.com'},
{url:'stun:stun.voiparound.com'},
{url:'stun:stun.voipbuster.com'},
{url:'stun:stun.voipstunt.com'},
{url:'stun:stun.voxgratia.org'},
{url:'stun:stun.xten.com'},{url:'stun:stun01.sipphone.com'},
{url:'stun:stun.ekiga.net'},
{url:'stun:stun.fwdnet.net'},
{url:'stun:stun.ideasip.com'},
{url:'stun:stun.iptel.org'},
{url:'stun:stun.rixtelecom.se'},
{url:'stun:stun.schlund.de'},
{
    url: 'turn:numb.viagenie.ca',
    credential: 'xxx',
    username: '[email protected]'
}]};

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
killka73, 2016-09-01
@killka73

I would suggest using Peer.js . Provides a convenient and simple API for working with WebRTC. Video chat is implemented in 10-20 lines.

X
xSkyFoXx, 2016-08-27
@xSkyFoXx

Why not use Google Hangouts ? Very high quality of communication, "chats" if desired, can be broadcast on YouTube or, in fact, from the end - upload it there.
In addition, there is a very good API for various advanced business logic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question