不能 运行 kurento-examples-java
can't run kurento-examples-java
可用示例:https://134.209.199.255:8443/
我如何 运行 KMS:
docker run -d --name kms -p 8888:8888 \
-v /root/kms/WebRtcEndpoint.conf.ini:/etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini \
-e GST_DEBUG="Kurento*:5" kurento/kurento-media-server:latest
我如何运行转服务器:
sudo turnserver -a -o -v -n --no-dtls --no-tls -u test:test -r "someRealm"
我如何运行运行java示例:
mvn -U clean spring-boot:run -Dkms.url=ws://localhost:8888/kurento
- /root/kms/WebRtcEndpoint.conf.ini 的内容(非互动)
- KMS docker container logs(非互动)
- TURN server discovery result
任何想法表示赞赏。
客户端没有configuration
属性转接中继信息-
对于 WebRtcPeerSendonly
:
var options = {
localVideo: video,
mediaConstraints: constraints,
configuration: {
iceServers: [{urls: 'turn:134.209.199.255', username: 'test', credential: 'test'}],
iceTransportPolicy: 'relay'
},
onicecandidate: participant.onIceCandidate.bind(participant)
}
并且 WebRtcPeerRecvonly
var options = {
remoteVideo: video,
configuration: {
iceServers: [{urls: 'turn:134.209.199.255', username: 'test', credential: 'test'}],
iceTransportPolicy: 'relay'
},
onicecandidate: participant.onIceCandidate.bind(participant)
}
我添加后,它开始工作了。
可用示例:https://134.209.199.255:8443/
我如何 运行 KMS:
docker run -d --name kms -p 8888:8888 \
-v /root/kms/WebRtcEndpoint.conf.ini:/etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini \
-e GST_DEBUG="Kurento*:5" kurento/kurento-media-server:latest
我如何运行转服务器:
sudo turnserver -a -o -v -n --no-dtls --no-tls -u test:test -r "someRealm"
我如何运行运行java示例:
mvn -U clean spring-boot:run -Dkms.url=ws://localhost:8888/kurento
- /root/kms/WebRtcEndpoint.conf.ini 的内容(非互动)
- KMS docker container logs(非互动)
- TURN server discovery result
任何想法表示赞赏。
客户端没有configuration
属性转接中继信息-
对于 WebRtcPeerSendonly
:
var options = {
localVideo: video,
mediaConstraints: constraints,
configuration: {
iceServers: [{urls: 'turn:134.209.199.255', username: 'test', credential: 'test'}],
iceTransportPolicy: 'relay'
},
onicecandidate: participant.onIceCandidate.bind(participant)
}
并且 WebRtcPeerRecvonly
var options = {
remoteVideo: video,
configuration: {
iceServers: [{urls: 'turn:134.209.199.255', username: 'test', credential: 'test'}],
iceTransportPolicy: 'relay'
},
onicecandidate: participant.onIceCandidate.bind(participant)
}
我添加后,它开始工作了。