Advertisement
Guest User

Handle with Stun/Turn server

a guest
Oct 6th, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 15.95 KB | None | 0 0
  1. Got an admin/monitor HTTP POST request on /admin...
  2. Got an admin API request from janus.transport.http (0x7efdd40008c0)
  3. Transport task pool, serving request
  4. Got a Janus API request from janus.transport.http (0x7efdcc0008c0)
  5. Transport task pool, serving request
  6. Creating new session: 6502300445652125
  7. Session created (6502300445652125), create a queue for the long poll
  8. Got a Janus API request from janus.transport.http (0x7efdcc0008c0)
  9. Session 6502300445652125 found... returning up to 1 messages
  10. Transport task pool, serving request
  11. Got a keep-alive on session 6502300445652125
  12. Got a Janus API request from janus.transport.http (0x7efdc80008c0)
  13. Transport task pool, serving request
  14. Creating new handle in session 6502300445652125: 3399046141171750
  15. Got a Janus API request from janus.transport.http (0x7efdc80008c0)
  16. Transport task pool, serving request
  17. [3399046141171750] There's a message for JANUS VideoRoom plugin
  18. Handling message: {
  19.   "request": "exists",
  20.   "room": 25
  21. }
  22. Got a Janus API request from janus.transport.http (0x7efdc8001800)
  23. Transport task pool, serving request
  24. [3399046141171750] There's a message for JANUS VideoRoom plugin
  25. Handling message: {
  26.    "request": "create",
  27.    "room": 25,
  28.    "bitrate": 512000,
  29.    "fir_freq": 10,
  30.    "publishers": 6
  31. }
  32. Creating a new videoroom
  33. Created videoroom: 25 (Room 25, public, opus/vp8 codecs, secret: no secret, pin: no pin)
  34.   ::: [1234][Demo Room] 128000, max 6 publishers, FIR frequency of 10 seconds
  35.   ::: [25][Room 25] 512000, max 6 publishers, FIR frequency of 10 seconds
  36. Got a Janus API request from janus.transport.http (0x7efdc80008c0)
  37. Transport task pool, serving request
  38. [3399046141171750] There's a message for JANUS VideoRoom plugin
  39. Handling message: {
  40.   "request": "join",
  41.   "room": 25,
  42.   "ptype": "publisher",
  43.   "display": "user_419"
  44. }
  45. Configuring new participant
  46. Configuring new publisher
  47.  -- Publisher ID: 1223968275724564
  48. Preparing JSON event as a reply
  49. [3399046141171750] Sending event to transport...
  50.  >> 0 (Success)
  51. We have a message to serve...
  52.     {
  53.   "janus": "event",
  54.   "session_id": 6502300445652125,
  55.   "sender": 3399046141171750,
  56.   "transaction": "EPncHcB41PmC",
  57.   "plugindata": {
  58.      "plugin": "janus.plugin.videoroom",
  59.      "data": {
  60.         "videoroom": "joined",
  61.         "room": 25,
  62.         "description": "Room 25",
  63.         "id": 1223968275724564,
  64.         "publishers": []
  65.      }
  66.   }
  67. }
  68. Got a Janus API request from janus.transport.http (0x7efdcc0008c0)
  69. Session 6502300445652125 found... returning up to 1 messages
  70. Transport task pool, serving request
  71. Got a keep-alive on session 6502300445652125
  72. Got a Janus API request from janus.transport.http (0x7efdc80008c0)
  73. Transport task pool, serving request
  74. [3399046141171750] There's a message for JANUS VideoRoom plugin
  75. [3399046141171750] Remote SDP:
  76. v=0
  77. o=thisisadapterortc 8169639915646943137 2 IN IP4 127.0.0.1
  78. s=-
  79. t=0 0
  80. m=audio 9 UDP/TLS/RTP/SAVPF 104 9 106 0 8 103 97 13 118 101
  81. c=IN IP4 0.0.0.0
  82. a=rtcp:9 IN IP4 0.0.0.0
  83. a=rtpmap:104 SILK/16000
  84. a=rtcp-fb:104 x-message app send:dsh recv:dsh
  85. a=rtpmap:9 G722/8000
  86. a=rtcp-fb:9 x-message app send:dsh recv:dsh
  87. a=rtpmap:106 opus/48000/2
  88. a=rtcp-fb:106 x-message app send:dsh recv:dsh
  89. a=rtpmap:0 PCMU/8000
  90. a=rtcp-fb:0 x-message app send:dsh recv:dsh
  91. a=rtpmap:8 PCMA/8000
  92. a=rtcp-fb:8 x-message app send:dsh recv:dsh
  93. a=rtpmap:103 SILK/8000
  94. a=rtcp-fb:103 x-message app send:dsh recv:dsh
  95. a=rtpmap:97 RED/8000
  96. a=rtpmap:13 CN/8000
  97. a=rtpmap:118 CN/16000
  98. a=rtpmap:101 telephone-event/8000
  99. a=fmtp:101 events=0-16
  100. a=rtcp-mux
  101. a=ice-ufrag:UZGy
  102. a=ice-pwd:2NiCTJQ5b/SO5mbiOKTwMUvS
  103. a=setup:actpass
  104. a=fingerprint:sha-256 53:77:C7:49:A6:75:65:B3:1C:2F:36:AA:1B:1E:1D:D5:2B:D7:D3:50:79:4E:E0:46:24:4A:AA:EC:9B:0C:DC:43
  105. a=mid:071kb4q7rx
  106. a=sendonly
  107. a=msid:177E1329-EEAB-4EE9-8EB9-82F9FA50E3A1 31FF5EF7-2530-48FB-97FB-434649D02051
  108. a=ssrc:1001 msid:177E1329-EEAB-4EE9-8EB9-82F9FA50E3A1 31FF5EF7-2530-48FB-97FB-434649D02051
  109. a=ssrc:1001 cname:y73vd6cnok
  110. [3399046141171750] Audio has been negotiated, Video has NOT been negotiated, SCTP/DataChannels have NOT been negotiated
  111. [3399046141171750] The browser: does NOT support BUNDLE, supports rtcp-mux, is doing Trickle ICE
  112. [3399046141171750] Setting ICE locally: got OFFER (1 audios, 0 videos)
  113. [3399046141171750] Creating ICE agent (ICE Full mode, controlled)
  114. [3399046141171750] ICE thread started
  115. [3399046141171750] Adding 172.17.0.2 to the addresses to gather candidates for
  116. [3399046141171750] Component state changed for component 1 in stream 1: 1 (gathering)
  117. [3399046141171750] Parsing audio candidates (stream=1)...
  118. [3399046141171750] ICE ufrag (local):   UZGy
  119. [3399046141171750] ICE pwd (local):     2NiCTJQ5b/SO5mbiOKTwMUvS
  120. [3399046141171750] DTLS setup (local):  actpass
  121. [3399046141171750] Fingerprint (local) : sha-256 53:77:C7:49:A6:75:65:B3:1C:2F:36:AA:1B:1E:1D:D5:2B:D7:D3:50:79:4E:E0:46:24:4A:AA:EC:9B:0C:DC:43
  122. [3399046141171750] Audio mid: 071kb4q7rx
  123. [3399046141171750] Peer audio SSRC: 1001
  124.  -------------------------------------------
  125.   >> Anonymized (1160 --> 711 bytes)
  126.  -------------------------------------------
  127. v=0
  128. o=thisisadapterortc 8169639915646943137 2 IN IP4 127.0.0.1
  129. s=-
  130. t=0 0
  131. m=audio 1 UDP/TLS/RTP/SAVPF 104 9 106 0 8 103 97 13 118 101
  132. c=IN IP4 1.1.1.1
  133. a=sendonly
  134. a=rtpmap:104 SILK/16000
  135. a=rtcp-fb:104 x-message app send:dsh recv:dsh
  136. a=rtpmap:9 G722/8000
  137. a=rtcp-fb:9 x-message app send:dsh recv:dsh
  138. a=rtpmap:106 opus/48000/2
  139. a=rtcp-fb:106 x-message app send:dsh recv:dsh
  140. a=rtpmap:0 PCMU/8000
  141. a=rtcp-fb:0 x-message app send:dsh recv:dsh
  142. a=rtpmap:8 PCMA/8000
  143. a=rtcp-fb:8 x-message app send:dsh recv:dsh
  144. a=rtpmap:103 SILK/8000
  145. a=rtcp-fb:103 x-message app send:dsh recv:dsh
  146. a=rtpmap:97 RED/8000
  147. a=rtpmap:13 CN/8000
  148. a=rtpmap:118 CN/16000
  149. a=rtpmap:101 telephone-event/8000
  150. a=fmtp:101 events=0-16
  151.  
  152. Handling message: {
  153.    "request": "configure",
  154.    "audio": true,
  155.    "video": true
  156. }
  157. Setting audio property: true (room 25, user 1223968275724564)
  158. Setting video property: true (room 25, user 1223968275724564)
  159. Preparing JSON event as a reply
  160. This is involving a negotiation (offer) as well:
  161. v=0
  162. o=thisisadapterortc 8169639915646943137 2 IN IP4 127.0.0.1
  163. s=-
  164. t=0 0
  165. m=audio 1 UDP/TLS/RTP/SAVPF 104 9 106 0 8 103 97 13 118 101
  166. c=IN IP4 1.1.1.1
  167. a=sendonly
  168. a=rtpmap:104 SILK/16000
  169. a=rtcp-fb:104 x-message app send:dsh recv:dsh
  170. a=rtpmap:9 G722/8000
  171. a=rtcp-fb:9 x-message app send:dsh recv:dsh
  172. a=rtpmap:106 opus/48000/2
  173. a=rtcp-fb:106 x-message app send:dsh recv:dsh
  174. a=rtpmap:0 PCMU/8000
  175. a=rtcp-fb:0 x-message app send:dsh recv:dsh
  176. a=rtpmap:8 PCMA/8000
  177. a=rtcp-fb:8 x-message app send:dsh recv:dsh
  178. a=rtpmap:103 SILK/8000
  179. a=rtcp-fb:103 x-message app send:dsh recv:dsh
  180. a=rtpmap:97 RED/8000
  181. a=rtpmap:13 CN/8000
  182. a=rtpmap:118 CN/16000
  183. a=rtpmap:101 telephone-event/8000
  184. a=fmtp:101 events=0-16
  185.  
  186. The publisher is going to send an audio stream
  187.   -- Will answer with media direction 'recvonly'
  188.   -- -- Opus payload type is 106
  189.   -- -- PCMA payload type is 8
  190. The publisher is NOT going to send a video stream
  191. The publisher is NOT going to open a data channel
  192. Handling publisher: turned this into an 'answer':
  193. v=0
  194. o=- 1475769376102424 1475769376102004 IN IP4 127.0.0.1
  195. s=Room 25
  196. t=0 0
  197. m=audio 1 RTP/SAVPF 106
  198. c=IN IP4 1.1.1.1
  199. a=recvonly
  200. a=rtpmap:106 opus/48000/2
  201.  
  202. [3399046141171750] Waiting for candidates-done callback...
  203. [3399046141171750] Waiting for candidates-done callback...
  204. [3399046141171750] Gathering done for stream 1
  205.  -------------------------------------------
  206.   >> Anonymized (161 --> 161 bytes)
  207.  -------------------------------------------
  208. v=0
  209. o=- 1475769376102424 1475769376102004 IN IP4 127.0.0.1
  210. s=Room 25
  211. t=0 0
  212. m=audio 1 RTP/SAVPF 106
  213. c=IN IP4 1.1.1.1
  214. a=recvonly
  215. a=rtpmap:106 opus/48000/2
  216.  
  217. [3399046141171750] No RTP maps?? trying formats...
  218. [3399046141171750] We have 3 candidates for Stream #1, Component #1
  219. [3399046141171750] Stream #1, Component #1
  220. [3399046141171750]   Address:    172.17.0.2:10141
  221. [3399046141171750]   Priority:   2013266431
  222. [3399046141171750]   Foundation: 1
  223. [3399046141171750]     a=candidate:1 1 udp 2013266431 172.17.0.2 10141 typ host
  224. [3399046141171750] Stream #1, Component #1
  225. [3399046141171750]   Address:    145.131.195.140:61264
  226. [3399046141171750]   Priority:   1677722111
  227. [3399046141171750]   Foundation: 2
  228. [3399046141171750]     a=candidate:2 1 udp 1677722111 145.131.195.140 61264 typ srflx raddr 172.17.0.2 rport 10141
  229. [3399046141171750] Stream #1, Component #1
  230. [3399046141171750]   Address:    178.62.245.74:52103
  231. [3399046141171750]   Priority:   167772671
  232. [3399046141171750]   Foundation: 3
  233. [3399046141171750]     a=candidate:3 1 udp 167772671 178.62.245.74 52103 typ relay raddr 172.17.0.2 rport 10141
  234.  -------------------------------------------
  235.   >> Merged (161 --> 737 bytes)
  236.  -------------------------------------------
  237. v=0
  238. o=- 1475769376102424 1475769376102004 IN IP4 145.131.195.140
  239. s=Room 25
  240. t=0 0
  241. a=group:BUNDLE 071kb4q7rx
  242. a=msid-semantic: WMS janus
  243. m=audio 1 UDP/TLS/RTP/SAVPF 106
  244. c=IN IP4 145.131.195.140
  245. a=mid:071kb4q7rx
  246. a=recvonly
  247. a=rtcp-mux
  248. a=ice-ufrag:3gt1
  249. a=ice-pwd:fv7rS+LB4eyBCGCr0QzXBt
  250. a=ice-options:trickle
  251. a=fingerprint:sha-256 D2:B9:31:8F:DF:24:D8:0E:ED:D2:EF:25:9E:AF:6F:B8:34:AE:53:9C:E6:F3:8F:F2:64:15:FA:E8:7F:53:2D:38
  252. a=setup:active
  253. a=connection:new
  254. a=rtpmap:106 opus/48000/2
  255. a=candidate:1 1 udp 2013266431 172.17.0.2 10141 typ host
  256. a=candidate:2 1 udp 1677722111 145.131.195.140 61264 typ srflx raddr 172.17.0.2 rport 10141
  257. a=candidate:3 1 udp 167772671 178.62.245.74 52103 typ relay raddr 172.17.0.2 rport 10141
  258.  
  259. [3399046141171750] Done! Ready to setup remote candidates and send connectivity checks...
  260. [3399046141171750]   -- rtcp-mux is supported by the browser, getting rid of RTCP components, if any...
  261. [3399046141171750]   -- ICE Trickling is supported by the browser, waiting for remote candidates...
  262. [3399046141171750] Sending event to transport...
  263.   >> Pushing event: 0 (took 201202 us)
  264. Got a Janus API request from janus.transport.http (0x7efdac0008c0)
  265. Got a Janus API request from janus.transport.http (0x7efdb40008c0)
  266. Transport task pool, serving request
  267. [3399046141171750] Trickle candidate (071kb4q7rx): candidate:1 1 UDP 2130706431 192.168.1.136 13284 typ host
  268. [3399046141171750]  Adding remote candidate component:1 stream:1 type:host 192.168.1.136:13284
  269. [3399046141171750]  Transport: UDP
  270. [3399046141171750] ICE already started for this component, setting candidates we have up to now
  271. [3399046141171750] ## Setting remote candidates: stream 1, component 1 (1 in the list)
  272. [3399046141171750] >> Remote Stream #1, Component #1
  273. [3399046141171750]   Address:    192.168.1.136:13284
  274. [3399046141171750]   Priority:   2130706431
  275. [3399046141171750]   Foundation: 1
  276. [3399046141171750]   Username:   UZGy
  277. [3399046141171750]   Password:   2NiCTJQ5b/SO5mbiOKTwMUvS
  278. [3399046141171750]  Setting remote credentials...
  279. Transport task pool, serving request
  280. [3399046141171750] Component state changed for component 1 in stream 1: 2 (connecting)
  281. [3399046141171750] Remote candidates set!
  282. No more remote candidates for handle 3399046141171750!
  283. We have a message to serve...
  284.     {
  285.    "janus": "event",
  286.    "session_id": 6502300445652125,
  287.    "sender": 3399046141171750,
  288.    "transaction": "WQQoRGq42AuQ",
  289.    "plugindata": {
  290.       "plugin": "janus.plugin.videoroom",
  291.       "data": {
  292.          "videoroom": "event",
  293.          "room": 25,
  294.          "configured": "ok"
  295.       }
  296.    },
  297.    "jsep": {
  298.       "type": "answer",
  299.       "sdp": "v=0\r\no=- 1475769376102424 1475769376102004 IN IP4 145.131.195.140\r\ns=Room 25\r\nt=0 0\r\na=group:BUNDLE 071kb4q7rx\r\na=msid-semantic: WMS janus\r\nm=audio 1 UDP/TLS/RTP/SAVPF 106\r\nc=IN IP4 145.131.195.140\r\na=mid:071kb4q7rx\r\na=recvonly\r\na=rtcp-mux\r\na=ice-ufrag:3gt1\r\na=ice-pwd:fv7rS+LB4eyBCGCr0QzXBt\r\na=ice-options:trickle\r\na=fingerprint:sha-256 D2:B9:31:8F:DF:24:D8:0E:ED:D2:EF:25:9E:AF:6F:B8:34:AE:53:9C:E6:F3:8F:F2:64:15:FA:E8:7F:53:2D:38\r\na=setup:active\r\na=connection:new\r\na=rtpmap:106 opus/48000/2\r\na=candidate:1 1 udp 2013266431 172.17.0.2 10141 typ host\r\na=candidate:2 1 udp 1677722111 145.131.195.140 61264 typ srflx raddr 172.17.0.2 rport 10141\r\na=candidate:3 1 udp 167772671 178.62.245.74 52103 typ relay raddr 172.17.0.2 rport 10141\r\n"
  300.    }
  301. }
  302. Got a Janus API request from janus.transport.http (0x7efdc80008c0)
  303. Transport task pool, serving request
  304. [3399046141171750] Trickle candidate (071kb4q7rx): candidate:3 1 UDP 184548351 178.62.245.74 59838 typ relay raddr 145.131.195.140 rport 14664
  305. [3399046141171750]  Adding remote candidate component:1 stream:1 type:relay 145.131.195.140:14664 --> 178.62.245.74:59838
  306. [3399046141171750]  Transport: UDP
  307. Got a Janus API request from janus.transport.http (0x7efda40008c0)
  308. Transport task pool, serving request
  309. [3399046141171750] Trickle candidate (071kb4q7rx): candidate:2 1 UDP 33553919 2001:0:5ef5:79fb:42f:2bfa:6e7c:3c73 1116 typ host
  310. [3399046141171750]  Adding remote candidate component:1 stream:1 type:host 2001:0:5ef5:79fb:42f:2bfa:6e7c:3c73:1116
  311. [3399046141171750]  Transport: UDP
  312. Got a Janus API request from janus.transport.http (0x7efdc80008c0)
  313. Transport task pool, serving request
  314. [3399046141171750] Trickle candidate (071kb4q7rx): candidate:5 1 TCP 1684797439 145.131.195.140 14664 typ srflx raddr 192.168.1.136 rport 14664 tcptype active
  315. [3399046141171750]  Adding remote candidate component:1 stream:1 type:srflx 192.168.1.136:14664 --> 145.131.195.140:14664
  316. Got a Janus API request from janus.transport.http (0x7efdcc000b00)
  317. [3399046141171750]    Skipping unsupported transport 'TCP' for media
  318. Transport task pool, serving request
  319. [3399046141171750] Trickle candidate (071kb4q7rx): candidate:4 1 UDP 1694235135 145.131.195.140 14664 typ srflx raddr 192.168.1.136 rport 14664
  320. [3399046141171750]  Adding remote candidate component:1 stream:1 type:srflx 192.168.1.136:14664 --> 145.131.195.140:14664
  321. [3399046141171750]  Transport: UDP
  322. [WARN] [3399046141171750] Still waiting for the DTLS stack for component 1 in stream 1...
  323. Got a Janus API request from janus.transport.http (0x7efdc80008c0)
  324. Session 6502300445652125 found... returning up to 1 messages
  325. Transport task pool, serving request
  326. Got a keep-alive on session 6502300445652125
  327. [3399046141171750] Component state changed for component 1 in stream 1: 5 (failed)
  328. [ERR] [ice.c:janus_ice_cb_component_state_changed:1511] [3399046141171750] ICE failed for component 1 in stream 1...
  329. [3399046141171750] Telling the plugin about it (JANUS VideoRoom plugin)
  330. No WebRTC media anymore
  331. [3399046141171750] Notifying WebRTC hangup
  332. [3399046141171750] Sending event to transport...
  333. We have a message to serve...
  334.     {
  335.    "janus": "hangup",
  336.    "session_id": 6502300445652125,
  337.    "sender": 3399046141171750,
  338.    "reason": "ICE failed"
  339. }
  340. Got a Janus API request from janus.transport.http (0x7efdc80008c0)
  341. Session 6502300445652125 found... returning up to 1 messages
  342. Transport task pool, serving request
  343. Got a keep-alive on session 6502300445652125
  344. Got an admin/monitor HTTP POST request on /admin...
  345. Got an admin API request from janus.transport.http (0x7efdd40008c0)
  346. Transport task pool, serving request
  347. Got an admin/monitor HTTP POST request on /admin/6502300445652125...
  348. Got an admin API request from janus.transport.http (0x7efdd40008c0)
  349. Transport task pool, serving request
  350. Got an admin/monitor HTTP POST request on /admin/6502300445652125/3399046141171750...
  351. Got an admin API request from janus.transport.http (0x7efdd40008c0)
  352. Transport task pool, serving request
  353. Long poll time out for session 6502300445652125...
  354. We have a message to serve...
  355.     {
  356.    "janus": "keepalive"
  357. }
  358. Got a Janus API request from janus.transport.http (0x7efdc80008c0)
  359. Transport task pool, serving request
  360. Got a keep-alive on session 6502300445652125
  361. Session 6502300445652125 found... returning up to 1 messages
  362. Long poll time out for session 6502300445652125...
  363. We have a message to serve...
  364.     {
  365.    "janus": "keepalive"
  366. }
  367. Got a Janus API request from janus.transport.http (0x7efdc80008c0)
  368. Session 6502300445652125 found... returning up to 1 messages
  369. Transport task pool, serving request
  370. Got a keep-alive on session 6502300445652125
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement