sipwise / rtpengine

The Sipwise media proxy for Kamailio
GNU General Public License v3.0
777 stars 368 forks source link

RTP/SAVPF <-> RTP/AVP bridging #287

Closed mjhubert closed 7 years ago

mjhubert commented 7 years ago

Hi,

We are trying to accomplish communication between a WebRTC agent and a custom agent build with GStreamer running on a Raspberry Pi.

WebRTC <--[RTP/SAVPF]--> RTPEngine <--[RTP/AVP]--> GStreamer

On the WebRTC end have receive the video correctly but on the other end we see nothing or only for a few seconds and then it freezes.

Below is the rtpengine log, is there a problem in our offer/answer?

Thanks!


[1478706947.152157] INFO: [0ca888a72a7e4a2b973889b18f9f32fa]: Received command 'offer' from 10.101.3.73:50001 [1478706947.152157] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa]: Dump for 'offer' from 10.101.3.73:50001: { "DTLS": "off", "ICE": "remove", "call-id": "0ca888a72a7e4a2b973889b18f9f32fa", "command": "offer", "flags": [ ], "from-tag": "DEMOAPP2", "replace": [ "session-connection", "origin" ], "rtcp-mux": [ "demux" ], "sdp": "v=0 o=- 461855608000873732 2 IN IP4 127.0.0.1 s=- t=0 0 a=group:BUNDLE video a=msid-semantic: WMS o7CxCKbS2WNrwT1Vu3EPnCZjHZEUb5Dr2zAn m=video 9 UDP/TLS/RTP/SAVPF 100 101 107 116 117 96 97 99 98 c=IN IP4 0.0.0.0 a=rtcp:9 IN IP4 0.0.0.0 a=ice-ufrag:uNoP a=ice-pwd:ob58QiEWFkPQQ87EcKEd4r1N a=fingerprint:sha-256 40:B5:87:EC:45:CC:55:1B:A8:0B:3B:94:5C:26:DD:BA:26:E2:44:6B:09:2C:AA:0D:44:66:E8:1D:59:2A:BC:4A a=setup:actpass a=mid:video a=extmap:2 urn:ietf:params:rtp-hdrext:toffset a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time a=extmap:4 urn:3gpp:video-orientation a=extmap:6 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay a=sendrecv a=rtcp-mux a=rtcp-rsize a=rtpmap:100 VP8/90000 a=rtcp-fb:100 ccm fir a=rtcp-fb:100 nack a=rtcp-fb:100 nack pli a=rtcp-fb:100 goog-remb a=rtcp-fb:100 transport-cc a=rtpmap:101 VP9/90000 a=rtcp-fb:101 ccm fir a=rtcp-fb:101 nack a=rtcp-fb:101 nack pli a=rtcp-fb:101 goog-remb a=rtcp-fb:101 transport-cc a=rtpmap:107 H264/90000 a=rtcp-fb:107 ccm fir a=rtcp-fb:107 nack a=rtcp-fb:107 nack pli a=rtcp-fb:107 goog-remb a=rtcp-fb:107 transport-cc a=fmtp:107 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f a=rtpmap:116 red/90000 a=rtpmap:117 ulpfec/90000 a=rtpmap:96 rtx/90000 a=fmtp:96 apt=100 a=rtpmap:97 rtx/90000 a=fmtp:97 apt=101 a=rtpmap:99 rtx/90000 a=fmtp:99 apt=107 a=rtpmap:98 rtx/90000 a=fmtp:98 apt=116 a=ssrc-group:FID 2008556486 972716983 a=ssrc:2008556486 cname:xeOtogw3atr0JzVc a=ssrc:2008556486 msid:o7CxCKbS2WNrwT1Vu3EPnCZjHZEUb5Dr2zAn b463aa93-0e80-4d36-abdb-15e2026ca1bf a=ssrc:2008556486 mslabel:o7CxCKbS2WNrwT1Vu3EPnCZjHZEUb5Dr2zAn a=ssrc:2008556486 label:b463aa93-0e80-4d36-abdb-15e2026ca1bf a=ssrc:972716983 cname:xeOtogw3atr0JzVc a=ssrc:972716983 msid:o7CxCKbS2WNrwT1Vu3EPnCZjHZEUb5Dr2zAn b463aa93-0e80-4d36-abdb-15e2026ca1bf a=ssrc:972716983 mslabel:o7CxCKbS2WNrwT1Vu3EPnCZjHZEUb5Dr2zAn a=ssrc:972716983 label:b463aa93-0e80-4d36-abdb-15e2026ca1bf ", "to-tag": "xUS_5Bb4+cIK6yrczjtvIMp8IN2zOlMO7Tvv4hDIQzc=", "transport protocol": "RTP/AVP" } [1478706947.152157] NOTICE: [0ca888a72a7e4a2b973889b18f9f32fa]: Creating new call [1478706947.152157] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa]: set FILLED flag for stream 0.0.0.0:9 [1478706947.152157] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa]: set FILLED flag for stream (null):0 [1478706947.152157] INFO: [0ca888a72a7e4a2b973889b18f9f32fa]: offer time = 0.000618 sec [1478706947.152157] INFO: [0ca888a72a7e4a2b973889b18f9f32fa]: Replying to 'offer' from 10.101.3.73:50001 [1478706947.152157] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa]: Response dump for 'offer' to 10.101.3.73:50001: { "recordings": [ ], "sdp": "v=0 o=- 461855608000873732 2 IN IP4 10.101.3.38 s=- t=0 0 a=msid-semantic: WMS o7CxCKbS2WNrwT1Vu3EPnCZjHZEUb5Dr2zAn m=video 8670 RTP/AVP 100 101 107 116 117 96 97 99 98 c=IN IP4 10.101.3.38 a=rtcp-rsize a=rtpmap:100 VP8/90000 a=rtcp-fb:100 ccm fir a=rtcp-fb:100 nack a=rtcp-fb:100 nack pli a=rtcp-fb:100 goog-remb a=rtcp-fb:100 transport-cc a=rtpmap:101 VP9/90000 a=rtcp-fb:101 ccm fir a=rtcp-fb:101 nack a=rtcp-fb:101 nack pli a=rtcp-fb:101 goog-remb a=rtcp-fb:101 transport-cc a=rtpmap:107 H264/90000 a=rtcp-fb:107 ccm fir a=rtcp-fb:107 nack a=rtcp-fb:107 nack pli a=rtcp-fb:107 goog-remb a=rtcp-fb:107 transport-cc a=fmtp:107 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f a=rtpmap:116 red/90000 a=rtpmap:117 ulpfec/90000 a=rtpmap:96 rtx/90000 a=fmtp:96 apt=100 a=rtpmap:97 rtx/90000 a=fmtp:97 apt=101 a=rtpmap:99 rtx/90000 a=fmtp:99 apt=107 a=rtpmap:98 rtx/90000 a=fmtp:98 apt=116 a=ssrc-group:FID 2008556486 972716983 a=ssrc:2008556486 cname:xeOtogw3atr0JzVc a=ssrc:2008556486 msid:o7CxCKbS2WNrwT1Vu3EPnCZjHZEUb5Dr2zAn b463aa93-0e80-4d36-abdb-15e2026ca1bf a=ssrc:2008556486 mslabel:o7CxCKbS2WNrwT1Vu3EPnCZjHZEUb5Dr2zAn a=ssrc:2008556486 label:b463aa93-0e80-4d36-abdb-15e2026ca1bf a=ssrc:972716983 cname:xeOtogw3atr0JzVc a=ssrc:972716983 msid:o7CxCKbS2WNrwT1Vu3EPnCZjHZEUb5Dr2zAn b463aa93-0e80-4d36-abdb-15e2026ca1bf a=ssrc:972716983 mslabel:o7CxCKbS2WNrwT1Vu3EPnCZjHZEUb5Dr2zAn a=ssrc:972716983 label:b463aa93-0e80-4d36-abdb-15e2026ca1bf a=sendrecv a=rtcp:8671 ", "result": "ok" } [1478706947.206352] INFO: [0ca888a72a7e4a2b973889b18f9f32fa]: Received command 'answer' from 10.101.3.73:50001 [1478706947.206352] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa]: Dump for 'answer' from 10.101.3.73:50001: { "ICE": "force", "call-id": "0ca888a72a7e4a2b973889b18f9f32fa", "command": "answer", "flags": [ ], "from-tag": "DEMOAPP2", "rtcp-mux": [ "accept" ], "sdp": "v=0 o=- 461855608000873732 3 IN IP4 10.101.3.12 s=- t=0 0 m=video 21000 RTP/AVP 107 c=IN IP4 10.101.3.12 a=rtpmap:107 H264/90000 ", "to-tag": "xUS_5Bb4+cIK6yrczjtvIMp8IN2zOlMO7Tvv4hDIQzc=", "transport protocol": "UDP/TLS/RTP/SAVP" } [1478706947.206352] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa]: set FILLED flag for stream 10.101.3.12:21000 [1478706947.206352] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa]: set FILLED flag for stream 10.101.3.12:21001 [1478706947.206352] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa]: Shutting down ICE agent (nothing to do) [1478706947.206352] INFO: [0ca888a72a7e4a2b973889b18f9f32fa]: answer time = 0.000057 sec [1478706947.206352] INFO: [0ca888a72a7e4a2b973889b18f9f32fa]: Replying to 'answer' from 10.101.3.73:50001 [1478706947.206352] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa]: Response dump for 'answer' to 10.101.3.73:50001: { "recordings": [ ], "sdp": "v=0 o=- 461855608000873732 3 IN IP4 10.101.3.12 s=- t=0 0 m=video 8686 UDP/TLS/RTP/SAVP 107 c=IN IP4 10.101.3.38 a=rtpmap:107 H264/90000 a=sendrecv a=rtcp:8686 a=rtcp-mux a=setup:active a=fingerprint:sha-1 FB:68:DB:85:D3:FD:61:9D:0A:FF:7D:10:4E:B6:9E:FD:6B:88:62:7C a=ice-ufrag:ldthX8O0 a=ice-pwd:EyYqvpKl3VpSklzXPtlfKcf3nH a=candidate:o84ayR4FZyzv2G7Z 1 UDP 2130706431 10.101.3.38 8686 typ host ", "result": "ok" } [1478706947.225779] NOTICE: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Unknown STUN attribute: 0xc057 [1478706947.225779] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Created candidate pair o84ayR4FZyzv2G7Z:4966bf0334495f0:1 between 10.101.3.38 and 10.101.3.73:61865, type prflx [1478706947.225779] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Triggering check for o84ayR4FZyzv2G7Z:4966bf0334495f0:1 [1478706947.225779] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: ICE pair o84ayR4FZyzv2G7Z:4966bf0334495f0:1 has been nominated by peer [1478706947.225779] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: ICE not completed yet [1478706947.225779] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Successful STUN binding request from 10.101.3.73:61865 [1478706947.225838] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa/DEMOAPP2/1]: Sending ICE/STUN request for candidate pair o84ayR4FZyzv2G7Z:4966bf0334495f0:1 from 10.101.3.38 to 10.101.3.73:61865 [1478706947.227616] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Received ICE/STUN response code 0 for candidate pair o84ayR4FZyzv2G7Z:4966bf0334495f0:1 from 10.101.3.73:61865 to 10.101.3.38 [1478706947.227616] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Setting ICE candidate pair o84ayR4FZyzv2G7Z:4966bf0334495f0:1 as succeeded [1478706947.227616] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Best succeeded ICE pair with all components is o84ayR4FZyzv2G7Z:4966bf0334495f0:1 [1478706947.227616] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: ICE completed, using pair o84ayR4FZyzv2G7Z:4966bf0334495f0:1 [1478706947.227616] INFO: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: ICE negotiated: peer for component 1 is 10.101.3.73:61865 [1478706947.227616] INFO: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: ICE negotiated: local interface 10.101.3.38 [1478706947.227616] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Sending DTLS packet [1478706947.233905] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Processing incoming DTLS packet [1478706947.233905] INFO: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: DTLS: Peer certificate accepted [1478706947.233905] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Sending DTLS packet [1478706947.249181] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Processing incoming DTLS packet [1478706947.249181] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: DTLS handshake successful [1478706947.249181] INFO: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: DTLS-SRTP successfully negotiated [1478706947.249181] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: SRTP keys, incoming: [1478706947.249181] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: --- AES_CM_128_HMAC_SHA1_80 key V7HNLKKEt3IBAhz6doYQnQ== salt ozIR6ej+PQQNqJJ2BX8= [1478706947.249181] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: SRTP keys, outgoing: [1478706947.249181] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: --- AES_CM_128_HMAC_SHA1_80 key TZdZw5u7ADwGqgya93MBuQ== salt Bh/UHt9p+MD8YiLKxUg= [1478706947.249181] INFO: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: DTLS-SRTP successfully negotiated [1478706947.249181] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: SRTP keys, incoming: [1478706947.249181] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: --- AES_CM_128_HMAC_SHA1_80 key V7HNLKKEt3IBAhz6doYQnQ== salt ozIR6ej+PQQNqJJ2BX8= [1478706947.249181] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: SRTP keys, outgoing: [1478706947.249181] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: --- AES_CM_128_HMAC_SHA1_80 key TZdZw5u7ADwGqgya93MBuQ== salt Bh/UHt9p+MD8YiLKxUg= [1478706947.275442] NOTICE: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Unknown STUN attribute: 0xc057 [1478706947.275442] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Successful STUN binding request from 10.101.3.73:61865 [1478706947.324462] NOTICE: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Unknown STUN attribute: 0xc057 [1478706947.324462] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Successful STUN binding request from 10.101.3.73:61865 [1478706948.377290] NOTICE: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Unknown STUN attribute: 0xc057 [1478706948.377290] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Successful STUN binding request from 10.101.3.73:61865 [1478706949.379631] NOTICE: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Unknown STUN attribute: 0xc057 [1478706949.379631] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Successful STUN binding request from 10.101.3.73:61865 [1478706951.000599] INFO: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Confirmed peer address as 10.101.3.73:61865 [1478706951.025558] INFO: [0ca888a72a7e4a2b973889b18f9f32fa port 8670]: Confirmed peer address as 10.101.3.12:21000 [1478706951.892123] NOTICE: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Unknown STUN attribute: 0xc057 [1478706951.892123] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Successful STUN binding request from 10.101.3.73:61865 [1478706954.400823] NOTICE: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Unknown STUN attribute: 0xc057 [1478706954.400823] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Successful STUN binding request from 10.101.3.73:61865 [1478706956.909821] NOTICE: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Unknown STUN attribute: 0xc057 [1478706956.909821] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Successful STUN binding request from 10.101.3.73:61865 [1478706959.418471] NOTICE: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Unknown STUN attribute: 0xc057 [1478706959.418471] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Successful STUN binding request from 10.101.3.73:61865 [1478706961.926670] NOTICE: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Unknown STUN attribute: 0xc057 [1478706961.926670] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Successful STUN binding request from 10.101.3.73:61865 [1478706964.434421] NOTICE: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Unknown STUN attribute: 0xc057 [1478706964.434421] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Successful STUN binding request from 10.101.3.73:61865 [1478706966.938727] NOTICE: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Unknown STUN attribute: 0xc057 [1478706966.938727] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Successful STUN binding request from 10.101.3.73:61865 [1478706969.444630] NOTICE: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Unknown STUN attribute: 0xc057 [1478706969.444630] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Successful STUN binding request from 10.101.3.73:61865 [1478706971.951434] NOTICE: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Unknown STUN attribute: 0xc057 [1478706971.951434] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Successful STUN binding request from 10.101.3.73:61865 [1478706973.000056] INFO: [4f9dd82244ef493e84a74cc1b2c8bb07]: Call branch 'xUS_5Bb4+cIK6yrczjtvIMp8IN2zOlMO7Tvv4hDIQzc=' (via-branch '') deleted, no more branches remaining [1478706973.000056] INFO: [4f9dd82244ef493e84a74cc1b2c8bb07]: Final packet stats: [1478706973.000056] INFO: [4f9dd82244ef493e84a74cc1b2c8bb07]: --- Tag 'DEMOAPP2', created 1:09 ago for branch '', in dialogue with 'xUS_5Bb4+cIK6yrczjtvIMp8IN2zOlMO7Tvv4hDIQzc=' [1478706973.000056] INFO: [4f9dd82244ef493e84a74cc1b2c8bb07]: ------ Media #1 (video over UDP/TLS/RTP/SAVP) using H264/90000 [1478706973.000056] INFO: [4f9dd82244ef493e84a74cc1b2c8bb07]: --------- Port 10.101.3.38:8654 <> 10.101.3.73:54336, 1506 p, 1317313 b, 0 e, 1478706940 last_packet [1478706973.000056] INFO: [4f9dd82244ef493e84a74cc1b2c8bb07]: --- Tag 'xUS_5Bb4+cIK6yrczjtvIMp8IN2zOlMO7Tvv4hDIQzc=', created 1:09 ago for branch '', in dialogue with 'DEMOAPP2' [1478706973.000056] INFO: [4f9dd82244ef493e84a74cc1b2c8bb07]: ------ Media #1 (video over RTP/AVP) using H264/90000 [1478706973.000056] INFO: [4f9dd82244ef493e84a74cc1b2c8bb07]: --------- Port 10.101.3.38:8638 <> 10.101.3.12:21000, 6882 p, 9033990 b, 0 e, 1478706943 last_packet [1478706973.000056] INFO: [4f9dd82244ef493e84a74cc1b2c8bb07]: --------- Port 10.101.3.38:8639 <> 10.101.3.12:21001 (RTCP), 0 p, 0 b, 0 e, 1478706904 last_packet [1478706973.000056] DEBUG: [4f9dd82244ef493e84a74cc1b2c8bb07]: Sending DTLS packet [1478706974.460182] NOTICE: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Unknown STUN attribute: 0xc057 [1478706974.460182] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Successful STUN binding request from 10.101.3.73:61865 [1478706976.967433] NOTICE: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Unknown STUN attribute: 0xc057 [1478706976.967433] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Successful STUN binding request from 10.101.3.73:61865 [1478706979.480025] NOTICE: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Unknown STUN attribute: 0xc057 [1478706979.480025] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Successful STUN binding request from 10.101.3.73:61865 [1478706981.985878] NOTICE: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Unknown STUN attribute: 0xc057 [1478706981.985878] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Successful STUN binding request from 10.101.3.73:61865 [1478706984.493328] NOTICE: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Unknown STUN attribute: 0xc057 [1478706984.493328] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Successful STUN binding request from 10.101.3.73:61865 [1478706986.998185] NOTICE: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Unknown STUN attribute: 0xc057 [1478706986.998185] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa port 8686]: Successful STUN binding request from 10.101.3.73:61865 [1478706988.609566] INFO: [0ca888a72a7e4a2b973889b18f9f32fa]: Received command 'delete' from 10.101.3.73:50001 [1478706988.609566] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa]: Dump for 'delete' from 10.101.3.73:50001: { "call-id": "0ca888a72a7e4a2b973889b18f9f32fa", "command": "delete", "from-tag": "DEMOAPP2", "to-tag": "xUS_5Bb4+cIK6yrczjtvIMp8IN2zOlMO7Tvv4hDIQzc=" } [1478706988.609566] INFO: [0ca888a72a7e4a2b973889b18f9f32fa]: Scheduling deletion of call branch 'xUS_5Bb4+cIK6yrczjtvIMp8IN2zOlMO7Tvv4hDIQzc=' (via-branch '') in 30 seconds [1478706988.609566] INFO: [0ca888a72a7e4a2b973889b18f9f32fa]: delete time = 0.000088 sec [1478706988.609566] INFO: [0ca888a72a7e4a2b973889b18f9f32fa]: Replying to 'delete' from 10.101.3.73:50001 [1478706988.609566] DEBUG: [0ca888a72a7e4a2b973889b18f9f32fa]: Response dump for 'delete' to 10.101.3.73:50001: { "created": 1478706947, "last signal": 1478706947, "tags": { "xUS_5Bb4+cIK6yrczjtvIMp8IN2zOlMO7Tvv4hDIQzc=": { "tag": "xUS_5Bb4+cIK6yrczjtvIMp8IN2zOlMO7Tvv4hDIQzc=", "created": 1478706947, "in dialogue with": "DEMOAPP2", "medias": [ { "index": 1, "type": "video", "protocol": "RTP/AVP", "streams": [ { "local port": 8670, "endpoint": { "family": "IPv4", "address": "10.101.3.12", "port": 21000 }, "advertised endpoint": { "family": "IPv4", "address": "10.101.3.12", "port": 21000 }, "last packet": 1478706988, "flags": [ "RTP", "filled", "confirmed", "kernelized", "no kernel support" ], "stats": { "packets": 7381, "bytes": 9661291, "errors": 0 } }, { "local port": 8671, "endpoint": { "family": "IPv4", "address": "10.101.3.12", "port": 21001 }, "advertised endpoint": { "family": "IPv4", "address": "10.101.3.12", "port": 21001 }, "last packet": 1478706947, "flags": [ "RTCP", "filled" ], "stats": { "packets": 0, "bytes": 0, "errors": 0 } } ], "flags": [ "initialized", "send", "recv" ] } ] }, "DEMOAPP2": { "tag": "DEMOAPP2", "created": 1478706947, "in dialogue with": "xUS_5Bb4+cIK6yrczjtvIMp8IN2zOlMO7Tvv4hDIQzc=", "medias": [ { "index": 1, "type": "video", "protocol": "UDP/TLS/RTP/SAVP", "streams": [ { "local port": 8686, "endpoint": { "family": "IPv4", "address": "10.101.3.73", "port": 61865 }, "advertised endpoint": { "family": "IPv4", "address": "0.0.0.0", "port": 9 }, "crypto suite": "AES_CM_128_HMAC_SHA1_80", "last packet": 1478706988, "flags": [ "RTP", "RTCP", "filled", "confirmed", "kernelized", "no kernel support", "DTLS fingerprint verified" ], "stats": { "packets": 1741, "bytes": 1527793, "errors": 0 } }, { "local port": 8687, "endpoint": { }, "advertised endpoint": { }, "crypto suite": "AES_CM_128_HMAC_SHA1_80", "last packet": 1478706947, "flags": [ "RTCP", "fallback RTCP", "filled" ], "stats": { "packets": 0, "bytes": 0, "errors": 0 } } ], "flags": [ "initialized", "send", "recv", "rtcp-mux", "DTLS-SRTP", "DTLS role active", "ICE" ] } ] } }, "totals": { "RTP": { "packets": 9122, "bytes": 11189084, "errors": 0 }, "RTCP": { "packets": 0, "bytes": 0, "errors": 0 } }, "result": "ok" }

rfuchs commented 7 years ago

Can you use RTP/AVPF (ie enable RTCP feedback messages) on the GStreamer side? WebRTC depends on the use of RTCP feedback messages and video generally doesn't work if the other side doesn't send any.

mjhubert commented 7 years ago

Thanks, we will look into that. May be the documentation should be changed: "Arbitrary bridging between any of the supported RTP profiles (RTP/AVP, RTP/AVPF, RTP/SAVP, RTP/SAVPF)"

Because there are combination that will not work, so "arbitrary" bridging is not possible.

rfuchs commented 7 years ago

It's not a problem with the bridging capability. The problem is the video codec relying on the feedback mechanism, and so the RTP profile to be used must include that mechanism obviously.