欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

kurento-tutorial--helloworld学习

程序员文章站 2022-07-14 20:33:57
...

kurento-hello学习

  1. 环境

kurento Version 6.11.1-SNAPSHOT

 

  1. indexjs修改

找到uiStart,添加iceservers配置

function uiStart()

{

  console.log("[start] Create WebRtcPeerSendrecv");

  uiSetState(UI_STARTING);

  showSpinner(uiLocalVideo, uiRemoteVideo);

 

  var iceservers={

    "iceServers":[

      {

        urls:"stun:47.103.142.233:4479"

      },

      {

        urls:["turn:47.103.142.233:4479"],

        username:"kurento",

        credential: "kurento"

      }

    ]

  }

 

  const options = {

    localVideo: uiLocalVideo,

    remoteVideo: uiRemoteVideo,

    mediaConstraints: { audio: true, video: true },

    onicecandidate: (candidate) => sendMessage({

      id: 'ADD_ICE_CANDIDATE',

      candidate: candidate,

    }),

      configuration: iceservers

  };

 

  1. 启动服务

Dkms.url可以在配置文件中配置,也可以作为参数

mvn -U clean spring-boot:run -Dkms.url=ws://47.103.142.233:8888/kurento

 

注意修改kms.url为kurento实际地址

  1. 测试
    1. chrome打开页面

https://localhost:8443

 

    1. 点击开始

kurento-tutorial--helloworld学习

    1. 点击开始

 

 

Page loaded
[start] Create WebRtcPeerSendrecv
[start/WebRtcPeerSendrecv] Created; start local video
[start/WebRtcPeerSendrecv] Generate SDP Offer
[sendMessage] message: {"id":"PROCESS_SDP_OFFER","sdpOffer":"v=0\r\no=- 8255042897299007403 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=msid-semantic: WMS ZXjZNEgn5JAZDMLA8DjsJNfZ4TsVvonzlQxd\r\nm=audio 52176 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126\r\nc=IN IP4 192.168.141.1\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=candidate:392676702 1 udp 2122260223 192.168.141.1 52176 typ host generation 0 network-id 1\r\na=ice-ufrag:5P1K\r\na=ice-pwd:6+6vYeOvT/GPsOk3OXFZzFhd\r\na=ice-options:trickle\r\na=fingerprint:sha-256 BD:93:A5:F5:78:9B:D6:7F:34:7D:4E:52:4F:27:00:2C:F0:D6:04:77:90:0C:5E:77:91:B9:43:D9:FB:4A:07:44\r\na=setup:actpass\r\na=mid:0\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendrecv\r\na=msid:ZXjZNEgn5JAZDMLA8DjsJNfZ4TsVvonzlQxd 2b5da7ce-9073-4cbd-b93a-73f85eb13d15\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:106 CN/32000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:112 telephone-event/32000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\na=ssrc:2044791734 cname:zUvvNS1FDpoTSJ5B\r\na=ssrc:2044791734 msid:ZXjZNEgn5JAZDMLA8DjsJNfZ4TsVvonzlQxd 2b5da7ce-9073-4cbd-b93a-73f85eb13d15\r\na=ssrc:2044791734 mslabel:ZXjZNEgn5JAZDMLA8DjsJNfZ4TsVvonzlQxd\r\na=ssrc:2044791734 label:2b5da7ce-9073-4cbd-b93a-73f85eb13d15\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 122 127 121 125 107 108 109 124 120 123 119 114 115 116\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:5P1K\r\na=ice-pwd:6+6vYeOvT/GPsOk3OXFZzFhd\r\na=ice-options:trickle\r\na=fingerprint:sha-256 BD:93:A5:F5:78:9B:D6:7F:34:7D:4E:52:4F:27:00:2C:F0:D6:04:77:90:0C:5E:77:91:B9:43:D9:FB:4A:07:44\r\na=setup:actpass\r\na=mid:1\r\na=extmap:14 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:13 urn:3gpp:video-orientation\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:11 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://tools.ietf.org/html/draft-ietf-avtext-framemarking-07\r\na=extmap:9 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendrecv\r\na=msid:ZXjZNEgn5JAZDMLA8DjsJNfZ4TsVvonzlQxd 1d07e970-d4ee-49bb-9055-6c9bba5378e3\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=fmtp:98 profile-id=0\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:100 VP9/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 profile-id=2\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=1;profile-level-id=42001f\r\na=rtpmap:122 rtx/90000\r\na=fmtp:122 apt=102\r\na=rtpmap:127 H264/90000\r\na=rtcp-fb:127 goog-remb\r\na=rtcp-fb:127 transport-cc\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=fmtp:127 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42001f\r\na=rtpmap:121 rtx/90000\r\na=fmtp:121 apt=127\r\na=rtpmap:125 H264/90000\r\na=rtcp-fb:125 goog-remb\r\na=rtcp-fb:125 transport-cc\r\na=rtcp-fb:125 ccm fir\r\na=rtcp-fb:125 nack\r\na=rtcp-fb:125 nack pli\r\na=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=rtpmap:107 rtx/90000\r\na=fmtp:107 apt=125\r\na=rtpmap:108 H264/90000\r\na=rtcp-fb:108 goog-remb\r\na=rtcp-fb:108 transport-cc\r\na=rtcp-fb:108 ccm fir\r\na=rtcp-fb:108 nack\r\na=rtcp-fb:108 nack pli\r\na=fmtp:108 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f\r\na=rtpmap:109 rtx/90000\r\na=fmtp:109 apt=108\r\na=rtpmap:124 H264/90000\r\na=rtcp-fb:124 goog-remb\r\na=rtcp-fb:124 transport-cc\r\na=rtcp-fb:124 ccm fir\r\na=rtcp-fb:124 nack\r\na=rtcp-fb:124 nack pli\r\na=fmtp:124 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d0032\r\na=rtpmap:120 rtx/90000\r\na=fmtp:120 apt=124\r\na=rtpmap:123 H264/90000\r\na=rtcp-fb:123 goog-remb\r\na=rtcp-fb:123 transport-cc\r\na=rtcp-fb:123 ccm fir\r\na=rtcp-fb:123 nack\r\na=rtcp-fb:123 nack pli\r\na=fmtp:123 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640032\r\na=rtpmap:119 rtx/90000\r\na=fmtp:119 apt=123\r\na=rtpmap:114 red/90000\r\na=rtpmap:115 rtx/90000\r\na=fmtp:115 apt=114\r\na=rtpmap:116 ulpfec/90000\r\na=ssrc-group:FID 1793084626 1227309811\r\na=ssrc:1793084626 cname:zUvvNS1FDpoTSJ5B\r\na=ssrc:1793084626 msid:ZXjZNEgn5JAZDMLA8DjsJNfZ4TsVvonzlQxd 1d07e970-d4ee-49bb-9055-6c9bba5378e3\r\na=ssrc:1793084626 mslabel:ZXjZNEgn5JAZDMLA8DjsJNfZ4TsVvonzlQxd\r\na=ssrc:1793084626 label:1d07e970-d4ee-49bb-9055-6c9bba5378e3\r\na=ssrc:1227309811 cname:zUvvNS1FDpoTSJ5B\r\na=ssrc:1227309811 msid:ZXjZNEgn5JAZDMLA8DjsJNfZ4TsVvonzlQxd 1d07e970-d4ee-49bb-9055-6c9bba5378e3\r\na=ssrc:1227309811 mslabel:ZXjZNEgn5JAZDMLA8DjsJNfZ4TsVvonzlQxd\r\na=ssrc:1227309811 label:1d07e970-d4ee-49bb-9055-6c9bba5378e3\r\n"}
[start/WebRtcPeerSendrecv/generateOffer] Done!
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:392676702 1 udp 2122260223 192.168.141.1 52176 typ host generation 0 ufrag 5P1K network-id 1","sdpMid":"0","sdpMLineIndex":0}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:4275915795 1 udp 2122194687 192.168.1.189 52177 typ host generation 0 ufrag 5P1K network-id 2 network-cost 10","sdpMid":"0","sdpMLineIndex":0}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:392676702 1 udp 2122260223 192.168.141.1 52178 typ host generation 0 ufrag 5P1K network-id 1","sdpMid":"1","sdpMLineIndex":1}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:4275915795 1 udp 2122194687 192.168.1.189 52179 typ host generation 0 ufrag 5P1K network-id 2 network-cost 10","sdpMid":"1","sdpMLineIndex":1}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2140490407 1 udp 1685987071 211.162.8.192 8826 typ srflx raddr 192.168.1.189 rport 52177 generation 0 ufrag 5P1K network-id 2 network-cost 10","sdpMid":"0","sdpMLineIndex":0}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2140490407 1 udp 1685987071 211.162.8.192 6895 typ srflx raddr 192.168.1.189 rport 52179 generation 0 ufrag 5P1K network-id 2 network-cost 10","sdpMid":"1","sdpMLineIndex":1}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:3774819259 1 udp 41819903 47.103.142.233 56174 typ relay raddr 211.162.8.192 rport 6895 generation 0 ufrag 5P1K network-id 2 network-cost 10","sdpMid":"1","sdpMLineIndex":1}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:3774819259 1 udp 41819903 47.103.142.233 64929 typ relay raddr 211.162.8.192 rport 8826 generation 0 ufrag 5P1K network-id 2 network-cost 10","sdpMid":"0","sdpMLineIndex":0}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:1508129198 1 tcp 1518280447 192.168.141.1 9 typ host tcptype active generation 0 ufrag 5P1K network-id 1","sdpMid":"0","sdpMLineIndex":0}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2958995683 1 tcp 1518214911 192.168.1.189 9 typ host tcptype active generation 0 ufrag 5P1K network-id 2 network-cost 10","sdpMid":"0","sdpMLineIndex":0}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:1508129198 1 tcp 1518280447 192.168.141.1 9 typ host tcptype active generation 0 ufrag 5P1K network-id 1","sdpMid":"1","sdpMLineIndex":1}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2958995683 1 tcp 1518214911 192.168.1.189 9 typ host tcptype active generation 0 ufrag 5P1K network-id 2 network-cost 10","sdpMid":"1","sdpMLineIndex":1}}
[onmessage] Received message: {"id":"PROCESS_SDP_ANSWER","sdpAnswer":"v=0\r\no=- 3792902296 3792902296 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=msid-semantic: WMS ZXjZNEgn5JAZDMLA8DjsJNfZ4TsVvonzlQxd\r\na=group:BUNDLE 0 1\r\nm=audio 1 UDP/TLS/RTP/SAVPF 111 0\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=sendrecv\r\na=mid:0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=rtpmap:111 opus/48000/2\r\na=rtpmap:0 PCMU/8000\r\na=setup:active\r\na=rtcp-mux\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=ssrc:1237360129 cname:aaa@qq.com\r\na=ice-ufrag:9sYx\r\na=ice-pwd:/ux4gbNjpKgCkHQNxF8ApD\r\na=fingerprint:sha-256 14:45:B3:25:C8:45:26:43:99:4C:8A:13:96:A8:89:88:3C:C3:2F:43:BC:C7:B8:14:27:18:C2:80:FE:D8:25:12\r\nm=video 1 UDP/TLS/RTP/SAVPF 96 102 127 125 108 124 123\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=sendrecv\r\na=mid:1\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=rtpmap:96 VP8/90000\r\na=rtpmap:102 H264/90000\r\na=rtpmap:127 H264/90000\r\na=rtpmap:125 H264/90000\r\na=rtpmap:108 H264/90000\r\na=rtpmap:124 H264/90000\r\na=rtpmap:123 H264/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: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:127 goog-remb\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=rtcp-fb:125 goog-remb\r\na=rtcp-fb:125 ccm fir\r\na=rtcp-fb:125 nack\r\na=rtcp-fb:125 nack pli\r\na=rtcp-fb:108 goog-remb\r\na=rtcp-fb:108 ccm fir\r\na=rtcp-fb:108 nack\r\na=rtcp-fb:108 nack pli\r\na=rtcp-fb:124 goog-remb\r\na=rtcp-fb:124 ccm fir\r\na=rtcp-fb:124 nack\r\na=rtcp-fb:124 nack pli\r\na=rtcp-fb:123 goog-remb\r\na=rtcp-fb:123 ccm fir\r\na=rtcp-fb:123 nack\r\na=rtcp-fb:123 nack pli\r\na=setup:active\r\na=rtcp-mux\r\na=fmtp:102 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f\r\na=fmtp:127 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42001f\r\na=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=fmtp:108 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f\r\na=fmtp:124 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d0032\r\na=fmtp:123 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640032\r\na=ssrc:562017757 cname:aaa@qq.com\r\na=ice-ufrag:9sYx\r\na=ice-pwd:/ux4gbNjpKgCkHQNxF8ApD\r\na=fingerprint:sha-256 14:45:B3:25:C8:45:26:43:99:4C:8A:13:96:A8:89:88:3C:C3:2F:43:BC:C7:B8:14:27:18:C2:80:FE:D8:25:12\r\n"}
[handleProcessSdpAnswer] SDP Answer from Kurento, process in WebRTC Peer
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:1 1 UDP 2013266431 172.17.0.7 2854 typ host","sdpMid":"1","sdpMLineIndex":1}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2 1 TCP 1015021823 172.17.0.7 9 typ host tcptype active","sdpMid":"1","sdpMLineIndex":1}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:1 2 UDP 2013266430 172.17.0.7 51425 typ host","sdpMid":"0","sdpMLineIndex":0}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:1 2 UDP 2013266430 172.17.0.7 51425 typ host","sdpMid":"1","sdpMLineIndex":1}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2 2 TCP 1015021822 172.17.0.7 9 typ host tcptype active","sdpMid":"0","sdpMLineIndex":0}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2 1 TCP 1015021823 172.17.0.7 9 typ host tcptype active","sdpMid":"0","sdpMLineIndex":0}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:3 1 TCP 1010827519 172.17.0.7 60733 typ host tcptype passive","sdpMid":"0","sdpMLineIndex":0}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:1 1 UDP 2013266431 172.17.0.7 2854 typ host","sdpMid":"0","sdpMLineIndex":0}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:3 2 TCP 1010827518 172.17.0.7 39815 typ host tcptype passive","sdpMid":"0","sdpMLineIndex":0}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:3 1 TCP 1010827519 172.17.0.7 60733 typ host tcptype passive","sdpMid":"1","sdpMLineIndex":1}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2 2 TCP 1015021822 172.17.0.7 9 typ host tcptype active","sdpMid":"1","sdpMLineIndex":1}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:3 2 TCP 1010827518 172.17.0.7 39815 typ host tcptype passive","sdpMid":"1","sdpMLineIndex":1}}
[handleProcessSdpAnswer] SDP Answer ready; start remote video
[stop]
[sendMessage] message: {"id":"STOP"}
[start] Create WebRtcPeerSendrecv
[start/WebRtcPeerSendrecv] Created; start local video
[start/WebRtcPeerSendrecv] Generate SDP Offer
[sendMessage] message: {"id":"PROCESS_SDP_OFFER","sdpOffer":"v=0\r\no=- 3400338694002828673 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=msid-semantic: WMS vIKFeZQvs0S5axoqH1wKYb1kvim60XHgy1DE\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:E53Y\r\na=ice-pwd:4VUqI2LAt8HALUUPERHRHXHr\r\na=ice-options:trickle\r\na=fingerprint:sha-256 0B:A4:B1:48:18:8B:40:D5:1F:A7:BD:AE:DB:97:36:D7:93:21:79:92:57:55:79:0B:1F:99:4C:44:09:4F:1C:E4\r\na=setup:actpass\r\na=mid:0\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendrecv\r\na=msid:vIKFeZQvs0S5axoqH1wKYb1kvim60XHgy1DE ee4f57f4-c181-4b86-950a-f017a412d658\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:106 CN/32000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:112 telephone-event/32000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\na=ssrc:216751493 cname:iTvqCYdSUdUx3SKa\r\na=ssrc:216751493 msid:vIKFeZQvs0S5axoqH1wKYb1kvim60XHgy1DE ee4f57f4-c181-4b86-950a-f017a412d658\r\na=ssrc:216751493 mslabel:vIKFeZQvs0S5axoqH1wKYb1kvim60XHgy1DE\r\na=ssrc:216751493 label:ee4f57f4-c181-4b86-950a-f017a412d658\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 122 127 121 125 107 108 109 124 120 123 119 114 115 116\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:E53Y\r\na=ice-pwd:4VUqI2LAt8HALUUPERHRHXHr\r\na=ice-options:trickle\r\na=fingerprint:sha-256 0B:A4:B1:48:18:8B:40:D5:1F:A7:BD:AE:DB:97:36:D7:93:21:79:92:57:55:79:0B:1F:99:4C:44:09:4F:1C:E4\r\na=setup:actpass\r\na=mid:1\r\na=extmap:14 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:13 urn:3gpp:video-orientation\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:11 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://tools.ietf.org/html/draft-ietf-avtext-framemarking-07\r\na=extmap:9 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendrecv\r\na=msid:vIKFeZQvs0S5axoqH1wKYb1kvim60XHgy1DE 7df8628f-6c54-4733-9de2-67d17d862091\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=fmtp:98 profile-id=0\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:100 VP9/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 profile-id=2\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=1;profile-level-id=42001f\r\na=rtpmap:122 rtx/90000\r\na=fmtp:122 apt=102\r\na=rtpmap:127 H264/90000\r\na=rtcp-fb:127 goog-remb\r\na=rtcp-fb:127 transport-cc\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=fmtp:127 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42001f\r\na=rtpmap:121 rtx/90000\r\na=fmtp:121 apt=127\r\na=rtpmap:125 H264/90000\r\na=rtcp-fb:125 goog-remb\r\na=rtcp-fb:125 transport-cc\r\na=rtcp-fb:125 ccm fir\r\na=rtcp-fb:125 nack\r\na=rtcp-fb:125 nack pli\r\na=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=rtpmap:107 rtx/90000\r\na=fmtp:107 apt=125\r\na=rtpmap:108 H264/90000\r\na=rtcp-fb:108 goog-remb\r\na=rtcp-fb:108 transport-cc\r\na=rtcp-fb:108 ccm fir\r\na=rtcp-fb:108 nack\r\na=rtcp-fb:108 nack pli\r\na=fmtp:108 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f\r\na=rtpmap:109 rtx/90000\r\na=fmtp:109 apt=108\r\na=rtpmap:124 H264/90000\r\na=rtcp-fb:124 goog-remb\r\na=rtcp-fb:124 transport-cc\r\na=rtcp-fb:124 ccm fir\r\na=rtcp-fb:124 nack\r\na=rtcp-fb:124 nack pli\r\na=fmtp:124 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d0032\r\na=rtpmap:120 rtx/90000\r\na=fmtp:120 apt=124\r\na=rtpmap:123 H264/90000\r\na=rtcp-fb:123 goog-remb\r\na=rtcp-fb:123 transport-cc\r\na=rtcp-fb:123 ccm fir\r\na=rtcp-fb:123 nack\r\na=rtcp-fb:123 nack pli\r\na=fmtp:123 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640032\r\na=rtpmap:119 rtx/90000\r\na=fmtp:119 apt=123\r\na=rtpmap:114 red/90000\r\na=rtpmap:115 rtx/90000\r\na=fmtp:115 apt=114\r\na=rtpmap:116 ulpfec/90000\r\na=ssrc-group:FID 1487009059 129722324\r\na=ssrc:1487009059 cname:iTvqCYdSUdUx3SKa\r\na=ssrc:1487009059 msid:vIKFeZQvs0S5axoqH1wKYb1kvim60XHgy1DE 7df8628f-6c54-4733-9de2-67d17d862091\r\na=ssrc:1487009059 mslabel:vIKFeZQvs0S5axoqH1wKYb1kvim60XHgy1DE\r\na=ssrc:1487009059 label:7df8628f-6c54-4733-9de2-67d17d862091\r\na=ssrc:129722324 cname:iTvqCYdSUdUx3SKa\r\na=ssrc:129722324 msid:vIKFeZQvs0S5axoqH1wKYb1kvim60XHgy1DE 7df8628f-6c54-4733-9de2-67d17d862091\r\na=ssrc:129722324 mslabel:vIKFeZQvs0S5axoqH1wKYb1kvim60XHgy1DE\r\na=ssrc:129722324 label:7df8628f-6c54-4733-9de2-67d17d862091\r\n"}
[start/WebRtcPeerSendrecv/generateOffer] Done!
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:392676702 1 udp 2122260223 192.168.141.1 64050 typ host generation 0 ufrag E53Y network-id 1","sdpMid":"0","sdpMLineIndex":0}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:4275915795 1 udp 2122194687 192.168.1.189 64051 typ host generation 0 ufrag E53Y network-id 2 network-cost 10","sdpMid":"0","sdpMLineIndex":0}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:392676702 1 udp 2122260223 192.168.141.1 64052 typ host generation 0 ufrag E53Y network-id 1","sdpMid":"1","sdpMLineIndex":1}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:4275915795 1 udp 2122194687 192.168.1.189 64053 typ host generation 0 ufrag E53Y network-id 2 network-cost 10","sdpMid":"1","sdpMLineIndex":1}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2140490407 1 udp 1685987071 211.162.8.192 17223 typ srflx raddr 192.168.1.189 rport 64051 generation 0 ufrag E53Y network-id 2 network-cost 10","sdpMid":"0","sdpMLineIndex":0}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2140490407 1 udp 1685987071 211.162.8.192 8832 typ srflx raddr 192.168.1.189 rport 64053 generation 0 ufrag E53Y network-id 2 network-cost 10","sdpMid":"1","sdpMLineIndex":1}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:3774819259 1 udp 41819903 47.103.142.233 64237 typ relay raddr 211.162.8.192 rport 8832 generation 0 ufrag E53Y network-id 2 network-cost 10","sdpMid":"1","sdpMLineIndex":1}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:3774819259 1 udp 41819903 47.103.142.233 57451 typ relay raddr 211.162.8.192 rport 17223 generation 0 ufrag E53Y network-id 2 network-cost 10","sdpMid":"0","sdpMLineIndex":0}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:1508129198 1 tcp 1518280447 192.168.141.1 9 typ host tcptype active generation 0 ufrag E53Y network-id 1","sdpMid":"0","sdpMLineIndex":0}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2958995683 1 tcp 1518214911 192.168.1.189 9 typ host tcptype active generation 0 ufrag E53Y network-id 2 network-cost 10","sdpMid":"0","sdpMLineIndex":0}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:1508129198 1 tcp 1518280447 192.168.141.1 9 typ host tcptype active generation 0 ufrag E53Y network-id 1","sdpMid":"1","sdpMLineIndex":1}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2958995683 1 tcp 1518214911 192.168.1.189 9 typ host tcptype active generation 0 ufrag E53Y network-id 2 network-cost 10","sdpMid":"1","sdpMLineIndex":1}}
[onmessage] Received message: {"id":"PROCESS_SDP_ANSWER","sdpAnswer":"v=0\r\no=- 3792902325 3792902325 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=msid-semantic: WMS vIKFeZQvs0S5axoqH1wKYb1kvim60XHgy1DE\r\na=group:BUNDLE 0 1\r\nm=audio 1 UDP/TLS/RTP/SAVPF 111 0\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=sendrecv\r\na=mid:0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=rtpmap:111 opus/48000/2\r\na=rtpmap:0 PCMU/8000\r\na=setup:active\r\na=rtcp-mux\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=ssrc:4091678111 cname:aaa@qq.com\r\na=ice-ufrag:TP+D\r\na=ice-pwd:ciG+pW+AD/DI0I04018kta\r\na=fingerprint:sha-256 14:45:B3:25:C8:45:26:43:99:4C:8A:13:96:A8:89:88:3C:C3:2F:43:BC:C7:B8:14:27:18:C2:80:FE:D8:25:12\r\nm=video 1 UDP/TLS/RTP/SAVPF 96 102 127 125 108 124 123\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=sendrecv\r\na=mid:1\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=rtpmap:96 VP8/90000\r\na=rtpmap:102 H264/90000\r\na=rtpmap:127 H264/90000\r\na=rtpmap:125 H264/90000\r\na=rtpmap:108 H264/90000\r\na=rtpmap:124 H264/90000\r\na=rtpmap:123 H264/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: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:127 goog-remb\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=rtcp-fb:125 goog-remb\r\na=rtcp-fb:125 ccm fir\r\na=rtcp-fb:125 nack\r\na=rtcp-fb:125 nack pli\r\na=rtcp-fb:108 goog-remb\r\na=rtcp-fb:108 ccm fir\r\na=rtcp-fb:108 nack\r\na=rtcp-fb:108 nack pli\r\na=rtcp-fb:124 goog-remb\r\na=rtcp-fb:124 ccm fir\r\na=rtcp-fb:124 nack\r\na=rtcp-fb:124 nack pli\r\na=rtcp-fb:123 goog-remb\r\na=rtcp-fb:123 ccm fir\r\na=rtcp-fb:123 nack\r\na=rtcp-fb:123 nack pli\r\na=setup:active\r\na=rtcp-mux\r\na=fmtp:102 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f\r\na=fmtp:127 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42001f\r\na=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=fmtp:108 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f\r\na=fmtp:124 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d0032\r\na=fmtp:123 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640032\r\na=ssrc:1202404311 cname:aaa@qq.com\r\na=ice-ufrag:TP+D\r\na=ice-pwd:ciG+pW+AD/DI0I04018kta\r\na=fingerprint:sha-256 14:45:B3:25:C8:45:26:43:99:4C:8A:13:96:A8:89:88:3C:C3:2F:43:BC:C7:B8:14:27:18:C2:80:FE:D8:25:12\r\n"}
[handleProcessSdpAnswer] SDP Answer from Kurento, process in WebRTC Peer
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:1 1 UDP 2013266431 172.17.0.7 19252 typ host","sdpMid":"1","sdpMLineIndex":1}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:1 1 UDP 2013266431 172.17.0.7 19252 typ host","sdpMid":"0","sdpMLineIndex":0}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:1 2 UDP 2013266430 172.17.0.7 12785 typ host","sdpMid":"0","sdpMLineIndex":0}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2 1 TCP 1015021823 172.17.0.7 9 typ host tcptype active","sdpMid":"0","sdpMLineIndex":0}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:3 1 TCP 1010827519 172.17.0.7 8294 typ host tcptype passive","sdpMid":"1","sdpMLineIndex":1}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:3 1 TCP 1010827519 172.17.0.7 8294 typ host tcptype passive","sdpMid":"0","sdpMLineIndex":0}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2 2 TCP 1015021822 172.17.0.7 9 typ host tcptype active","sdpMid":"1","sdpMLineIndex":1}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2 1 TCP 1015021823 172.17.0.7 9 typ host tcptype active","sdpMid":"1","sdpMLineIndex":1}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2 2 TCP 1015021822 172.17.0.7 9 typ host tcptype active","sdpMid":"0","sdpMLineIndex":0}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:1 2 UDP 2013266430 172.17.0.7 12785 typ host","sdpMid":"1","sdpMLineIndex":1}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:3 2 TCP 1010827518 172.17.0.7 27892 typ host tcptype passive","sdpMid":"1","sdpMLineIndex":1}}
[handleProcessSdpAnswer] SDP Answer ready; start remote video
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:3 2 TCP 1010827518 172.17.0.7 27892 typ host tcptype passive","sdpMid":"0","sdpMLineIndex":0}}
[stop]
[sendMessage] message: {"id":"STOP"}
[start] Create WebRtcPeerSendrecv
[start/WebRtcPeerSendrecv] Created; start local video
[start/WebRtcPeerSendrecv] Generate SDP Offer
[sendMessage] message: {"id":"PROCESS_SDP_OFFER","sdpOffer":"v=0\r\no=- 2941215450267896272 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE 0 1\r\na=msid-semantic: WMS wyJAwCpt4dCSwgiCGPH99yuOcK38I0gL6hsv\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:UPQr\r\na=ice-pwd:KB4/EU4MbBJ8+9onxggxo+eV\r\na=ice-options:trickle\r\na=fingerprint:sha-256 E1:1C:BA:FD:40:58:BF:6B:F2:62:57:20:7D:E9:FC:DE:00:5C:E0:A5:5C:B6:69:07:43:31:45:91:EC:D7:15:46\r\na=setup:actpass\r\na=mid:0\r\na=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendrecv\r\na=msid:wyJAwCpt4dCSwgiCGPH99yuOcK38I0gL6hsv ebd811f3-bc46-41ba-a323-4d1a34635001\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=rtpmap:103 ISAC/16000\r\na=rtpmap:104 ISAC/32000\r\na=rtpmap:9 G722/8000\r\na=rtpmap:0 PCMU/8000\r\na=rtpmap:8 PCMA/8000\r\na=rtpmap:106 CN/32000\r\na=rtpmap:105 CN/16000\r\na=rtpmap:13 CN/8000\r\na=rtpmap:110 telephone-event/48000\r\na=rtpmap:112 telephone-event/32000\r\na=rtpmap:113 telephone-event/16000\r\na=rtpmap:126 telephone-event/8000\r\na=ssrc:2152139460 cname:jf71qoC9VqxF8F+n\r\na=ssrc:2152139460 msid:wyJAwCpt4dCSwgiCGPH99yuOcK38I0gL6hsv ebd811f3-bc46-41ba-a323-4d1a34635001\r\na=ssrc:2152139460 mslabel:wyJAwCpt4dCSwgiCGPH99yuOcK38I0gL6hsv\r\na=ssrc:2152139460 label:ebd811f3-bc46-41ba-a323-4d1a34635001\r\nm=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 122 127 121 125 107 108 109 124 120 123 119 114 115 116\r\nc=IN IP4 0.0.0.0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=ice-ufrag:UPQr\r\na=ice-pwd:KB4/EU4MbBJ8+9onxggxo+eV\r\na=ice-options:trickle\r\na=fingerprint:sha-256 E1:1C:BA:FD:40:58:BF:6B:F2:62:57:20:7D:E9:FC:DE:00:5C:E0:A5:5C:B6:69:07:43:31:45:91:EC:D7:15:46\r\na=setup:actpass\r\na=mid:1\r\na=extmap:14 urn:ietf:params:rtp-hdrext:toffset\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=extmap:13 urn:3gpp:video-orientation\r\na=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01\r\na=extmap:12 http://www.webrtc.org/experiments/rtp-hdrext/playout-delay\r\na=extmap:11 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://tools.ietf.org/html/draft-ietf-avtext-framemarking-07\r\na=extmap:9 http://www.webrtc.org/experiments/rtp-hdrext/color-space\r\na=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid\r\na=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id\r\na=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id\r\na=sendrecv\r\na=msid:wyJAwCpt4dCSwgiCGPH99yuOcK38I0gL6hsv 86a07a84-1786-4c47-8f8c-c62561a5a9ea\r\na=rtcp-mux\r\na=rtcp-rsize\r\na=rtpmap:96 VP8/90000\r\na=rtcp-fb:96 goog-remb\r\na=rtcp-fb:96 transport-cc\r\na=rtcp-fb:96 ccm fir\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtpmap:97 rtx/90000\r\na=fmtp:97 apt=96\r\na=rtpmap:98 VP9/90000\r\na=rtcp-fb:98 goog-remb\r\na=rtcp-fb:98 transport-cc\r\na=rtcp-fb:98 ccm fir\r\na=rtcp-fb:98 nack\r\na=rtcp-fb:98 nack pli\r\na=fmtp:98 profile-id=0\r\na=rtpmap:99 rtx/90000\r\na=fmtp:99 apt=98\r\na=rtpmap:100 VP9/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 profile-id=2\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=1;profile-level-id=42001f\r\na=rtpmap:122 rtx/90000\r\na=fmtp:122 apt=102\r\na=rtpmap:127 H264/90000\r\na=rtcp-fb:127 goog-remb\r\na=rtcp-fb:127 transport-cc\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=fmtp:127 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42001f\r\na=rtpmap:121 rtx/90000\r\na=fmtp:121 apt=127\r\na=rtpmap:125 H264/90000\r\na=rtcp-fb:125 goog-remb\r\na=rtcp-fb:125 transport-cc\r\na=rtcp-fb:125 ccm fir\r\na=rtcp-fb:125 nack\r\na=rtcp-fb:125 nack pli\r\na=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=rtpmap:107 rtx/90000\r\na=fmtp:107 apt=125\r\na=rtpmap:108 H264/90000\r\na=rtcp-fb:108 goog-remb\r\na=rtcp-fb:108 transport-cc\r\na=rtcp-fb:108 ccm fir\r\na=rtcp-fb:108 nack\r\na=rtcp-fb:108 nack pli\r\na=fmtp:108 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f\r\na=rtpmap:109 rtx/90000\r\na=fmtp:109 apt=108\r\na=rtpmap:124 H264/90000\r\na=rtcp-fb:124 goog-remb\r\na=rtcp-fb:124 transport-cc\r\na=rtcp-fb:124 ccm fir\r\na=rtcp-fb:124 nack\r\na=rtcp-fb:124 nack pli\r\na=fmtp:124 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d0032\r\na=rtpmap:120 rtx/90000\r\na=fmtp:120 apt=124\r\na=rtpmap:123 H264/90000\r\na=rtcp-fb:123 goog-remb\r\na=rtcp-fb:123 transport-cc\r\na=rtcp-fb:123 ccm fir\r\na=rtcp-fb:123 nack\r\na=rtcp-fb:123 nack pli\r\na=fmtp:123 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640032\r\na=rtpmap:119 rtx/90000\r\na=fmtp:119 apt=123\r\na=rtpmap:114 red/90000\r\na=rtpmap:115 rtx/90000\r\na=fmtp:115 apt=114\r\na=rtpmap:116 ulpfec/90000\r\na=ssrc-group:FID 43722236 673204803\r\na=ssrc:43722236 cname:jf71qoC9VqxF8F+n\r\na=ssrc:43722236 msid:wyJAwCpt4dCSwgiCGPH99yuOcK38I0gL6hsv 86a07a84-1786-4c47-8f8c-c62561a5a9ea\r\na=ssrc:43722236 mslabel:wyJAwCpt4dCSwgiCGPH99yuOcK38I0gL6hsv\r\na=ssrc:43722236 label:86a07a84-1786-4c47-8f8c-c62561a5a9ea\r\na=ssrc:673204803 cname:jf71qoC9VqxF8F+n\r\na=ssrc:673204803 msid:wyJAwCpt4dCSwgiCGPH99yuOcK38I0gL6hsv 86a07a84-1786-4c47-8f8c-c62561a5a9ea\r\na=ssrc:673204803 mslabel:wyJAwCpt4dCSwgiCGPH99yuOcK38I0gL6hsv\r\na=ssrc:673204803 label:86a07a84-1786-4c47-8f8c-c62561a5a9ea\r\n"}
[start/WebRtcPeerSendrecv/generateOffer] Done!
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:392676702 1 udp 2122260223 192.168.141.1 64063 typ host generation 0 ufrag UPQr network-id 1","sdpMid":"0","sdpMLineIndex":0}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:4275915795 1 udp 2122194687 192.168.1.189 64064 typ host generation 0 ufrag UPQr network-id 2 network-cost 10","sdpMid":"0","sdpMLineIndex":0}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:392676702 1 udp 2122260223 192.168.141.1 64065 typ host generation 0 ufrag UPQr network-id 1","sdpMid":"1","sdpMLineIndex":1}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:4275915795 1 udp 2122194687 192.168.1.189 64066 typ host generation 0 ufrag UPQr network-id 2 network-cost 10","sdpMid":"1","sdpMLineIndex":1}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2140490407 1 udp 1685987071 211.162.8.192 6910 typ srflx raddr 192.168.1.189 rport 64064 generation 0 ufrag UPQr network-id 2 network-cost 10","sdpMid":"0","sdpMLineIndex":0}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2140490407 1 udp 1685987071 211.162.8.192 2117 typ srflx raddr 192.168.1.189 rport 64066 generation 0 ufrag UPQr network-id 2 network-cost 10","sdpMid":"1","sdpMLineIndex":1}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:3774819259 1 udp 41819903 47.103.142.233 50503 typ relay raddr 211.162.8.192 rport 6910 generation 0 ufrag UPQr network-id 2 network-cost 10","sdpMid":"0","sdpMLineIndex":0}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:3774819259 1 udp 41819903 47.103.142.233 55051 typ relay raddr 211.162.8.192 rport 2117 generation 0 ufrag UPQr network-id 2 network-cost 10","sdpMid":"1","sdpMLineIndex":1}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:1508129198 1 tcp 1518280447 192.168.141.1 9 typ host tcptype active generation 0 ufrag UPQr network-id 1","sdpMid":"0","sdpMLineIndex":0}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2958995683 1 tcp 1518214911 192.168.1.189 9 typ host tcptype active generation 0 ufrag UPQr network-id 2 network-cost 10","sdpMid":"0","sdpMLineIndex":0}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:1508129198 1 tcp 1518280447 192.168.141.1 9 typ host tcptype active generation 0 ufrag UPQr network-id 1","sdpMid":"1","sdpMLineIndex":1}}
[sendMessage] message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2958995683 1 tcp 1518214911 192.168.1.189 9 typ host tcptype active generation 0 ufrag UPQr network-id 2 network-cost 10","sdpMid":"1","sdpMLineIndex":1}}
[onmessage] Received message: {"id":"PROCESS_SDP_ANSWER","sdpAnswer":"v=0\r\no=- 3792902352 3792902352 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=msid-semantic: WMS wyJAwCpt4dCSwgiCGPH99yuOcK38I0gL6hsv\r\na=group:BUNDLE 0 1\r\nm=audio 1 UDP/TLS/RTP/SAVPF 111 0\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=sendrecv\r\na=mid:0\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=rtpmap:111 opus/48000/2\r\na=rtpmap:0 PCMU/8000\r\na=setup:active\r\na=rtcp-mux\r\na=fmtp:111 minptime=10;useinbandfec=1\r\na=ssrc:2260580395 cname:aaa@qq.com\r\na=ice-ufrag:okxO\r\na=ice-pwd:JrPS9UVbOISs8mK7Rw7J8o\r\na=fingerprint:sha-256 14:45:B3:25:C8:45:26:43:99:4C:8A:13:96:A8:89:88:3C:C3:2F:43:BC:C7:B8:14:27:18:C2:80:FE:D8:25:12\r\nm=video 1 UDP/TLS/RTP/SAVPF 96 102 127 125 108 124 123\r\na=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time\r\na=sendrecv\r\na=mid:1\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=rtpmap:96 VP8/90000\r\na=rtpmap:102 H264/90000\r\na=rtpmap:127 H264/90000\r\na=rtpmap:125 H264/90000\r\na=rtpmap:108 H264/90000\r\na=rtpmap:124 H264/90000\r\na=rtpmap:123 H264/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: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:127 goog-remb\r\na=rtcp-fb:127 ccm fir\r\na=rtcp-fb:127 nack\r\na=rtcp-fb:127 nack pli\r\na=rtcp-fb:125 goog-remb\r\na=rtcp-fb:125 ccm fir\r\na=rtcp-fb:125 nack\r\na=rtcp-fb:125 nack pli\r\na=rtcp-fb:108 goog-remb\r\na=rtcp-fb:108 ccm fir\r\na=rtcp-fb:108 nack\r\na=rtcp-fb:108 nack pli\r\na=rtcp-fb:124 goog-remb\r\na=rtcp-fb:124 ccm fir\r\na=rtcp-fb:124 nack\r\na=rtcp-fb:124 nack pli\r\na=rtcp-fb:123 goog-remb\r\na=rtcp-fb:123 ccm fir\r\na=rtcp-fb:123 nack\r\na=rtcp-fb:123 nack pli\r\na=setup:active\r\na=rtcp-mux\r\na=fmtp:102 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f\r\na=fmtp:127 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42001f\r\na=fmtp:125 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f\r\na=fmtp:108 level-asymmetry-allowed=1;packetization-mode=0;profile-level-id=42e01f\r\na=fmtp:124 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=4d0032\r\na=fmtp:123 level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=640032\r\na=ssrc:1857569737 cname:aaa@qq.com\r\na=ice-ufrag:okxO\r\na=ice-pwd:JrPS9UVbOISs8mK7Rw7J8o\r\na=fingerprint:sha-256 14:45:B3:25:C8:45:26:43:99:4C:8A:13:96:A8:89:88:3C:C3:2F:43:BC:C7:B8:14:27:18:C2:80:FE:D8:25:12\r\n"}
[handleProcessSdpAnswer] SDP Answer from Kurento, process in WebRTC Peer
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:1 1 UDP 2013266431 172.17.0.7 11846 typ host","sdpMid":"0","sdpMLineIndex":0}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2 1 TCP 1015021823 172.17.0.7 9 typ host tcptype active","sdpMid":"1","sdpMLineIndex":1}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:3 1 TCP 1010827519 172.17.0.7 24063 typ host tcptype passive","sdpMid":"0","sdpMLineIndex":0}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:1 1 UDP 2013266431 172.17.0.7 11846 typ host","sdpMid":"1","sdpMLineIndex":1}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:3 2 TCP 1010827518 172.17.0.7 11307 typ host tcptype passive","sdpMid":"1","sdpMLineIndex":1}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:3 2 TCP 1010827518 172.17.0.7 11307 typ host tcptype passive","sdpMid":"0","sdpMLineIndex":0}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2 1 TCP 1015021823 172.17.0.7 9 typ host tcptype active","sdpMid":"0","sdpMLineIndex":0}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:3 1 TCP 1010827519 172.17.0.7 24063 typ host tcptype passive","sdpMid":"1","sdpMLineIndex":1}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:1 2 UDP 2013266430 172.17.0.7 53827 typ host","sdpMid":"0","sdpMLineIndex":0}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2 2 TCP 1015021822 172.17.0.7 9 typ host tcptype active","sdpMid":"1","sdpMLineIndex":1}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:2 2 TCP 1015021822 172.17.0.7 9 typ host tcptype active","sdpMid":"0","sdpMLineIndex":0}}
[onmessage] Received message: {"id":"ADD_ICE_CANDIDATE","candidate":{"candidate":"candidate:1 2 UDP 2013266430 172.17.0.7 53827 typ host","sdpMid":"1","sdpMLineIndex":1}}
[handleProcessSdpAnswer] SDP Answer ready; start remote video
[stop]
[sendMessage] message: {"id":"STOP"}

 

 

相关标签: kurento-tutorial