我正在尝试实现openvidu
,但是在测试时却遇到了一系列的回溯。
此外,测试演示应用程序抛出相同的错误。
请看看。
main.82d8bfb172cca6191e54.js:1 ERROR:org.kurento.client.internal.server.KurentoServerException:Event not found (Code:40106, Type:null, Data: {"type":"MEDIA_OBJECT_EVENT_NOT_SUPPORTED"}) in Request: method:publishVideo params:{"sdpOffer":"v=0\r\no=- 1572874269656743967 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio video\r\na=msid-semantic: WMS JxkKzGj7KTZfd37JBNDsHqVp02ZQ4zz3V4fH\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:3UCA\r\na=ice-pwd:E8/dQeHgtrfrqx/Fg5YL3pN8\r\na=ice-options:trickle\r\na=fingerprint:sha-256 3E:01:34:2C:71:FD:82:C0:AA:39:80:0F:87:AA:40:4F:9B:89:01:C3:F5:88:6B:B0:D3:77:BA:93:5F:D5:55:B4\r\na=setup:actpass\r\na=mid:audio\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=sendrecv\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:106 CN/32000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:112 telephone-event/32000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\na=ssrc:1476970363 cname:Z9IHKa18A/5jnG65\r\na=ssrc:1476970363 msid:JxkKzGj7KTZfd37JBNDsHqVp02ZQ4zz3V4fH 1d5e9448-33bc-43ef-ad40-048b81e283d1\r\na=ssrc:1476970363 mslabel:JxkKzGj7KTZfd37JBNDsHqVp02ZQ4zz3V4fH\r\na=ssrc:1476970363 label:1d5e9448-33bc-43ef-ad40-048b81e283d1\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 123 127 122 125 107 108 109 124\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:3UCA\r\na=ice-pwd:E8/dQeHgtrfrqx/Fg5YL3pN8\r\na=ice-options:trickle\r\na=fingerprint:sha-256 3E:01:34:2C:71:FD:82:C0:AA:39:80:0F:87:AA:40:4F:9B:89:01:C3:F5:88:6B:B0:D3:77:BA:93:5F:D5:55:B4\r\na=setup:actpass\r\na=mid:video\r\na=extmap:2 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:4 urn:3gpp:video-orientation\r\na=extmap:5 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/video-timing\r\na=sendrecv\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=fmtp:98 x-google-profile-id=0\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:100 H264/90000\r\na=rtcp-fb:100 goog-remb\r\na=rtcp-fb:100 transport-cc\r\na=rtcp-fb:100 ccm fir\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=fmtp:100 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f\r\na=rtpmap:101 rtx/90000\r\na=fmtp:101 apt=100\r\na=rtpmap:102 H264/90000\r\na=rtcp-fb:102 goog-remb\r\na=rtcp-fb:102 transport-cc\r\na=rtcp-fb:102 ccm fir\r\na=rtcp-fb:102 nack\r\na=rtcp-fb:102 nack pli\r\na=fmtp:102 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42001f\r\na=rtpmap:123 rtx/90000\r\na=fmtp:123 apt=102\r\na=rtpmap:127 H264/90000\r\na=rtcp-fb:127 goog-remb\r\na=rtcp-fb:127 transport-cc\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=fmtp:127 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=rtpmap:122 rtx/90000\r\na=fmtp:122 apt=127\r\na=rtpmap:125 H264/90000\r\na=rtcp-fb:125 goog-remb\r\na=rtcp-fb:125 transport-cc\r\na=rtcp-fb:125 ccm fir\r\na=rtcp-fb:125 nack\r\na=rtcp-fb:125 nack pli\r\na=fmtp:125 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f\r\na=rtpmap:107 rtx/90000\r\na=fmtp:107 apt=125\r\na=rtpmap:108 red/90000\r\na=rtpmap:109 rtx/90000\r\na=fmtp:109 apt=108\r\na=rtpmap:124 ulpfec/90000\r\na=ssrc-group:FID 1375228565 1312427489\r\na=ssrc:1375228565 cname:Z9IHKa18A/5jnG65\r\na=ssrc:1375228565 msid:JxkKzGj7KTZfd37JBNDsHqVp02ZQ4zz3V4fH 341f4fbc-bff5-42d0-8063-e8d6d43c90b4\r\na=ssrc:1375228565 mslabel:JxkKzGj7KTZfd37JBNDsHqVp02ZQ4zz3V4fH\r\na=ssrc:1375228565 label:341f4fbc-bff5-42d0-8063-e8d6d43c90b4\r\na=ssrc:1312427489 cname:Z9IHKa18A/5jnG65\r\na=ssrc:1312427489 msid:JxkKzGj7KTZfd37JBNDsHqVp02ZQ4zz3V4fH 341f4fbc-bff5-42d0-8063-e8d6d43c90b4\r\na=ssrc:1312427489 mslabel:JxkKzGj7KTZfd37JBNDsHqVp02ZQ4zz3V4fH\r\na=ssrc:1312427489 label:341f4fbc-bff5-42d0-8063-e8d6d43c90b4\r\n","doLoopback":true,"hasAudio":true,"hasVideo":true,"audioActive":true,"videoActive":true,"typeOfVideo":"CAMERA","frameRate":-1,"videoDimensions":"{\"width\":640,\"height\":480}"} request:undefined
然后。
main.82d8bfb172cca6191e54.js:1 ERROR DATA:"org.kurento.client.internal.server.KurentoServerException: Event not found (Code:40106, Type:null, Data: {\"type\":\"MEDIA_OBJECT_EVENT_NOT_SUPPORTED\"})\n\tat org.kurento.client.internal.transport.jsonrpc.RomClientJsonRpcClient.sendRequest(RomClientJsonRpcClient.java:264)\n\tat org.kurento.client.internal.transport.jsonrpc.RomClientJsonRpcClient.subscribe(RomClientJsonRpcClient.java:130)\n\tat org.kurento.client.internal.transport.jsonrpc.RomClientJsonRpcClient.subscribe(RomClientJsonRpcClient.java:122)\n\tat org.kurento.client.internal.client.RomManager.subscribe(RomManager.java:190)\n\tat org.kurento.client.internal.client.RemoteObject.addEventListener(RemoteObject.java:252)\n\tat org.kurento.client.internal.client.RemoteObjectInvocationHandler.subscribeEventListener(RemoteObjectInvocationHandler.java:219)\n\tat org.kurento.client.internal.client.RemoteObjectInvocationHandler.internalInvoke(RemoteObjectInvocationHandler.java:133)\n\tat org.kurento.client.internal.client.DefaultInvocationHandler.invoke(DefaultInvocationHandler.java:39)\n\tat com.sun.proxy.$Proxy94.addMediaTranscodingStateChangeListener(Unknown Source)\n\tat io.openvidu.server.kurento.core.KurentoParticipant.addEndpointListeners(KurentoParticipant.java:664)\n\tat io.openvidu.server.kurento.core.KurentoParticipant.createPublishingEndpoint(KurentoParticipant.java:113)\n\tat io.openvidu.server.kurento.core.KurentoSessionManager.publishVideo(KurentoSessionManager.java:238)\n\tat io.openvidu.server.rpc.RpcHandler.publishVideo(RpcHandler.java:261)\n\tat io.openvidu.server.rpc.RpcHandler.handleRequest(RpcHandler.java:117)\n\tat org.kurento.jsonrpc.internal.JsonRpcHandlerManager.handleRequest(JsonRpcHandlerManager.java:128)\n\tat org.kurento.jsonrpc.internal.server.ProtocolManager$3.run(ProtocolManager.java:218)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat java.lang.Thread.run(Thread.java:748)\n"
后跟..
ERROR Error: Uncaught (in promise): Error on publishVideo: {"code":-1,"message":"org.kurento.client.internal.server.KurentoServerException:Event not found (Code:40106, Type:null, Data: {\"type\":\"MEDIA_OBJECT_EVENT_NOT_SUPPORTED\"})","data":"org.kurento.client.internal.server.KurentoServerException: Event not found (Code:40106, Type:null, Data: {\"type\":\"MEDIA_OBJECT_EVENT_NOT_SUPPORTED\"})\n\tat org.kurento.client.internal.transport.jsonrpc.RomClientJsonRpcClient.sendRequest(RomClientJsonRpcClient.java:264)\n\tat org.kurento.client.internal.transport.jsonrpc.RomClientJsonRpcClient.subscribe(RomClientJsonRpcClient.java:130)\n\tat org.kurento.client.internal.transport.jsonrpc.RomClientJsonRpcClient.subscribe(RomClientJsonRpcClient.java:122)\n\tat org.kurento.client.internal.client.RomManager.subscribe(RomManager.java:190)\n\tat org.kurento.client.internal.client.RemoteObject.addEventListener(RemoteObject.java:252)\n\tat org.kurento.client.internal.client.RemoteObjectInvocationHandler.subscribeEventListener(RemoteObjectInvocationHandler.java:219)\n\tat org.kurento.client.internal.client.RemoteObjectInvocationHandler.internalInvoke(RemoteObjectInvocationHandler.java:133)\n\tat org.kurento.client.internal.client.DefaultInvocationHandler.invoke(DefaultInvocationHandler.java:39)\n\tat com.sun.proxy.$Proxy94.addMediaTranscodingStateChangeListener(Unknown Source)\n\tat io.openvidu.server.kurento.core.KurentoParticipant.addEndpointListeners(KurentoParticipant.java:664)\n\tat io.openvidu.server.kurento.core.KurentoParticipant.createPublishingEndpoint(KurentoParticipant.java:113)\n\tat io.openvidu.server.kurento.core.KurentoSessionManager.publishVideo(KurentoSessionManager.java:238)\n\tat io.openvidu.server.rpc.RpcHandler.publishVideo(RpcHandler.java:261)\n\tat io.openvidu.server.rpc.RpcHandler.handleRequest(RpcHandler.java:117)\n\tat org.kurento.jsonrpc.internal.JsonRpcHandlerManager.handleRequest(JsonRpcHandlerManager.java:128)\n\tat org.kurento.jsonrpc.internal.server.ProtocolManager$3.run(ProtocolManager.java:218)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat java.lang.Thread.run(Thread.java:748)\n","requestTime":1540352806941}
at P (polyfills.3582350dd6075fd34141.js:1)
at polyfills.3582350dd6075fd34141.js:1
at main.82d8bfb172cca6191e54.js:1
at e.invoke (polyfills.3582350dd6075fd34141.js:1)
at Object.onInvoke (main.82d8bfb172cca6191e54.js:1)
at e.invoke (polyfills.3582350dd6075fd34141.js:1)
at t.run (polyfills.3582350dd6075fd34141.js:1)
at polyfills.3582350dd6075fd34141.js:1
at e.invokeTask (polyfills.3582350dd6075fd34141.js:1)
at Object.onInvokeTask (main.82d8bfb172cca6191e54.js:1)
我已经启动并运行了openVidu服务器,它甚至还在创建令牌。
Participant wpmxrz2pnvjkaidg is calling method 'onIceCandidate' in session 3v6jc1gn7blpuuav
但是由于某种原因,它并没有发回令牌。
我开始运行kurento-media-sever-6.0,redis服务器正在运行,并且我正在使用SSH连接到位于另一网络的计算机的计算机上工作。
可能是什么问题?