--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "kurento" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kurento/t6g6G9kyeyw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kurento+u...@googlegroups.com.
--
Ricardo Magalhães
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "kurento" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kurento/t6g6G9kyeyw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kurento+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
DAEMON_ARGS="-c /etc/turnserver.conf -f -o -a -v -r kurento.org -u kurento:kurento --no-stdout-log -o --external-ip $EXTERNAL_IP/$LOCAL_IP"
PIDFILE_DIR=/var/run
PIDFILE=/var/run/$PROCNAME.pid
SCRIPTNAME=/etc/init.d/$NAME
USER=turnserver
GROUP=turnserver
EXTERNAL_IP=79.168.55.55
LOCAL_IP=$(hostname -i)
"WebRtcEndpoint" : {
"stunServerAddress" : "79.168.55.55", // Only IP address are supported
"stunServerPort" : 3478,
// turnURL gives the necessary info to configure TURN for WebRTC.
// 'address' must be an IP (not a domain).
// 'transport' is optional (UDP by default).
"turnURL" : "kurento:kur...@79.168.55.55:3478"
// "pemCertificate" : "file"
},
"WebRtcEndpoint" : {
"stunServerAddress" : "173.194.78.127", // Only IP address are supported
"stunServerPort" : 19302
// turnURL gives the necessary info to configure TURN for WebRTC.
// 'address' must be an IP (not a domain).
// 'transport' is optional (UDP by default).
Correct?
Received message: {"id":"startCommunication","sdpAnswer":"v=0\r\no=- 5236511141477532327 0 IN IP4 0.0.0.0\r\ns=TestSession\r\nc=IN IP4 0.0.0.0\r\nt=0 0\r\na=group:BUNDLE audio video\r\nm=audio 41201 RTP/SAVPF 0\r\nc=IN IP4 172.31.4.116\r\na=rtpmap:0 PCMU/8000\r\na=sendrecv\r\na=rtcp:41201 IN IP4 172.31.4.116\r\na=ice-ufrag:TWC8\r\na=ice-pwd:2eWzHE1gKWxupi7G40zNn+\r\na=fingerprint:sha-256 B1:F1:0C:41:7C:6E:A5:81:D0:3B:CB:DD:64:05:A2:D7:98:BB:F1:AB:F7:5E:46:28:4D:0E:67:94:64:77:43:0A\r\na=rtcp-mux\r\na=candidate:1 1 UDP 2013266431 172.31.4.116 41201 typ host\r\na=ssrc:863004924 cname:user1855450298@host-6e865631\r\nm=video 41201 RTP/SAVPF 100\r\nc=IN IP4 172.31.4.116\r\na=rtpmap:100 VP8/90000\r\na=sendrecv\r\na=rtcp-fb:100 ccm fir\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=rtcp:41201 IN IP4 172.31.4.116\r\na=ice-ufrag:TWC8\r\na=ice-pwd:2eWzHE1gKWxupi7G40zNn+\r\na=fingerprint:sha-256 B1:F1:0C:41:7C:6E:A5:81:D0:3B:CB:DD:64:05:A2:D7:98:BB:F1:AB:F7:5E:46:28:4D:0E:67:94:64:77:43:0A\r\na=rtcp-mux\r\na=candidate:1 1 UDP 2013266431 172.31.4.116 41201 typ host\r\na=ssrc:1068638041 cname:user1855450298@host-6e865631\r\n"}
For me it is running now, I used a public (google) STUN server and KMS behind a NAT (shorewall+proxmox).
EXTERNAL_IP=$(curl http://169.254.169.254/latest/meta-data/public-ipv4) LOCAL_IP=$(curl http://169.254.169.254/latest/meta-data/local-ipv4)This will always return public and local IPs for your machine.
--
stunServerAddress=173.194.66.127
stunServerPort=19302
{
"mediaServer" : {
/* "resources": {
// //Resources usage limit for raising an exception when an object creation is attempted
// "exceptionLimit": "0.8",
// // Resources usage limit for restarting the server when no objects are alive
// "killLimit": "0.7",
// Garbage collector period in seconds
"garbageCollectorPeriod": 240
},*/
"net" : {
// Uncomment just one of them
/*
"rabbitmq": {
"address" : "127.0.0.1",
"port" : 5672,
"username" : "guest",
"password" : "guest",
"vhost" : "/"
}
*/
"websocket": {
"port": 8080,
"secure": {
"port": 8433,
"certificate": "defaultCertificate.pem",
"password": ""
},
"path": "kurento",
"threads": 10
}
}
},
"modules": {
"kurento": {
"SdpEndpoint" : {
"sdpPattern" : "sdp_pattern.txt"
},
"HttpEndpoint" : {
// "serverAddress" : "localhost",
/*
Announced IP Addess may be helpful under situations such as the server needs
to provide URLs to clients whose host name is different from the one the
server is listening in. If this option is not provided, http server will try
to look for any available address in your system.
*/
// "announcedAddress" : "52.50.75.253"
},
"WebRtcEndpoint" : {
"stunServerAddress" : "173.194.66.127",
"stunServerPort" : 19302
// turnURL gives the necessary info to configure TURN for WebRTC.
// 'address' must be an IP (not a domain).
// 'transport' is optional (UDP by default).
// "turnURL" : "kurento:kur...@52.50.75.253:3478"
// "pemCertificate" : "file"
// "announcedAddress" : "52.50.75.253"
},
"PlumberEndpoint" : {
// "bindAddress" : "localhost",
/*
Announced IP Address may be helpful under situations such as the endpoint needs
to provide an IP address to clients whose host name is different from the one
that the element is listening in. If this option is not provided, the bindAddress
will be used instead.
*/
// "announcedAddress" : "52.50.75.253"
}
},
"WebRtcEndpoint" : {
"stunServerAddress" : "173.194.66.127",
"stunServerPort" : 19302
// "stunServerAddress" : "stun ip address",
// "stunServerPort" : 3478,
// turnURL gives the necessary info to configure TURN for WebRTC.
// 'address' must be an IP (not a domain).
// 'transport' is optional (UDP by default).
// "turnURL" : "kurento:kur...@193.147.51.36:3478"
// "pemCertificate" : "file"
// "turnURL" : "kurento:kur...@52.50.75.253:3478"
}
//"module1": { …. }
//"module2": { …. }
}
}
This is all over the list, man: test the stun server you are using with this page ;-) Basically, the STUN server you are using is not working. It is also at the top of /etc/kurento/modeules/kurento/WebRtcEndpoint.conf.ini, the first file you pointed to
; Only IP address are supported, not domain names for addresses
; You have to find a valid stun server. You can check if it works
; usin this tool:
; http://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
Always check the STUN server, as those IPs might change.
--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.

To unsubscribe from this group and stop receiving emails from it, send an email to kurento+unsubscribe@googlegroups.com.