Skip to content

Commit 3535008

Browse files
Add group call
1 parent f1e80c5 commit 3535008

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

src/main/resources/static/css/style.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ input[type=button]:active, input[type=submit]:active {
221221
}
222222

223223
#button-leave {
224+
color: red;
224225
text-align: center;
225226
position: absolute;
226227
bottom: 10px;

src/main/resources/static/js/conferenceroom.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ function onExistingParticipants(msg) {
111111
mediaConstraints: constraints,
112112
onicecandidate: participant.onIceCandidate.bind(participant)
113113
}
114+
options.configuration = {
115+
// iceServers : JSON.parse('[{"urls":"stun:stun.l.google.com:19302"}]')
116+
iceServers: JSON.parse('[{"urls":"stun:stun.l.google.com:19302"}, {"urls":"turns:standard.relay.metered.ca:80", ' +
117+
'"username":"65024e9d0265012cc6669435", ' +
118+
'"credential":"k3nUiqAyH5SM/5qt"}]')
119+
};
114120
participant.rtcPeer = new kurentoUtils.WebRtcPeer.WebRtcPeerSendonly(options,
115121
function (error) {
116122
if(error) {
@@ -147,6 +153,13 @@ function receiveVideo(sender) {
147153
onicecandidate: participant.onIceCandidate.bind(participant)
148154
}
149155

156+
options.configuration = {
157+
// iceServers : JSON.parse('[{"urls":"stun:stun.l.google.com:19302"}]')
158+
iceServers: JSON.parse('[{"urls":"stun:stun.l.google.com:19302"}, {"urls":"turns:standard.relay.metered.ca:80", ' +
159+
'"username":"65024e9d0265012cc6669435", ' +
160+
'"credential":"k3nUiqAyH5SM/5qt"}]')
161+
};
162+
150163
participant.rtcPeer = new kurentoUtils.WebRtcPeer.WebRtcPeerRecvonly(options,
151164
function (error) {
152165
if(error) {

0 commit comments

Comments
 (0)