need help here.
I am creating an html5 / php website that allows users to stream video using a webcam to multiple users, we currently use webRTC, but it lags if there are many users watching the video.
I am trying to use my local computer as a server with mainly an intranet user. can i use webRTC to implement it? if so, how to do it?
any tutorial i can read?
var iceServers = [];
iceServers.push({
url: 'stun:stun.l.google.com:19302'
});
iceServers.push({
url: 'stun:stun.anyfirewall.com:3478'
});
iceServers.push({
url: 'turn:turn.bistri.com:80',
credential: 'homeo',
username: 'homeo'
});
iceServers.push({
url: 'turn:turn.anyfirewall.com:443?transport=tcp',
credential: 'webrtc',
username: 'webrtc'
});
connection.iceServers = iceServers;
source
share