You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using kurento to record webrtc stream (browser => kurento, with coturn, video only). For most of the devices, this works reliable. With iOS 15 devices, we see that the recording fails repeatedly every third recording (recorded file is empty). In the kurento logs for the failing sessions, the MediaFlowOutStateChanged never changes to FLOWING (see kurento logs below).
The process looks as follows:
Page load, start stream, load webcam
User clicks record
Recording lasts 4s
Recording is stopped (stopAndWait)
Form is submitted and browser is redirected => back to step 1
I have read some older discussions (e.g. this one), where a similar behavior was observed. In this case, it was related to a Socket.IO encoding issue.
Anybody faced similar issues?
Tested with kurento 6.18.0 and 7.0.1.
kurento logs
Recording OK
processMessage: Message: {"jsonrpc":"2.0","method":"ping","params":{"interval":5000},"id":0}
ping: WebSocket Ping/Pong
processMessage: Response: {"id":0,"jsonrpc":"2.0","result":{"value":"pong"}}
processMessage: Message: {"jsonrpc":"2.0","method":"describe","params":{"object":"manager_ServerManager"},"id":1}
processMessage: Response: {"id":1,"jsonrpc":"2.0","result":{"hierarchy":["kurento.MediaObject"],"qualifiedType":"kurento.ServerManager","sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e","type":"ServerManager"}}
storeConnection: Associating session 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
processMessage: Message: {"jsonrpc":"2.0","method":"invoke","params":{"object":"manager_ServerManager","operation":"getInfo","sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e"},"id":2}
processMessage: Response: {"id":2,"jsonrpc":"2.0","result":{"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e","value":{"__module__":"kurento","__type__":"ServerInfo","capabilities":["transactions"],"modules":[{"__module__":"kurento","__type__":"ModuleInfo","factories":["ChromaFilter"],"generationTime":"Apr 27 2023 10:14:27","name":"chroma","version":"7.0.1"},{"__module__":"kurento","__type__":"ModuleInfo","factories":["HubPort","MediaPipeline","PassThrough"],"generationTime":"Apr 27 2023 09:57:38","name":"core","version":"7.0.1"},{"__module__":"kurento","__type__":"ModuleInfo","factories":["KmsDetectFaces","KmsSendData","KmsShowData","KmsShowFaces"],"generationTime":"Apr 27 2023 10:15:03","name":"datachannelexample","version":"7.0.1"},{"__module__":"kurento","__type__":"ModuleInfo","factories":["AlphaBlending","Composite","Dispatcher","DispatcherOneToMany","HttpPostEndpoint","Mixer","PlayerEndpoint","RecorderEndpoint","RtpEndpoint","WebRtcEndpoint"],"generationTime":"Apr 27 2023 10:04:13","name":"elements","version":"7.0.1"},{"__module__":"kurento","__type__":"ModuleInfo","factories":["FaceOverlayFilter","GStreamerFilter","ImageOverlayFilter","ZBarFilter"],"generationTime":"Apr 27 2023 10:10:39","name":"filters","version":"7.0.1"}],"type":"KMS","version":"7.0.1"}}}
closeHandler: Connection closed
closeHandler: Erasing connection associated with: 29fdf69f-4538-4b7e-98a8-2412de65a931
processMessage: Message: {"jsonrpc":"2.0","method":"create","params":{"type":"MediaPipeline","properties":{},"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e"},"id":3}
processMessage: Response: {"id":3,"jsonrpc":"2.0","result":{"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e","value":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline"}}
processMessage: Message: {"jsonrpc":"2.0","method":"create","params":{"type":"RecorderEndpoint","constructorParams":{"mediaPipeline":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline","mediaProfile":"MP4_VIDEO_ONLY","uri":"file:///tmp/video/test_109401993c.mp4"},"properties":{},"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e"},"id":4}
RecorderEndpointImpl: Set MP4 VIDEO ONLY profile
processMessage: Response: {"id":4,"jsonrpc":"2.0","result":{"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e","value":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/de35eeb6-54e7-4a4a-a41d-a1980035dec5_kurento.RecorderEndpoint"}}
processMessage: Message: {"jsonrpc":"2.0","method":"create","params":{"type":"WebRtcEndpoint","constructorParams":{"mediaPipeline":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline"},"properties":{},"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e"},"id":5}
BaseRtpEndpointImpl: No predefined RTP MTU found in config; using default
WebRtcEndpointImpl: No QOS-DSCP value set
remove_not_supported_codecs_from_array:<kmswebrtcendpoint74> Removing not supported codec 'AMR/8000'
WebRtcEndpointImpl: No predefined external IPv4 address found in config; you can set one or default to STUN automatic discovery
WebRtcEndpointImpl: No predefined external IPv6 address found in config; you can set one or default to STUN automatic discovery
WebRtcEndpointImpl: No predefined network interfaces found in config; you can set one or default to ICE automatic discovery
WebRtcEndpointImpl: ICE-TCP option not found in config; you can set it or default to 1 (TRUE)
WebRtcEndpointImpl: STUN port not found in config; using default value: 3478
WebRtcEndpointImpl: STUN server not found in config
WebRtcEndpointImpl: Predefined TURN relay server: <user:password>@<turn_ip>:3478
processMessage: Response: {"id":5,"jsonrpc":"2.0","result":{"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e","value":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint"}}
processMessage: Message: {"jsonrpc":"2.0","method":"invoke","params":{"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","operation":"addIceCandidate","operationParams":{"candidate":{"candidate":"candidate:447376249 1 udp 41885951 <turn_ip> 38698 typ relay raddr 0.0.0.0 rport 0 generation 0 ufrag IKpk network-id 1 network-cost 10","sdpMid":"0","sdpMLineIndex":0,"__module__":"kurento","__type__":"IceCandidate"}},"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e"},"id":6}
processMessage: Response: {"id":6,"jsonrpc":"2.0","result":{"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e","value":null}}
processMessage: Message: {"jsonrpc":"2.0","method":"invoke","params":{"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","operation":"addIceCandidate","operationParams":{"candidate":{"candidate":"candidate:1412011913 1 udp 25108479 <turn_ip> 39019 typ relay raddr 0.0.0.0 rport 0 generation 0 ufrag IKpk network-id 1 network-cost 10","sdpMid":"0","sdpMLineIndex":0,"__module__":"kurento","__type__":"IceCandidate"}},"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e"},"id":7}
processMessage: Response: {"id":7,"jsonrpc":"2.0","result":{"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e","value":null}}
processMessage: Message: {"jsonrpc":"2.0","method":"subscribe","params":{"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceCandidateFound","sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e"},"id":8}
processMessage: Response: {"id":8,"jsonrpc":"2.0","result":{"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e","value":"923a147f-f4b6-40e0-b956-0d090041191b"}}
processMessage: Message: {"jsonrpc":"2.0","method":"subscribe","params":{"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceComponentStateChanged","sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e"},"id":9}
processMessage: Response: {"id":9,"jsonrpc":"2.0","result":{"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e","value":"352935c6-ce01-4a06-9571-06c4ca279be5"}}
processMessage: Message: {"jsonrpc":"2.0","method":"subscribe","params":{"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"NewCandidatePairSelected","sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e"},"id":10}
processMessage: Response: {"id":10,"jsonrpc":"2.0","result":{"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e","value":"e91efe4f-2fc8-4b7e-a839-e868d02ec79f"}}
processMessage: Message: {"jsonrpc":"2.0","method":"subscribe","params":{"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceGatheringDone","sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e"},"id":11}
processMessage: Response: {"id":11,"jsonrpc":"2.0","result":{"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e","value":"f2ac7de8-fc40-4b81-b5db-cab308efd894"}}
processMessage: Message: {"jsonrpc":"2.0","method":"subscribe","params":{"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/de35eeb6-54e7-4a4a-a41d-a1980035dec5_kurento.RecorderEndpoint","type":"Stopped","sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e"},"id":12}
processMessage: Response: {"id":12,"jsonrpc":"2.0","result":{"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e","value":"afa2f70c-6821-4f24-902e-9370291bf35c"}}
processMessage: Message: {"jsonrpc":"2.0","method":"invoke","params":{"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","operation":"processOffer","operationParams":{"offer":"v=0\r\no=- 2798790200128826814 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS ba2c9f19-807d-4a55-a527-036852f0deaf\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 125 104 124 106 107 108 109 127\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:IKpk\r\na=ice-pwd:B3rCPRC9FzMbE0alt0PZzbhL\r\na=ice-options:trickle\r\na=fingerprint:sha-256 42:3A:68:DB:08:45:C4:6B:05:70:63:D7:C9:0F:8E:7F:D4:C9:F8:3D:54:E3:AA:65:1E:B1:3E:8B:EC:66:E7:D3\r\na=setup:actpass\r\na=mid:0\r\na=extmap:1 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 urn:3gpp:video-orientation\r\na=extmap:4 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing\r\na=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=extmap:9 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendonly\r\na=msid:ba2c9f19-807d-4a55-a527-036852f0deaf 8eaa6af5-b3a4-498b-9eff-e3efd33cbad8\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 H264/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=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640c1f\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 H264/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 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\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=0;profile-level-id=640c1f\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=42e01f\r\na=rtpmap:125 rtx/90000\r\na=fmtp:125 apt=102\r\na=rtpmap:104 VP8/90000\r\na=rtcp-fb:104 goog-remb\r\na=rtcp-fb:104 transport-cc\r\na=rtcp-fb:104 ccm fir\r\na=rtcp-fb:104 nack\r\na=rtcp-fb:104 nack pli\r\na=rtpmap:124 rtx/90000\r\na=fmtp:124 apt=104\r\na=rtpmap:106 VP9/90000\r\na=rtcp-fb:106 goog-remb\r\na=rtcp-fb:106 transport-cc\r\na=rtcp-fb:106 ccm fir\r\na=rtcp-fb:106 nack\r\na=rtcp-fb:106 nack pli\r\na=fmtp:106 profile-id=0\r\na=rtpmap:107 rtx/90000\r\na=fmtp:107 apt=106\r\na=rtpmap:108 red/90000\r\na=rtpmap:109 rtx/90000\r\na=fmtp:109 apt=108\r\na=rtpmap:127 ulpfec/90000\r\na=ssrc-group:FID 2474184856 3001685877\r\na=ssrc:2474184856 cname:bZeW8frBMPheaXSa\r\na=ssrc:2474184856 msid:ba2c9f19-807d-4a55-a527-036852f0deaf 8eaa6af5-b3a4-498b-9eff-e3efd33cbad8\r\na=ssrc:2474184856 mslabel:ba2c9f19-807d-4a55-a527-036852f0deaf\r\na=ssrc:2474184856 label:8eaa6af5-b3a4-498b-9eff-e3efd33cbad8\r\na=ssrc:3001685877 cname:bZeW8frBMPheaXSa\r\na=ssrc:3001685877 msid:ba2c9f19-807d-4a55-a527-036852f0deaf 8eaa6af5-b3a4-498b-9eff-e3efd33cbad8\r\na=ssrc:3001685877 mslabel:ba2c9f19-807d-4a55-a527-036852f0deaf\r\na=ssrc:3001685877 label:8eaa6af5-b3a4-498b-9eff-e3efd33cbad8\r\n"},"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e"},"id":13}
processMessage: Response: {"id":13,"jsonrpc":"2.0","result":{"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e","value":"v=0\r\no=- 3894722861 3894722861 IN IP4 0.0.0.0\r\ns=Kurento Media Server\r\nc=IN IP4 0.0.0.0\r\nt=0 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS ba2c9f19-807d-4a55-a527-036852f0deaf\r\na=group:BUNDLE 0\r\nm=video 1 UDP/TLS/RTP/SAVPF 96 98 100 102 104\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=recvonly\r\na=mid:0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=rtpmap:96 H264/90000\r\na=rtpmap:98 H264/90000\r\na=rtpmap:100 H264/90000\r\na=rtpmap:102 H264/90000\r\na=rtpmap:104 VP8/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=rtcp-fb:100 goog-remb\r\na=rtcp-fb:100 ccm fir\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=rtcp-fb:102 goog-remb\r\na=rtcp-fb:102 ccm fir\r\na=rtcp-fb:102 nack\r\na=rtcp-fb:102 nack pli\r\na=rtcp-fb:104 goog-remb\r\na=rtcp-fb:104 ccm fir\r\na=rtcp-fb:104 nack\r\na=rtcp-fb:104 nack pli\r\na=setup:active\r\na=rtcp-mux\r\na=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640c1f\r\na=fmtp:98 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=fmtp:100 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=640c1f\r\na=fmtp:102 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f\r\na=ssrc:3942171381 cname:user330546738@host-fb1f201e\r\na=ice-ufrag:NU/i\r\na=ice-pwd:gy9hyIcIu9wm7Cp6dgNVSw\r\na=fingerprint:sha-256 CF:F6:5B:BF:07:EE:A2:CE:7B:9A:89:DC:99:7A:CA:70:8E:33:87:61:78:0C:87:9E:96:3B:30:03:E7:11:83:69\r\n"}}
processMessage: Message: {"jsonrpc":"2.0","method":"invoke","params":{"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","operation":"connect","operationParams":{"sink":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/de35eeb6-54e7-4a4a-a41d-a1980035dec5_kurento.RecorderEndpoint"},"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e"},"id":14}
connect: Connecting cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint -> cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/de35eeb6-54e7-4a4a-a41d-a1980035dec5_kurento.RecorderEndpoint params AUDIO default default
connect: Connecting cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint -> cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/de35eeb6-54e7-4a4a-a41d-a1980035dec5_kurento.RecorderEndpoint params VIDEO default default
connect: Connecting cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint -> cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/de35eeb6-54e7-4a4a-a41d-a1980035dec5_kurento.RecorderEndpoint params DATA default default
processMessage: Response: {"id":14,"jsonrpc":"2.0","result":{"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e","value":null}}
processMessage: Message: {"jsonrpc":"2.0","method":"invoke","params":{"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","operation":"gatherCandidates","sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e"},"id":15}
processMessage: Response: {"id":15,"jsonrpc":"2.0","result":{"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e","value":null}}
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:1 1 UDP 2015363327 172.18.0.9 41393 typ host","sdpMLineIndex":0,"sdpMid":"0"},"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734061423","type":"IceCandidateFound"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:2 1 TCP 1015021823 172.18.0.9 9 typ host tcptype active","sdpMLineIndex":0,"sdpMid":"0"},"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734061423","type":"IceCandidateFound"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:3 1 TCP 1010827519 172.18.0.9 18262 typ host tcptype passive","sdpMLineIndex":0,"sdpMid":"0"},"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734061423","type":"IceCandidateFound"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:1 2 UDP 2015363326 172.18.0.9 47196 typ host","sdpMLineIndex":0,"sdpMid":"0"},"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734061423","type":"IceCandidateFound"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:2 2 TCP 1015021822 172.18.0.9 9 typ host tcptype active","sdpMLineIndex":0,"sdpMid":"0"},"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734061423","type":"IceCandidateFound"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:3 2 TCP 1010827518 172.18.0.9 37547 typ host tcptype passive","sdpMLineIndex":0,"sdpMid":"0"},"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734061423","type":"IceCandidateFound"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"componentId":1,"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","state":"GATHERING","streamId":1,"tags":[],"timestampMillis":"1685734061423","type":"IceComponentStateChanged"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceComponentStateChanged"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"componentId":1,"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","state":"CONNECTING","streamId":1,"tags":[],"timestampMillis":"1685734061423","type":"IceComponentStateChanged"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceComponentStateChanged"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:4 1 UDP 1679819007 145.40.192.150 41393 typ srflx raddr 172.18.0.9 rport 41393","sdpMLineIndex":0,"sdpMid":"0"},"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734061451","type":"IceCandidateFound"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:5 1 TCP 847249663 145.40.192.150 9 typ srflx raddr 172.18.0.9 rport 9 tcptype active","sdpMLineIndex":0,"sdpMid":"0"},"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734061451","type":"IceCandidateFound"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:6 1 TCP 843055359 145.40.192.150 18262 typ srflx raddr 172.18.0.9 rport 18262 tcptype passive","sdpMLineIndex":0,"sdpMid":"0"},"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734061451","type":"IceCandidateFound"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:7 1 UDP 505413887 <turn_ip> 34618 typ relay raddr 172.18.0.9 rport 41393","sdpMLineIndex":0,"sdpMid":"0"},"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734061451","type":"IceCandidateFound"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"componentId":2,"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","state":"GATHERING","streamId":1,"tags":[],"timestampMillis":"1685734061463","type":"IceComponentStateChanged"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceComponentStateChanged"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:4 2 UDP 1679819006 145.40.192.150 47196 typ srflx raddr 172.18.0.9 rport 47196","sdpMLineIndex":0,"sdpMid":"0"},"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734061491","type":"IceCandidateFound"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:5 2 TCP 847249662 145.40.192.150 9 typ srflx raddr 172.18.0.9 rport 9 tcptype active","sdpMLineIndex":0,"sdpMid":"0"},"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734061491","type":"IceCandidateFound"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:6 2 TCP 843055358 145.40.192.150 37547 typ srflx raddr 172.18.0.9 rport 37547 tcptype passive","sdpMLineIndex":0,"sdpMid":"0"},"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734061492","type":"IceCandidateFound"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:7 2 UDP 505413886 <turn_ip> 38054 typ relay raddr 172.18.0.9 rport 47196","sdpMLineIndex":0,"sdpMid":"0"},"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734061492","type":"IceCandidateFound"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734061505","type":"IceGatheringDone"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceGatheringDone"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
newSelectedPairFull:<kmswebrtcendpoint74> New candidate pair selected, local: 'candidate:4 1 UDP 1679819007 145.40.192.150 41393 typ srflx raddr 172.18.0.9 rport 41393', remote: 'candidate:447376249 1 UDP 41885951 <turn_ip> 38698 typ relay', stream_id: '1', component_id: 1
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidatePair":{"__module__":"kurento","__type__":"IceCandidatePair","componentId":1,"localCandidate":"candidate:4 1 UDP 1679819007 145.40.192.150 41393 typ srflx raddr 172.18.0.9 rport 41393","remoteCandidate":"candidate:447376249 1 UDP 41885951 <turn_ip> 38698 typ relay","streamId":"1"},"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734061808","type":"NewCandidatePairSelected"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"NewCandidatePairSelected"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"componentId":1,"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","state":"CONNECTED","streamId":1,"tags":[],"timestampMillis":"1685734061808","type":"IceComponentStateChanged"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceComponentStateChanged"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"componentId":1,"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","state":"READY","streamId":1,"tags":[],"timestampMillis":"1685734061808","type":"IceComponentStateChanged"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint","type":"IceComponentStateChanged"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
updateConnectionState:<kmswebrtcendpoint74> ConnectionState changed to 'CONNECTED'
mediaFlowOutStateChanged:<kmswebrtcendpoint74> MediaFlowOutStateChanged: FLOWING, pad: 'default', type: 'video'
updateMediaState:<kmswebrtcendpoint74> MediaState changed to 'CONNECTED'
processMessage: Message: {"jsonrpc":"2.0","method":"invoke","params":{"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/de35eeb6-54e7-4a4a-a41d-a1980035dec5_kurento.RecorderEndpoint","operation":"record","sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e"},"id":16}
onMediaTranscodingStateChanged:<kmswebrtcendpoint74> MediaTranscodingStateChanged: NOT TRANSCODING, bin: 'kmswebrtcendpoint74_kmsagnosticbin2-50', type: 'video'
processMessage: Response: {"id":16,"jsonrpc":"2.0","result":{"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e","value":null}}
mediaFlowInStateChanged:<kmsrecorderendpoint74> MediaFlowInStateChanged: FLOWING, pad: 'default', type: 'video'
onStateChanged:<kmsrecorderendpoint74> State changed to Recording
processMessage: Message: {"jsonrpc":"2.0","method":"invoke","params":{"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/de35eeb6-54e7-4a4a-a41d-a1980035dec5_kurento.RecorderEndpoint","operation":"stopAndWait","sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e"},"id":17}
onStateChanged:<kmsrecorderendpoint74> State changed to Stopped
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"source":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/de35eeb6-54e7-4a4a-a41d-a1980035dec5_kurento.RecorderEndpoint","tags":[],"timestampMillis":"1685734066296","type":"Stopped"},"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/de35eeb6-54e7-4a4a-a41d-a1980035dec5_kurento.RecorderEndpoint","type":"Stopped"}}}, sessionId: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
processMessage: Response: {"id":17,"jsonrpc":"2.0","result":{"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e","value":null}}
processMessage: Message: {"jsonrpc":"2.0","method":"release","params":{"object":"cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline","sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e"},"id":18}
disconnect: Disconnecting cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint - cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/de35eeb6-54e7-4a4a-a41d-a1980035dec5_kurento.RecorderEndpoint params AUDIO default default
processMessage: Response: {"id":18,"jsonrpc":"2.0","result":{"sessionId":"14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e"}}
disconnect: Disconnecting cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint - cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/de35eeb6-54e7-4a4a-a41d-a1980035dec5_kurento.RecorderEndpoint params DATA default default
disconnect: Disconnecting cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint - cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/de35eeb6-54e7-4a4a-a41d-a1980035dec5_kurento.RecorderEndpoint params VIDEO default default
async_delete: Destroying WebRtcEndpoint -> cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/57542292-b7da-4645-be79-8e41d0f9ccf6_kurento.WebRtcEndpoint
async_delete: Destroying RecorderEndpoint -> cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline/de35eeb6-54e7-4a4a-a41d-a1980035dec5_kurento.RecorderEndpoint
async_delete: Destroying MediaPipeline -> cf085b5b-4702-4383-8b59-dd53e68cd84a_kurento.MediaPipeline
Recording not ok
processMessage: Message: {"jsonrpc":"2.0","method":"ping","params":{"interval":5000},"id":0}
ping: WebSocket Ping/Pong
processMessage: Response: {"id":0,"jsonrpc":"2.0","result":{"value":"pong"}}
processMessage: Message: {"jsonrpc":"2.0","method":"describe","params":{"object":"manager_ServerManager"},"id":1}
processMessage: Response: {"id":1,"jsonrpc":"2.0","result":{"hierarchy":["kurento.MediaObject"],"qualifiedType":"kurento.ServerManager","sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd","type":"ServerManager"}}
storeConnection: Associating session 6cc82c78-8eeb-4630-a389-e938126b84fd
closeHandler: Connection closed
closeHandler: Erasing connection associated with: 14dc8e9b-ea2a-4f97-8ea9-2b18b2609b5e
processMessage: Message: {"jsonrpc":"2.0","method":"invoke","params":{"object":"manager_ServerManager","operation":"getInfo","sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd"},"id":2}
processMessage: Response: {"id":2,"jsonrpc":"2.0","result":{"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd","value":{"__module__":"kurento","__type__":"ServerInfo","capabilities":["transactions"],"modules":[{"__module__":"kurento","__type__":"ModuleInfo","factories":["ChromaFilter"],"generationTime":"Apr 27 2023 10:14:27","name":"chroma","version":"7.0.1"},{"__module__":"kurento","__type__":"ModuleInfo","factories":["HubPort","MediaPipeline","PassThrough"],"generationTime":"Apr 27 2023 09:57:38","name":"core","version":"7.0.1"},{"__module__":"kurento","__type__":"ModuleInfo","factories":["KmsDetectFaces","KmsSendData","KmsShowData","KmsShowFaces"],"generationTime":"Apr 27 2023 10:15:03","name":"datachannelexample","version":"7.0.1"},{"__module__":"kurento","__type__":"ModuleInfo","factories":["AlphaBlending","Composite","Dispatcher","DispatcherOneToMany","HttpPostEndpoint","Mixer","PlayerEndpoint","RecorderEndpoint","RtpEndpoint","WebRtcEndpoint"],"generationTime":"Apr 27 2023 10:04:13","name":"elements","version":"7.0.1"},{"__module__":"kurento","__type__":"ModuleInfo","factories":["FaceOverlayFilter","GStreamerFilter","ImageOverlayFilter","ZBarFilter"],"generationTime":"Apr 27 2023 10:10:39","name":"filters","version":"7.0.1"}],"type":"KMS","version":"7.0.1"}}}
processMessage: Message: {"jsonrpc":"2.0","method":"create","params":{"type":"MediaPipeline","properties":{},"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd"},"id":3}
processMessage: Response: {"id":3,"jsonrpc":"2.0","result":{"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd","value":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline"}}
processMessage: Message: {"jsonrpc":"2.0","method":"create","params":{"type":"RecorderEndpoint","constructorParams":{"mediaPipeline":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline","mediaProfile":"MP4_VIDEO_ONLY","uri":"file:///tmp/video/test_109401993c.mp4"},"properties":{},"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd"},"id":4}
RecorderEndpointImpl: Set MP4 VIDEO ONLY profile
processMessage: Response: {"id":4,"jsonrpc":"2.0","result":{"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd","value":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/f7636818-b5c4-4f1f-8c12-7bae93ab0a4d_kurento.RecorderEndpoint"}}
processMessage: Message: {"jsonrpc":"2.0","method":"create","params":{"type":"WebRtcEndpoint","constructorParams":{"mediaPipeline":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline"},"properties":{},"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd"},"id":5}
BaseRtpEndpointImpl: No predefined RTP MTU found in config; using default
WebRtcEndpointImpl: No QOS-DSCP value set
remove_not_supported_codecs_from_array:<kmswebrtcendpoint75> Removing not supported codec 'AMR/8000'
WebRtcEndpointImpl: No predefined external IPv4 address found in config; you can set one or default to STUN automatic discovery
WebRtcEndpointImpl: No predefined external IPv6 address found in config; you can set one or default to STUN automatic discovery
WebRtcEndpointImpl: No predefined network interfaces found in config; you can set one or default to ICE automatic discovery
WebRtcEndpointImpl: ICE-TCP option not found in config; you can set it or default to 1 (TRUE)
WebRtcEndpointImpl: STUN port not found in config; using default value: 3478
WebRtcEndpointImpl: STUN server not found in config
WebRtcEndpointImpl: Predefined TURN relay server: <user:password>@<turn_ip>:3478
processMessage: Response: {"id":5,"jsonrpc":"2.0","result":{"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd","value":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint"}}
processMessage: Message: {"jsonrpc":"2.0","method":"invoke","params":{"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","operation":"addIceCandidate","operationParams":{"candidate":{"candidate":"candidate:447376249 1 udp 41885951 <turn_ip> 35090 typ relay raddr 0.0.0.0 rport 0 generation 0 ufrag /t8f network-id 1 network-cost 10","sdpMid":"0","sdpMLineIndex":0,"__module__":"kurento","__type__":"IceCandidate"}},"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd"},"id":6}
processMessage: Response: {"id":6,"jsonrpc":"2.0","result":{"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd","value":null}}
processMessage: Message: {"jsonrpc":"2.0","method":"invoke","params":{"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","operation":"addIceCandidate","operationParams":{"candidate":{"candidate":"candidate:1412011913 1 udp 25108479 <turn_ip> 39961 typ relay raddr 0.0.0.0 rport 0 generation 0 ufrag /t8f network-id 1 network-cost 10","sdpMid":"0","sdpMLineIndex":0,"__module__":"kurento","__type__":"IceCandidate"}},"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd"},"id":7}
processMessage: Response: {"id":7,"jsonrpc":"2.0","result":{"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd","value":null}}
processMessage: Message: {"jsonrpc":"2.0","method":"subscribe","params":{"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceCandidateFound","sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd"},"id":8}
processMessage: Response: {"id":8,"jsonrpc":"2.0","result":{"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd","value":"3290a1a1-edc2-4b26-b662-62fa7c040693"}}
processMessage: Message: {"jsonrpc":"2.0","method":"subscribe","params":{"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceComponentStateChanged","sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd"},"id":9}
processMessage: Response: {"id":9,"jsonrpc":"2.0","result":{"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd","value":"ea1e0e2c-546d-419e-b41d-24d0df7b0b5e"}}
processMessage: Message: {"jsonrpc":"2.0","method":"subscribe","params":{"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"NewCandidatePairSelected","sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd"},"id":10}
processMessage: Response: {"id":10,"jsonrpc":"2.0","result":{"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd","value":"179f1207-3700-4e51-bf26-f55ad9590ca9"}}
processMessage: Message: {"jsonrpc":"2.0","method":"subscribe","params":{"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceGatheringDone","sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd"},"id":11}
processMessage: Response: {"id":11,"jsonrpc":"2.0","result":{"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd","value":"61cec49b-cd1b-4169-b292-02893141102b"}}
processMessage: Message: {"jsonrpc":"2.0","method":"subscribe","params":{"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/f7636818-b5c4-4f1f-8c12-7bae93ab0a4d_kurento.RecorderEndpoint","type":"Stopped","sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd"},"id":12}
processMessage: Response: {"id":12,"jsonrpc":"2.0","result":{"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd","value":"e0106f20-029b-47f1-b90d-e3b796445933"}}
processMessage: Message: {"jsonrpc":"2.0","method":"invoke","params":{"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","operation":"processOffer","operationParams":{"offer":"v=0\r\no=- 8235386319982108831 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS fa228085-5b61-4963-914f-37b84c7463a1\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 125 104 124 106 107 108 109 127\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:/t8f\r\na=ice-pwd:qSCEQB8gHGmr5udHW78tIMiy\r\na=ice-options:trickle\r\na=fingerprint:sha-256 96:87:CB:9D:65:D6:87:08:7C:A0:66:6D:FD:0D:4F:23:D3:34:D1:C5:B0:93:22:DB:7D:14:75:AE:38:CE:F7:41\r\na=setup:actpass\r\na=mid:0\r\na=extmap:1 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 urn:3gpp:video-orientation\r\na=extmap:4 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:5 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/video-content-type\r\na=extmap:7 http://www.webrtc.org/experiments/rtp-hdrext/video-timing\r\na=extmap:8 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=extmap:9 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:10 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:11 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendonly\r\na=msid:fa228085-5b61-4963-914f-37b84c7463a1 d6f174bd-0959-4f3c-a242-84aae84af0c7\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 H264/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=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640c1f\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 H264/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 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\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=0;profile-level-id=640c1f\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=42e01f\r\na=rtpmap:125 rtx/90000\r\na=fmtp:125 apt=102\r\na=rtpmap:104 VP8/90000\r\na=rtcp-fb:104 goog-remb\r\na=rtcp-fb:104 transport-cc\r\na=rtcp-fb:104 ccm fir\r\na=rtcp-fb:104 nack\r\na=rtcp-fb:104 nack pli\r\na=rtpmap:124 rtx/90000\r\na=fmtp:124 apt=104\r\na=rtpmap:106 VP9/90000\r\na=rtcp-fb:106 goog-remb\r\na=rtcp-fb:106 transport-cc\r\na=rtcp-fb:106 ccm fir\r\na=rtcp-fb:106 nack\r\na=rtcp-fb:106 nack pli\r\na=fmtp:106 profile-id=0\r\na=rtpmap:107 rtx/90000\r\na=fmtp:107 apt=106\r\na=rtpmap:108 red/90000\r\na=rtpmap:109 rtx/90000\r\na=fmtp:109 apt=108\r\na=rtpmap:127 ulpfec/90000\r\na=ssrc-group:FID 1896747095 1760720205\r\na=ssrc:1896747095 cname:KPVTRk48qsn/9nww\r\na=ssrc:1896747095 msid:fa228085-5b61-4963-914f-37b84c7463a1 d6f174bd-0959-4f3c-a242-84aae84af0c7\r\na=ssrc:1896747095 mslabel:fa228085-5b61-4963-914f-37b84c7463a1\r\na=ssrc:1896747095 label:d6f174bd-0959-4f3c-a242-84aae84af0c7\r\na=ssrc:1760720205 cname:KPVTRk48qsn/9nww\r\na=ssrc:1760720205 msid:fa228085-5b61-4963-914f-37b84c7463a1 d6f174bd-0959-4f3c-a242-84aae84af0c7\r\na=ssrc:1760720205 mslabel:fa228085-5b61-4963-914f-37b84c7463a1\r\na=ssrc:1760720205 label:d6f174bd-0959-4f3c-a242-84aae84af0c7\r\n"},"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd"},"id":13}
processMessage: Response: {"id":13,"jsonrpc":"2.0","result":{"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd","value":"v=0\r\no=- 3894722872 3894722872 IN IP4 0.0.0.0\r\ns=Kurento Media Server\r\nc=IN IP4 0.0.0.0\r\nt=0 0\r\na=extmap-allow-mixed\r\na=msid-semantic: WMS fa228085-5b61-4963-914f-37b84c7463a1\r\na=group:BUNDLE 0\r\nm=video 1 UDP/TLS/RTP/SAVPF 96 98 100 102 104\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=recvonly\r\na=mid:0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=rtpmap:96 H264/90000\r\na=rtpmap:98 H264/90000\r\na=rtpmap:100 H264/90000\r\na=rtpmap:102 H264/90000\r\na=rtpmap:104 VP8/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=rtcp-fb:100 goog-remb\r\na=rtcp-fb:100 ccm fir\r\na=rtcp-fb:100 nack\r\na=rtcp-fb:100 nack pli\r\na=rtcp-fb:102 goog-remb\r\na=rtcp-fb:102 ccm fir\r\na=rtcp-fb:102 nack\r\na=rtcp-fb:102 nack pli\r\na=rtcp-fb:104 goog-remb\r\na=rtcp-fb:104 ccm fir\r\na=rtcp-fb:104 nack\r\na=rtcp-fb:104 nack pli\r\na=setup:active\r\na=rtcp-mux\r\na=fmtp:96 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640c1f\r\na=fmtp:98 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=fmtp:100 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=640c1f\r\na=fmtp:102 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f\r\na=ssrc:3897165351 cname:user2570407384@host-3ebb7e04\r\na=ice-ufrag:Hma6\r\na=ice-pwd:PAL5VW9fZ8nUxmK/pspe5y\r\na=fingerprint:sha-256 CF:F6:5B:BF:07:EE:A2:CE:7B:9A:89:DC:99:7A:CA:70:8E:33:87:61:78:0C:87:9E:96:3B:30:03:E7:11:83:69\r\n"}}
processMessage: Message: {"jsonrpc":"2.0","method":"invoke","params":{"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","operation":"connect","operationParams":{"sink":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/f7636818-b5c4-4f1f-8c12-7bae93ab0a4d_kurento.RecorderEndpoint"},"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd"},"id":14}
connect: Connecting 7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint -> 7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/f7636818-b5c4-4f1f-8c12-7bae93ab0a4d_kurento.RecorderEndpoint params AUDIO default default
connect: Connecting 7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint -> 7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/f7636818-b5c4-4f1f-8c12-7bae93ab0a4d_kurento.RecorderEndpoint params VIDEO default default
connect: Connecting 7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint -> 7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/f7636818-b5c4-4f1f-8c12-7bae93ab0a4d_kurento.RecorderEndpoint params DATA default default
processMessage: Response: {"id":14,"jsonrpc":"2.0","result":{"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd","value":null}}
processMessage: Message: {"jsonrpc":"2.0","method":"invoke","params":{"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","operation":"gatherCandidates","sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd"},"id":15}
processMessage: Response: {"id":15,"jsonrpc":"2.0","result":{"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd","value":null}}
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:1 1 UDP 2015363327 172.18.0.9 28542 typ host","sdpMLineIndex":0,"sdpMid":"0"},"source":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734072506","type":"IceCandidateFound"},"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 6cc82c78-8eeb-4630-a389-e938126b84fd
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:2 1 TCP 1015021823 172.18.0.9 9 typ host tcptype active","sdpMLineIndex":0,"sdpMid":"0"},"source":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734072506","type":"IceCandidateFound"},"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 6cc82c78-8eeb-4630-a389-e938126b84fd
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:3 1 TCP 1010827519 172.18.0.9 18110 typ host tcptype passive","sdpMLineIndex":0,"sdpMid":"0"},"source":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734072506","type":"IceCandidateFound"},"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 6cc82c78-8eeb-4630-a389-e938126b84fd
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:1 2 UDP 2015363326 172.18.0.9 17738 typ host","sdpMLineIndex":0,"sdpMid":"0"},"source":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734072506","type":"IceCandidateFound"},"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 6cc82c78-8eeb-4630-a389-e938126b84fd
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:3 2 TCP 1010827518 172.18.0.9 41214 typ host tcptype passive","sdpMLineIndex":0,"sdpMid":"0"},"source":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734072506","type":"IceCandidateFound"},"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 6cc82c78-8eeb-4630-a389-e938126b84fd
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:2 2 TCP 1015021822 172.18.0.9 9 typ host tcptype active","sdpMLineIndex":0,"sdpMid":"0"},"source":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734072506","type":"IceCandidateFound"},"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 6cc82c78-8eeb-4630-a389-e938126b84fd
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"componentId":1,"source":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","state":"CONNECTING","streamId":1,"tags":[],"timestampMillis":"1685734072506","type":"IceComponentStateChanged"},"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceComponentStateChanged"}}}, sessionId: 6cc82c78-8eeb-4630-a389-e938126b84fd
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"componentId":1,"source":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","state":"GATHERING","streamId":1,"tags":[],"timestampMillis":"1685734072506","type":"IceComponentStateChanged"},"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceComponentStateChanged"}}}, sessionId: 6cc82c78-8eeb-4630-a389-e938126b84fd
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:4 1 UDP 1679819007 145.40.192.150 28542 typ srflx raddr 172.18.0.9 rport 28542","sdpMLineIndex":0,"sdpMid":"0"},"source":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734072536","type":"IceCandidateFound"},"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 6cc82c78-8eeb-4630-a389-e938126b84fd
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:5 1 TCP 847249663 145.40.192.150 9 typ srflx raddr 172.18.0.9 rport 9 tcptype active","sdpMLineIndex":0,"sdpMid":"0"},"source":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734072536","type":"IceCandidateFound"},"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 6cc82c78-8eeb-4630-a389-e938126b84fd
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:6 1 TCP 843055359 145.40.192.150 18110 typ srflx raddr 172.18.0.9 rport 18110 tcptype passive","sdpMLineIndex":0,"sdpMid":"0"},"source":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734072536","type":"IceCandidateFound"},"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 6cc82c78-8eeb-4630-a389-e938126b84fd
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:7 1 UDP 505413887 <turn_ip> 34211 typ relay raddr 172.18.0.9 rport 28542","sdpMLineIndex":0,"sdpMid":"0"},"source":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734072536","type":"IceCandidateFound"},"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 6cc82c78-8eeb-4630-a389-e938126b84fd
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"componentId":2,"source":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","state":"GATHERING","streamId":1,"tags":[],"timestampMillis":"1685734072547","type":"IceComponentStateChanged"},"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceComponentStateChanged"}}}, sessionId: 6cc82c78-8eeb-4630-a389-e938126b84fd
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:4 2 UDP 1679819006 145.40.192.150 17738 typ srflx raddr 172.18.0.9 rport 17738","sdpMLineIndex":0,"sdpMid":"0"},"source":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734072575","type":"IceCandidateFound"},"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 6cc82c78-8eeb-4630-a389-e938126b84fd
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:5 2 TCP 847249662 145.40.192.150 9 typ srflx raddr 172.18.0.9 rport 9 tcptype active","sdpMLineIndex":0,"sdpMid":"0"},"source":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734072575","type":"IceCandidateFound"},"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 6cc82c78-8eeb-4630-a389-e938126b84fd
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:7 2 UDP 505413886 <turn_ip> 36543 typ relay raddr 172.18.0.9 rport 17738","sdpMLineIndex":0,"sdpMid":"0"},"source":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734072575","type":"IceCandidateFound"},"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 6cc82c78-8eeb-4630-a389-e938126b84fd
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidate":{"__module__":"kurento","__type__":"IceCandidate","candidate":"candidate:6 2 TCP 843055358 145.40.192.150 41214 typ srflx raddr 172.18.0.9 rport 41214 tcptype passive","sdpMLineIndex":0,"sdpMid":"0"},"source":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734072575","type":"IceCandidateFound"},"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceCandidateFound"}}}, sessionId: 6cc82c78-8eeb-4630-a389-e938126b84fd
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"source":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734072589","type":"IceGatheringDone"},"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceGatheringDone"}}}, sessionId: 6cc82c78-8eeb-4630-a389-e938126b84fd
newSelectedPairFull:<kmswebrtcendpoint75> New candidate pair selected, local: 'candidate:4 1 UDP 1679819007 145.40.192.150 28542 typ srflx raddr 172.18.0.9 rport 28542', remote: 'candidate:447376249 1 UDP 41885951 <turn_ip> 35090 typ relay', stream_id: '1', component_id: 1
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"candidatePair":{"__module__":"kurento","__type__":"IceCandidatePair","componentId":1,"localCandidate":"candidate:4 1 UDP 1679819007 145.40.192.150 28542 typ srflx raddr 172.18.0.9 rport 28542","remoteCandidate":"candidate:447376249 1 UDP 41885951 <turn_ip> 35090 typ relay","streamId":"1"},"source":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","tags":[],"timestampMillis":"1685734072913","type":"NewCandidatePairSelected"},"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"NewCandidatePairSelected"}}}, sessionId: 6cc82c78-8eeb-4630-a389-e938126b84fd
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"componentId":1,"source":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","state":"CONNECTED","streamId":1,"tags":[],"timestampMillis":"1685734072913","type":"IceComponentStateChanged"},"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceComponentStateChanged"}}}, sessionId: 6cc82c78-8eeb-4630-a389-e938126b84fd
sendEvent: Sending event: {"jsonrpc":"2.0","method":"onEvent","params":{"value":{"data":{"componentId":1,"source":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","state":"READY","streamId":1,"tags":[],"timestampMillis":"1685734072914","type":"IceComponentStateChanged"},"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint","type":"IceComponentStateChanged"}}}, sessionId: 6cc82c78-8eeb-4630-a389-e938126b84fd
updateConnectionState:<kmswebrtcendpoint75> ConnectionState changed to 'CONNECTED'
processMessage: Message: {"jsonrpc":"2.0","method":"invoke","params":{"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/f7636818-b5c4-4f1f-8c12-7bae93ab0a4d_kurento.RecorderEndpoint","operation":"record","sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd"},"id":16}
processMessage: Response: {"id":16,"jsonrpc":"2.0","result":{"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd","value":null}}
processMessage: Message: {"jsonrpc":"2.0","method":"invoke","params":{"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/f7636818-b5c4-4f1f-8c12-7bae93ab0a4d_kurento.RecorderEndpoint","operation":"stopAndWait","sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd"},"id":17}
stop:<kmsrecorderendpoint75> Error: Already in state stop
processMessage: Response: {"id":17,"jsonrpc":"2.0","result":{"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd","value":null}}
processMessage: Message: {"jsonrpc":"2.0","method":"release","params":{"object":"7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline","sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd"},"id":18}
processMessage: Response: {"id":18,"jsonrpc":"2.0","result":{"sessionId":"6cc82c78-8eeb-4630-a389-e938126b84fd"}}
disconnect: Disconnecting 7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint - 7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/f7636818-b5c4-4f1f-8c12-7bae93ab0a4d_kurento.RecorderEndpoint params AUDIO default default
disconnect: Disconnecting 7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint - 7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/f7636818-b5c4-4f1f-8c12-7bae93ab0a4d_kurento.RecorderEndpoint params DATA default default
disconnect: Disconnecting 7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint - 7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/f7636818-b5c4-4f1f-8c12-7bae93ab0a4d_kurento.RecorderEndpoint params VIDEO default default
async_delete: Destroying WebRtcEndpoint -> 7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/bf609695-d2de-47df-b2d4-dc71bdb14975_kurento.WebRtcEndpoint
async_delete: Destroying RecorderEndpoint -> 7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline/f7636818-b5c4-4f1f-8c12-7bae93ab0a4d_kurento.RecorderEndpoint
async_delete: Destroying MediaPipeline -> 7a33e597-fb71-4bcc-8ba8-14b6f3462e55_kurento.MediaPipeline
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all
We are using kurento to record webrtc stream (browser => kurento, with coturn, video only). For most of the devices, this works reliable. With iOS 15 devices, we see that the recording fails repeatedly every third recording (recorded file is empty). In the kurento logs for the failing sessions, the MediaFlowOutStateChanged never changes to FLOWING (see kurento logs below).
The process looks as follows:
I have read some older discussions (e.g. this one), where a similar behavior was observed. In this case, it was related to a Socket.IO encoding issue.
Anybody faced similar issues?
Tested with kurento 6.18.0 and 7.0.1.
kurento logs
Recording OK
Recording not ok
Beta Was this translation helpful? Give feedback.
All reactions