Using OpenVidu with Hololens

Hi

First thank you for this tool, that’s a very solid asset for a WebRTC newcomer.
I’m trying to get Openvidu working with Hololens and Microsoft WebRTC library.
I’ve coded the Rest and websocket messages to have the unity app join a room, publish its video and subscribe to another stream.
So far it’s almost working, I join the room, video is published to other participants, but I’m not able to get the video of another participant. When I see the logs they look very close to what i get using my browser (except that my app is tagged as insecure on server). Is there a server on your side with Rest and RPC so I could test if my client is correct? For I appear to be going round in circles in front of this issue…

Best regards
Nicolas

Here is an extract from the logs (I’ve changed IP and DNS :slightly_smiling_face:)

[INFO] 2020-09-01 12:08:22,572 [http-nio-0.0.0.0-5443-exec-1] io.openvidu.server.rest.SessionRestController - REST API: GET /api/sessions/Holoroom
[INFO] 2020-09-01 12:08:22,813 [http-nio-0.0.0.0-5443-exec-3] io.openvidu.server.rest.SessionRestController - REST API: POST /api/tokens {session=Holoroom}
[INFO] 2020-09-01 12:08:22,813 [http-nio-0.0.0.0-5443-exec-3] io.openvidu.server.coturn.CoturnCredentialsService - Creating COTURN user
[INFO] 2020-09-01 12:08:22,836 [http-nio-0.0.0.0-5443-exec-3] io.openvidu.server.coturn.CoturnCredentialsService - COTURN user created: true
[INFO] 2020-09-01 12:08:22,836 [http-nio-0.0.0.0-5443-exec-3] io.openvidu.server.core.Session - Token created { Session: Holoroom | Tokens: [wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_Es2bdyNI4dDCp9Gg&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=EHLH62&turnCredential=pt3gum, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_X6dCYHK9EC6ghwOW&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=XVWKMG&turnCredential=dasqzc, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_Dxxdn3jRfWgp9ncB&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=VTTGG4&turnCredential=bc54jg, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_IMISk6FX2w1rVPXK&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=OUU3XE&turnCredential=9tpx05, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_BCJdfjgFaBYWS8CQ&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=HOF67K&turnCredential=wy0vac, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_SrXisNulimOtRjQO&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=KR5X9U&turnCredential=xpqizz, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_OWPeoLCVypIRN9gw&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=UXUNSJ&turnCredential=e3pbgj, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_XOh62eif8b1JZaKI&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=MSLS5V&turnCredential=khv1en, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_D8KIcHt3dVovtHvx&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=3PO0YR&turnCredential=et4apo, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_VypyM54cRgKt5Zwa&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=LH1CQN&turnCredential=h7c7to] }
[INFO] 2020-09-01 12:08:23,690 [http-nio-0.0.0.0-5443-exec-2] io.openvidu.server.config.HttpHandshakeInterceptor - New HttpSession C279EF6C2EB180508680CFA52B78137F
[INFO] 2020-09-01 12:08:24,549 [http-nio-0.0.0.0-5443-exec-4] io.openvidu.server.rpc.RpcHandler - After connection established for WebSocket session: b8n6gl914nsn3skv760je7sjip
[INFO] 2020-09-01 12:08:24,551 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.coturn.CoturnCredentialsService - Creating COTURN user
[INFO] 2020-09-01 12:08:24,575 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.coturn.CoturnCredentialsService - COTURN user created: true
[INFO] 2020-09-01 12:08:24,575 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.core.Session - Token created for insecure user { Session: Holoroom | Tokens: [wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_Es2bdyNI4dDCp9Gg&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=EHLH62&turnCredential=pt3gum, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_X6dCYHK9EC6ghwOW&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=XVWKMG&turnCredential=dasqzc, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_Dxxdn3jRfWgp9ncB&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=VTTGG4&turnCredential=bc54jg, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_IMISk6FX2w1rVPXK&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=OUU3XE&turnCredential=9tpx05, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_BCJdfjgFaBYWS8CQ&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=HOF67K&turnCredential=wy0vac, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_SrXisNulimOtRjQO&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=KR5X9U&turnCredential=xpqizz, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_OWPeoLCVypIRN9gw&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=UXUNSJ&turnCredential=e3pbgj, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_XOh62eif8b1JZaKI&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=MSLS5V&turnCredential=khv1en, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_D8KIcHt3dVovtHvx&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=3PO0YR&turnCredential=et4apo, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_VypyM54cRgKt5Zwa&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=LH1CQN&turnCredential=h7c7to, tok_A7ICQwRHdH1iHpAJ] }
[INFO] 2020-09-01 12:08:24,575 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.core.Session - Token consumed { Session: Holoroom | Tokens: [wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_Es2bdyNI4dDCp9Gg&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=EHLH62&turnCredential=pt3gum, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_X6dCYHK9EC6ghwOW&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=XVWKMG&turnCredential=dasqzc, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_Dxxdn3jRfWgp9ncB&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=VTTGG4&turnCredential=bc54jg, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_IMISk6FX2w1rVPXK&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=OUU3XE&turnCredential=9tpx05, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_BCJdfjgFaBYWS8CQ&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=HOF67K&turnCredential=wy0vac, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_SrXisNulimOtRjQO&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=KR5X9U&turnCredential=xpqizz, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_OWPeoLCVypIRN9gw&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=UXUNSJ&turnCredential=e3pbgj, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_XOh62eif8b1JZaKI&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=MSLS5V&turnCredential=khv1en, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_D8KIcHt3dVovtHvx&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=3PO0YR&turnCredential=et4apo, wss://openvidutest.azure.com?sessionId=Holoroom&token=tok_VypyM54cRgKt5Zwa&role=PUBLISHER&version=2.15.0&coturnIp=52.111.111.111turnUsername=LH1CQN&turnCredential=h7c7to] }
[INFO] 2020-09-01 12:08:24,576 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.core.SessionManager - Participant con_Unity of session Holoroom is a final user connecting to this session for the first time
[INFO] 2020-09-01 12:08:24,576 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.kurento.core.KurentoSession - SESSION Holoroom: Added participant [participantPrivateId=b8n6gl914nsn3skv760je7sjip, participantPublicId=con_Unity, streaming=false]
[INFO] 2020-09-01 12:08:24,636 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.rpc.RpcHandler - Participant con_Unity is calling method ‘publish’ in session Holoroom
[INFO] 2020-09-01 12:08:24,637 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.core.SessionManager - The user with private id b8n6gl914nsn3skv760je7sjip is an INSECURE user
[INFO] 2020-09-01 12:08:24,647 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.kurento.core.KurentoParticipant - PARTICIPANT con_Unity: Request to publish video in room Holoroom (sdp type OFFER)
[INFO] 2020-09-01 12:08:24,652 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.kurento.core.KurentoParticipant - PARTICIPANT con_Unity: Is now publishing video in room Holoroom
[INFO] 2020-09-01 12:08:24,653 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.rpc.RpcHandler - Participant con_Unity is calling method ‘onIceCandidate’ in session Holoroom
[INFO] 2020-09-01 12:08:24,653 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.rpc.RpcHandler - New candidate received from participant con_Unity: {connectionId: “con_Unity”, sdpMid: 0, sdpMLineIndex: 0, candidate: “candidate:1903709134 1 udp 2122260223 192.168.1.84 52121 typ host generation 0 ufrag M+ck network-id 1”}
[INFO] 2020-09-01 12:08:24,653 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.rpc.RpcHandler - Participant con_Unity is calling method ‘onIceCandidate’ in session Holoroom
[INFO] 2020-09-01 12:08:24,653 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.rpc.RpcHandler - New candidate received from participant con_Unity: {connectionId: “con_Unity”, sdpMid: 0, sdpMLineIndex: 0, candidate: “candidate:2318348417 1 udp 2122194687 192.168.154.65 52122 typ host generation 0 ufrag M+ck network-id 4”}
[INFO] 2020-09-01 12:08:24,654 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.rpc.RpcHandler - Participant con_Unity is calling method ‘onIceCandidate’ in session Holoroom
[INFO] 2020-09-01 12:08:24,654 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.rpc.RpcHandler - New candidate received from participant con_Unity: {connectionId: “con_Unity”, sdpMid: 1, sdpMLineIndex: 1, candidate: “candidate:1903709134 1 udp 2122260223 192.168.1.84 52123 typ host generation 0 ufrag M+ck network-id 1”}
[INFO] 2020-09-01 12:08:24,654 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.rpc.RpcHandler - Participant con_Unity is calling method ‘onIceCandidate’ in session Holoroom
[INFO] 2020-09-01 12:08:24,654 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.rpc.RpcHandler - New candidate received from participant con_Unity: {connectionId: “con_Unity”, sdpMid: 1, sdpMLineIndex: 1, candidate: “candidate:2318348417 1 udp 2122194687 192.168.154.65 52124 typ host generation 0 ufrag M+ck network-id 4”}
[INFO] 2020-09-01 12:08:24,667 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.rpc.RpcHandler - Participant con_Unity is calling method ‘onIceCandidate’ in session Holoroom
[INFO] 2020-09-01 12:08:24,667 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.rpc.RpcHandler - New candidate received from participant con_Unity: {connectionId: “con_Unity”, sdpMid: 1, sdpMLineIndex: 1, candidate: “candidate:2271752730 1 udp 1686052607 86.111.2.2 52123 typ srflx raddr 192.168.1.84 rport 52123 generation 0 ufrag M+ck network-id 1”}
[INFO] 2020-09-01 12:08:24,669 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.rpc.RpcHandler - Participant con_Unity is calling method ‘onIceCandidate’ in session Holoroom
[INFO] 2020-09-01 12:08:24,669 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t304] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceComponentStateChange]: -> endpoint: str_CAM_Jfwf_con_Unity (publisher) | state: GATHERING | componentId: 1 | streamId: 1 | timestamp: 1598962104658
[INFO] 2020-09-01 12:08:24,669 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.rpc.RpcHandler - New candidate received from participant con_Unity: {connectionId: “con_Unity”, sdpMid: 0, sdpMLineIndex: 0, candidate: “candidate:2271752730 1 udp 1686052607 86.111.2.2 52121 typ srflx raddr 192.168.1.84 rport 52121 generation 0 ufrag M+ck network-id 1”}
[INFO] 2020-09-01 12:08:24,670 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t302] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceComponentStateChange]: -> endpoint: str_CAM_Jfwf_con_Unity (publisher) | state: CONNECTING | componentId: 1 | streamId: 1 | timestamp: 1598962104659
[INFO] 2020-09-01 12:08:24,690 [SessionHandler-i5mof3dd996mt2lu94gami834s-e38-t0] io.openvidu.server.rpc.RpcHandler - Participant con_Moto is calling method ‘signal’ in session Holoroom
[INFO] 2020-09-01 12:08:24,710 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.rpc.RpcHandler - Participant con_Unity is calling method ‘subscribe’ in session Holoroom
[INFO] 2020-09-01 12:08:24,710 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.kurento.core.KurentoParticipant - PARTICIPANT con_Unity: Request to receive media from con_Moto in room Holoroom
[INFO] 2020-09-01 12:08:24,712 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t302] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceComponentStateChange]: -> endpoint: str_CAM_Jfwf_con_Unity (publisher) | state: GATHERING | componentId: 2 | streamId: 1 | timestamp: 1598962104677
[INFO] 2020-09-01 12:08:24,769 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.kurento.core.KurentoParticipant - PARTICIPANT con_Unity: Is now receiving video from con_Moto in room Holoroom
[INFO] 2020-09-01 12:08:24,769 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.rpc.RpcHandler - Participant con_Unity is calling method ‘onIceCandidate’ in session Holoroom
[INFO] 2020-09-01 12:08:24,769 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.rpc.RpcHandler - New candidate received from participant con_Unity: {connectionId: “con_Unity”, sdpMid: 0, sdpMLineIndex: 0, candidate: “candidate:1073461054 1 tcp 1518280447 192.168.1.84 49481 typ host tcptype passive generation 0 ufrag M+ck network-id 1”}
[INFO] 2020-09-01 12:08:24,775 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.rpc.RpcHandler - Participant con_Unity is calling method ‘onIceCandidate’ in session Holoroom
[INFO] 2020-09-01 12:08:24,775 [SessionHandler-b8n6gl914nsn3skv760je7sjip-e66-t0] io.openvidu.server.rpc.RpcHandler - New candidate received from participant con_Unity: {connectionId: “con_Unity”, sdpMid: 0, sdpMLineIndex: 0, candidate: “candidate:3299658865 1 tcp 1518214911 192.168.154.65 49483 typ host tcptype passive generation 0 ufrag M+ck network-id 4”}
[INFO] 2020-09-01 12:08:24,781 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t300] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceComponentStateChange]: -> endpoint: con_Unity_str_CAM_BuqZ_con_Moto (subscriber) | state: GATHERING | componentId: 1 | streamId: 1 | timestamp: 1598962104777
[INFO] 2020-09-01 12:08:24,822 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t317] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceComponentStateChange]: -> endpoint: str_CAM_Jfwf_con_Unity (publisher) | state: CONNECTED | componentId: 1 | streamId: 1 | timestamp: 1598962104809
[INFO] 2020-09-01 12:08:24,822 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t291] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [NewCandidatePairSelected]: -> endpoint: str_CAM_Jfwf_con_Unity (publisher) | local: candidate:7 1 UDP 1679819007 52.143.171.44 41656 typ srflx raddr 10.0.0.4 rport 41656 | remote: candidate:2271752730 1 UDP 1686052607 86.111.2.2 52121 typ srflx raddr 192.168.1.84 rport 52121 | timestamp: 1598962104809
[INFO] 2020-09-01 12:08:24,823 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t299] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceComponentStateChange]: -> endpoint: con_Unity_str_CAM_BuqZ_con_Moto (subscriber) | state: GATHERING | componentId: 2 | streamId: 1 | timestamp: 1598962104792
[INFO] 2020-09-01 12:08:24,828 [SessionHandler-i5mof3dd996mt2lu94gami834s-e38-t0] io.openvidu.server.rpc.RpcHandler - Participant con_Moto is calling method ‘subscribe’ in session Holoroom
[INFO] 2020-09-01 12:08:24,828 [SessionHandler-i5mof3dd996mt2lu94gami834s-e38-t0] io.openvidu.server.kurento.core.KurentoParticipant - PARTICIPANT con_Moto: Request to receive media from con_Unity in room Holoroom
[INFO] 2020-09-01 12:08:24,845 [SessionHandler-i5mof3dd996mt2lu94gami834s-e38-t0] io.openvidu.server.kurento.core.KurentoParticipant - PARTICIPANT con_Moto: Is now receiving video from con_Unity in room Holoroom
[INFO] 2020-09-01 12:08:24,850 [SessionHandler-i5mof3dd996mt2lu94gami834s-e38-t0] io.openvidu.server.rpc.RpcHandler - Participant con_Moto is calling method ‘onIceCandidate’ in session Holoroom
[INFO] 2020-09-01 12:08:24,850 [SessionHandler-i5mof3dd996mt2lu94gami834s-e38-t0] io.openvidu.server.rpc.RpcHandler - New candidate received from participant con_Moto: {connectionId: “con_Unity”, sdpMid: 0, sdpMLineIndex: 0, candidate: “candidate:601966580 1 udp 2122260223 192.168.1.56 44689 typ host generation 0 ufrag zCgd network-id 2 network-cost 10”}
[INFO] 2020-09-01 12:08:24,853 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t304] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceComponentStateChange]: -> endpoint: con_Moto_str_CAM_Jfwf_con_Unity (subscriber) | state: GATHERING | componentId: 1 | streamId: 1 | timestamp: 1598962104849
[INFO] 2020-09-01 12:08:24,855 [SessionHandler-i5mof3dd996mt2lu94gami834s-e38-t0] io.openvidu.server.rpc.RpcHandler - Participant con_Moto is calling method ‘onIceCandidate’ in session Holoroom
[INFO] 2020-09-01 12:08:24,855 [SessionHandler-i5mof3dd996mt2lu94gami834s-e38-t0] io.openvidu.server.rpc.RpcHandler - New candidate received from participant con_Moto: {connectionId: “con_Unity”, sdpMid: 0, sdpMLineIndex: 0, candidate: “candidate:3589357088 1 udp 1686052607 86.111.2.2 44689 typ srflx raddr 192.168.1.56 rport 44689 generation 0 ufrag zCgd network-id 2 network-cost 10”}
[INFO] 2020-09-01 12:08:24,855 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t291] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceComponentStateChange]: -> endpoint: con_Moto_str_CAM_Jfwf_con_Unity (subscriber) | state: CONNECTING | componentId: 1 | streamId: 1 | timestamp: 1598962104853
[INFO] 2020-09-01 12:08:24,898 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t304] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceComponentStateChange]: -> endpoint: con_Moto_str_CAM_Jfwf_con_Unity (subscriber) | state: GATHERING | componentId: 2 | streamId: 1 | timestamp: 1598962104868
[INFO] 2020-09-01 12:08:25,047 [SessionHandler-i5mof3dd996mt2lu94gami834s-e38-t0] io.openvidu.server.rpc.RpcHandler - Participant con_Moto is calling method ‘onIceCandidate’ in session Holoroom
[INFO] 2020-09-01 12:08:25,047 [SessionHandler-i5mof3dd996mt2lu94gami834s-e38-t0] io.openvidu.server.rpc.RpcHandler - New candidate received from participant con_Moto: {connectionId: “con_Unity”, sdpMid: 0, sdpMLineIndex: 0, candidate: “candidate:1835186948 1 tcp 1518280447 192.168.1.56 9 typ host tcptype active generation 0 ufrag zCgd network-id 2 network-cost 10”}
[INFO] 2020-09-01 12:08:25,056 [SessionHandler-i5mof3dd996mt2lu94gami834s-e38-t0] io.openvidu.server.rpc.RpcHandler - Participant con_Moto is calling method ‘onIceCandidate’ in session Holoroom
[INFO] 2020-09-01 12:08:25,056 [SessionHandler-i5mof3dd996mt2lu94gami834s-e38-t0] io.openvidu.server.rpc.RpcHandler - New candidate received from participant con_Moto: {connectionId: “con_Unity”, sdpMid: 0, sdpMLineIndex: 0, candidate: “candidate:3155050085 1 tcp 1518214911 100.89.47.158 9 typ host tcptype active generation 0 ufrag zCgd network-id 1 network-cost 900”}
[INFO] 2020-09-01 12:08:25,081 [SessionHandler-i5mof3dd996mt2lu94gami834s-e38-t0] io.openvidu.server.rpc.RpcHandler - Participant con_Moto is calling method ‘onIceCandidate’ in session Holoroom
[INFO] 2020-09-01 12:08:25,081 [SessionHandler-i5mof3dd996mt2lu94gami834s-e38-t0] io.openvidu.server.rpc.RpcHandler - New candidate received from participant con_Moto: {connectionId: “con_Unity”, sdpMid: 0, sdpMLineIndex: 0, candidate: “candidate:915495480 1 udp 41885695 40.4.4.11 57671 typ relay raddr 86.111.2.2 rport 44689 generation 0 ufrag zCgd network-id 2 network-cost 10”}
[INFO] 2020-09-01 12:08:25,082 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t304] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceComponentStateChange]: -> endpoint: con_Moto_str_CAM_Jfwf_con_Unity (subscriber) | state: CONNECTED | componentId: 1 | streamId: 1 | timestamp: 1598962105081
[INFO] 2020-09-01 12:08:25,082 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t302] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [NewCandidatePairSelected]: -> endpoint: con_Moto_str_CAM_Jfwf_con_Unity (subscriber) | local: candidate:10 1 UDP 1847591167 40.4.4.11 43722 typ prflx raddr 10.0.0.4 rport 43722 | remote: candidate:remote1 1 UDP 1853825023 10.0.0.4 57671 typ prflx | timestamp: 1598962105081
[INFO] 2020-09-01 12:08:25,086 [SessionHandler-i5mof3dd996mt2lu94gami834s-e38-t0] io.openvidu.server.rpc.RpcHandler - Participant con_Moto is calling method ‘onIceCandidate’ in session Holoroom
[INFO] 2020-09-01 12:08:25,086 [SessionHandler-i5mof3dd996mt2lu94gami834s-e38-t0] io.openvidu.server.rpc.RpcHandler - New candidate received from participant con_Moto: {connectionId: “con_Unity”, sdpMid: 0, sdpMLineIndex: 0, candidate: “candidate:2014488264 1 udp 25108223 40.4.4.11 59679 typ relay raddr 86.111.2.2 rport 48377 generation 0 ufrag zCgd network-id 2 network-cost 10”}
[INFO] 2020-09-01 12:08:25,668 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t302] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [ConnectionStateChanged]: -> endpoint: str_CAM_Jfwf_con_Unity (publisher) | oldState: DISCONNECTED | newState: CONNECTED | timestamp: 1598962105667
[INFO] 2020-09-01 12:08:25,756 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t302] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [MediaFlowOutStateChange] -> endpoint: str_CAM_Jfwf_con_Unity (publisher) | state: FLOWING | pad: default | mediaType: VIDEO | timestamp: 1598962105756
[INFO] 2020-09-01 12:08:25,766 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t302] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [MediaFlowOutStateChange] -> endpoint: str_CAM_Jfwf_con_Unity (publisher) | state: FLOWING | pad: default | mediaType: AUDIO | timestamp: 1598962105766
[INFO] 2020-09-01 12:08:25,767 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t302] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [MediaTranscodingStateChange]: -> endpoint: str_CAM_Jfwf_con_Unity (publisher) | state: NOT_TRANSCODING | mediaType: AUDIO | binName: kmsagnosticbin2-87 | timestamp: 1598962105766
[INFO] 2020-09-01 12:08:25,828 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t302] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [MediaTranscodingStateChange]: -> endpoint: str_CAM_Jfwf_con_Unity (publisher) | state: NOT_TRANSCODING | mediaType: VIDEO | binName: kmsagnosticbin2-86 | timestamp: 1598962105828
[INFO] 2020-09-01 12:08:25,878 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t302] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [ConnectionStateChanged]: -> endpoint: con_Moto_str_CAM_Jfwf_con_Unity (subscriber) | oldState: DISCONNECTED | newState: CONNECTED | timestamp: 1598962105878
[INFO] 2020-09-01 12:08:25,910 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t302] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [MediaFlowInStateChange] -> endpoint: con_Moto_str_CAM_Jfwf_con_Unity (subscriber) | state: FLOWING | pad: default | mediaType: VIDEO | timestamp: 1598962105909
[INFO] 2020-09-01 12:08:26,169 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t302] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [MediaStateChangedEvent]: -> endpoint: str_CAM_Jfwf_con_Unity (publisher) | oldState: DISCONNECTED | newState: CONNECTED | timestamp: 1598962106168
[INFO] 2020-09-01 12:08:26,396 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t302] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [MediaStateChangedEvent]: -> endpoint: con_Moto_str_CAM_Jfwf_con_Unity (subscriber) | oldState: DISCONNECTED | newState: CONNECTED | timestamp: 1598962106396
[INFO] 2020-09-01 12:08:26,702 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t302] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceGatheringDone] -> endpoint: str_CAM_Jfwf_con_Unity (publisher) | timestamp: 1598962106701
[INFO] 2020-09-01 12:08:26,804 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t302] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceGatheringDone] -> endpoint: con_Unity_str_CAM_BuqZ_con_Moto (subscriber) | timestamp: 1598962106803
[INFO] 2020-09-01 12:08:26,808 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t302] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceComponentStateChange]: -> endpoint: str_CAM_Jfwf_con_Unity (publisher) | state: READY | componentId: 1 | streamId: 1 | timestamp: 1598962106807
[INFO] 2020-09-01 12:08:26,895 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t302] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceGatheringDone] -> endpoint: con_Moto_str_CAM_Jfwf_con_Unity (subscriber) | timestamp: 1598962106895
[INFO] 2020-09-01 12:08:26,899 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t302] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [IceComponentStateChange]: -> endpoint: con_Moto_str_CAM_Jfwf_con_Unity (subscriber) | state: READY | componentId: 1 | streamId: 1 | timestamp: 1598962106899
[INFO] 2020-09-01 12:08:47,737 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t302] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [MediaFlowOutStateChange] -> endpoint: str_CAM_Jfwf_con_Unity (publisher) | state: NOT_FLOWING | pad: default | mediaType: VIDEO | timestamp: 1598962127737
[INFO] 2020-09-01 12:08:47,770 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t302] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [MediaFlowOutStateChange] -> endpoint: str_CAM_Jfwf_con_Unity (publisher) | state: NOT_FLOWING | pad: default | mediaType: AUDIO | timestamp: 1598962127769
[INFO] 2020-09-01 12:08:47,884 [AbstractJsonRpcClientWebSocket-reqResEventExec-e2-t302] io.openvidu.server.kurento.core.KurentoParticipantEndpointConfig - KMS event [MediaFlowInStateChange] -> endpoint: con_Moto_str_CAM_Jfwf_con_Unity (subscriber) | state: NOT_FLOWING | pad: default | mediaType: VIDEO | timestamp: 1598962127883

You can test against our dev environment:

url: https://demos.openvidu.io/
secret: MY_SECRET

Thank you for answering
Are the Rest and RPC API accessible on this environment?

Yes, they are available :wink:

Thank you! Things works the same, as if I connect following the publishVideo i don’t receive the other video stream, and if I connect following the receiveVideoFrom i no longer publish my stream.

There must be something somewhere in WebRTC library that I’m not doing well

Hi @raggnic Any chance you can share how did you fix this issue? Having the exact problem.