File tree Expand file tree Collapse file tree
src/main/resources/static Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments