Skip to content

Instantly share code, notes, and snippets.

@asticode
Created February 25, 2019 21:26
Show Gist options
  • Save asticode/3f50c2698e9ded64b02152f99a99fca6 to your computer and use it in GitHub Desktop.
Save asticode/3f50c2698e9ded64b02152f99a99fca6 to your computer and use it in GitHub Desktop.
Janus commit: f7b02e767debae86f1cea9880e3e29162bb79d30
Compiled on: Mon Feb 25 21:11:56 UTC 2019
Failed to load /opt/janus/etc/janus/janus.jcfg, trying the INI instead...
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.jcfg'... error 2 (No such file or directory)
---------------------------------------------------
Starting Meetecho Janus (WebRTC Server) v0.6.1
---------------------------------------------------
Checking command line arguments...
[janus.cfg]
general: {
configs_folder: /opt/janus/etc/janus
plugins_folder: /opt/janus/lib/janus/plugins
transports_folder: /opt/janus/lib/janus/transports
events_folder: /opt/janus/lib/janus/events
debug_level: 7
}
nat: {
nat_1_1_mapping: 192.168.99.102
}
certificates: {
}
media: {
}
transports: {
}
plugins: {
}
events: {
}
Debug/log level is 7
Debug/log timestamps are disabled
Debug/log colors are enabled
Selecting local IP address...
Using 172.18.0.4 as local IP...
[WARN] Token based authentication disabled
Initializing recorder code
Using nat_1_1_mapping for public ip - 192.168.99.102
Initializing ICE stuff (Full mode, ICE-TCP candidates disabled, half-trickle, IPv6 support disabled)
[WARN] Janus is deployed on a private address (192.168.99.102) but you didn't specify any STUN server! Expect trouble if this is supposed to work over the internet and not just in a LAN...
Using certificates:
(null)
(null)
Crypto: LibreSSL
[WARN] The libsrtp installation does not support AES-GCM profiles
[WARN] No cert/key specified, autogenerating some...
Generating DTLS key / cert
Fingerprint of our certificate: 47:1F:D1:84:37:05:53:9C:E8:3C:01:CF:07:99:A2:D1:1A:E4:21:1A:DB:74:54:AD:D6:9F:54:62:4E:39:4E:68
[WARN] Data Channels support not compiled
[WARN] Event handlers support disabled
Plugins folder: /opt/janus/lib/janus/plugins
Loading plugin 'libjanus_streaming.so'...
JANUS Streaming plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.streaming.jcfg
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.plugin.streaming.jcfg'... error 2 (No such file or directory)
[WARN] Couldn't find .jcfg configuration file (janus.plugin.streaming), trying .cfg
Configuration file: /opt/janus/etc/janus/janus.plugin.streaming.cfg
[janus.plugin.streaming.cfg]
result: {
type: rtp
id: 1
description: Result
audio: yes
audioport: 4102
audiopt: 111
audiortpmap: opus/48000/2
video: yes
videoport: 4100
videopt: 96
videortpmap: H264/90000
}
static: {
type: rtp
id: 2
description: Static
audio: yes
Joining Janus requests handler thread
audioport: 4202
audiopt: 111
audiortpmap: opus/48000/2
video: yes
videoport: 4200
videopt: 96
videortpmap: H264/90000
}
device-1: {
type: rtp
id: 3
description: Device 1
audio: yes
audioport: 4302
audiopt: 111
audiortpmap: opus/48000/2
video: yes
videoport: 4300
videopt: 96
videortpmap: H264/90000
}
device-2: {
type: rtp
id: 4
description: Device 2
audio: yes
audioport: 4402
audiopt: 111
audiortpmap: opus/48000/2
video: yes
videoport: 4400
videopt: 96
videortpmap: H264/90000
}
device-3: {
type: rtp
id: 5
description: Device 3
audio: yes
audioport: 4502
audiopt: 111
audiortpmap: opus/48000/2
video: yes
videoport: 4500
videopt: 96
videortpmap: H264/90000
Sessions watchdog started
}
device-4: {
type: rtp
id: 6
description: Device 4
audio: yes
audioport: 4602
audiopt: 111
audiortpmap: opus/48000/2
video: yes
videoport: 4600
videopt: 96
videortpmap: H264/90000
}
Adding stream 'result'
Audio enabled, Video enabled, Data NOT enabled
Audio enabled, Video enabled, Data NOT enabled
Adding stream 'static'
Audio enabled, Video enabled, Data NOT enabled
Audio enabled, Video enabled, Data NOT enabled
Adding stream 'device-1'
Audio enabled, Video enabled, Data NOT enabled
Audio enabled, Video enabled, Data NOT enabled
Adding stream 'device-2'
Audio enabled, Video enabled, Data NOT enabled
Audio enabled, Video enabled, Data NOT enabled
Adding stream 'device-3'
Audio enabled, Video enabled, Data NOT enabled
Audio enabled, Video enabled, Data NOT enabled
Adding stream 'device-4'
Audio enabled, Video enabled, Data NOT enabled
Audio enabled, Video enabled, Data NOT enabled
::: [1][result] Result (live, RTP source, public, pin: no pin)
::: [2][static] Static (live, RTP source, public, pin: no pin)
::: [3][device-1] Device 1 (live, RTP source, public, pin: no pin)
::: [4][device-2] Device 2 (live, RTP source, public, pin: no pin)
::: [5][device-3] Device 3 (live, RTP source, public, pin: no pin)
::: [6][device-4] Device 4 (live, RTP source, public, pin: no pin)
JANUS Streaming plugin initialized!
Version: 8 (0.0.8)
[janus.plugin.streaming] JANUS Streaming plugin
This is a streaming plugin for Janus, allowing WebRTC peers to watch/listen to pre-recorded files or media generated by gstreamer.
Plugin API version: 10
Transport plugins folder: /opt/janus/lib/janus/transports
Loading transport plugin 'libjanus_http.so'...
Starting streaming relay thread
Starting streaming relay thread
Starting streaming relay thread
Starting streaming relay thread
Starting streaming relay thread
Joining Streaming handler thread
Starting streaming relay thread
JANUS REST (HTTP/HTTPS) transport plugin created!
The installed libmicrohttpd version supports MHD_USE_AUTO
Configuration file: /opt/janus/etc/janus/janus.transport.http.jcfg
[ERR] [config.c:janus_config_parse:191] -- Error reading configuration file 'janus.transport.http.jcfg'... error 2 (No such file or directory)
[WARN] Couldn't find .jcfg configuration file (janus.transport.http), trying .cfg
Configuration file: /opt/janus/etc/janus/janus.transport.http.cfg
[janus.transport.http.cfg]
general: {
json: indented
base_path: /janus
threads: unlimited
http: yes
port: 8088
https: no
}
Using a thread per connection for the Janus API HTTP webserver
Binding to all interfaces for the Janus API HTTP webserver
HTTP webserver started (port 8088, /janus path listener)...
[WARN] HTTPS webserver disabled
[WARN] Admin/monitor HTTP webserver disabled
[WARN] Admin/monitor HTTPS webserver disabled
JANUS REST (HTTP/HTTPS) transport plugin initialized!
Version: 2 (0.0.2)
[janus.transport.http] JANUS REST (HTTP/HTTPS) transport plugin
This transport plugin adds REST (HTTP/HTTPS) support to the Janus API via libmicrohttpd.
Plugin API version: 7
Janus API: enabled
Admin API: disabled
New connection on REST API: ::ffff:10.0.0.6
[transports/janus_http.c:janus_http_handler:1166] Got a HTTP POST request on /janus...
[transports/janus_http.c:janus_http_handler:1167] ... Just parsing headers for now...
[transports/janus_http.c:janus_http_headers:1777] X-Real-IP: 10.255.0.2
[transports/janus_http.c:janus_http_headers:1777] X-Forwarded-For: 10.255.0.2
[transports/janus_http.c:janus_http_headers:1777] Host: event-janus.test.local
[transports/janus_http.c:janus_http_headers:1777] Connection: close
[transports/janus_http.c:janus_http_headers:1777] Content-Length: 46
[transports/janus_http.c:janus_http_headers:1777] user-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0
[transports/janus_http.c:janus_http_headers:1777] accept: */*
[transports/janus_http.c:janus_http_headers:1777] accept-language: en-US,en;q=0.5
[transports/janus_http.c:janus_http_headers:1777] accept-encoding: gzip, deflate, br
[transports/janus_http.c:janus_http_headers:1777] referer: https://bo.test.local/console.html
[transports/janus_http.c:janus_http_headers:1777] content-type: text/plain;charset=UTF-8
[transports/janus_http.c:janus_http_headers:1777] origin: https://bo.test.local
[transports/janus_http.c:janus_http_headers:1777] dnt: 1
[transports/janus_http.c:janus_http_headers:1777] pragma: no-cache
[transports/janus_http.c:janus_http_headers:1777] cache-control: no-cache
[transports/janus_http.c:janus_http_handler:1199] Processing HTTP POST request on /janus...
[transports/janus_http.c:janus_http_handler:1252] ... parsing request...
Processing POST data (text/plain;charset=UTF-8) (46 bytes)...
[transports/janus_http.c:janus_http_handler:1277] -- Data we have now (46 bytes)
[transports/janus_http.c:janus_http_handler:1199] Processing HTTP POST request on /janus...
[transports/janus_http.c:janus_http_handler:1252] ... parsing request...
Processing POST data (text/plain;charset=UTF-8) (0 bytes)...
[transports/janus_http.c:janus_http_handler:1282] Done getting payload, we can answer
{"janus":"create","transaction":"transaction"}
Forwarding request to the core (0x564d22c709c0)
Got a Janus API request from janus.transport.http (0x564d22c709c0)
Creating new session: 6603214959602792; 0x564d22c7a1a0
Session created (6603214959602792), create a queue for the long poll
Sending Janus API response to janus.transport.http (0x564d22c709c0)
Got a Janus API response to send (0x564d22c709c0)
New connection on REST API: ::ffff:10.0.0.6
New connection on REST API: ::ffff:10.0.0.6
[transports/janus_http.c:janus_http_handler:1166] Got a HTTP POST request on /janus/6603214959602792...
[transports/janus_http.c:janus_http_handler:1167] ... Just parsing headers for now...
[transports/janus_http.c:janus_http_headers:1777] X-Real-IP: 10.255.0.2
[transports/janus_http.c:janus_http_headers:1777] X-Forwarded-For: 10.255.0.2
[transports/janus_http.c:janus_http_headers:1777] Host: event-janus.test.local
[transports/janus_http.c:janus_http_headers:1777] Connection: close
[transports/janus_http.c:janus_http_headers:1777] Content-Length: 80
[transports/janus_http.c:janus_http_headers:1777] user-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0
[transports/janus_http.c:janus_http_headers:1777] accept: */*
[transports/janus_http.c:janus_http_headers:1777] accept-language: en-US,en;q=0.5
[transports/janus_http.c:janus_http_headers:1777] accept-encoding: gzip, deflate, br
[transports/janus_http.c:janus_http_headers:1777] referer: https://bo.test.local/console.html
[transports/janus_http.c:janus_http_headers:1777] content-type: text/plain;charset=UTF-8
[transports/janus_http.c:janus_http_headers:1777] origin: https://bo.test.local
[transports/janus_http.c:janus_http_headers:1777] dnt: 1
[transports/janus_http.c:janus_http_headers:1777] pragma: no-cache
[transports/janus_http.c:janus_http_headers:1777] cache-control: no-cache
[transports/janus_http.c:janus_http_handler:1166] Got a HTTP GET request on /janus/6603214959602792...
[transports/janus_http.c:janus_http_handler:1199] Processing HTTP POST request on /janus/6603214959602792...
[transports/janus_http.c:janus_http_handler:1252] ... parsing request...
[transports/janus_http.c:janus_http_handler:1167] ... Just parsing headers for now...
Session: 6603214959602792
Processing POST data (text/plain;charset=UTF-8) (80 bytes)...
[transports/janus_http.c:janus_http_headers:1777] X-Real-IP: 10.255.0.2
[transports/janus_http.c:janus_http_handler:1277] -- Data we have now (80 bytes)
[transports/janus_http.c:janus_http_headers:1777] X-Forwarded-For: 10.255.0.2
[transports/janus_http.c:janus_http_headers:1777] Host: event-janus.test.local
[transports/janus_http.c:janus_http_handler:1199] Processing HTTP POST request on /janus/6603214959602792...
[transports/janus_http.c:janus_http_headers:1777] Connection: close
[transports/janus_http.c:janus_http_handler:1252] ... parsing request...
[transports/janus_http.c:janus_http_headers:1777] user-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0
Session: 6603214959602792
[transports/janus_http.c:janus_http_headers:1777] accept: */*
Processing POST data (text/plain;charset=UTF-8) (0 bytes)...
[transports/janus_http.c:janus_http_headers:1777] accept-language: en-US,en;q=0.5
[transports/janus_http.c:janus_http_handler:1282] Done getting payload, we can answer
[transports/janus_http.c:janus_http_headers:1777] accept-encoding: gzip, deflate, br
{"janus":"attach","plugin":"janus.plugin.streaming","transaction":"transaction"}
Forwarding request to the core (0x564d22c79860)
[transports/janus_http.c:janus_http_headers:1777] referer: https://bo.test.local/console.html
[transports/janus_http.c:janus_http_headers:1777] origin: https://bo.test.local
[transports/janus_http.c:janus_http_headers:1777] dnt: 1
Got a Janus API request from janus.transport.http (0x564d22c79860)
[transports/janus_http.c:janus_http_headers:1777] pragma: no-cache
Creating new handle in session 6603214959602792: 8324549804866150; 0x564d22c7a1a0 0x564d22c84b40
Sending Janus API response to janus.transport.http (0x564d22c79860)
Got a Janus API response to send (0x564d22c79860)
[transports/janus_http.c:janus_http_headers:1777] cache-control: no-cache
[transports/janus_http.c:janus_http_handler:1199] Processing HTTP GET request on /janus/6603214959602792...
[transports/janus_http.c:janus_http_handler:1252] ... parsing request...
Session: 6603214959602792
Got a Janus API request from janus.transport.http (0x564d22c84640)
Got a keep-alive on session 6603214959602792
Sending Janus API response to janus.transport.http (0x564d22c84640)
Got a Janus API response to send (0x564d22c84640)
Session 6603214959602792 found... returning up to 1 messages
[transports/janus_http.c:janus_http_notifier:1810] ... handling long poll...
[8324549804866150] Handle thread started; 0x564d22c84b40
[ice.c:janus_ice_handle_thread:1041] [8324549804866150] Looping...
New connection on REST API: ::ffff:10.0.0.6
[transports/janus_http.c:janus_http_handler:1166] Got a HTTP POST request on /janus/6603214959602792/8324549804866150...
[transports/janus_http.c:janus_http_handler:1167] ... Just parsing headers for now...
[transports/janus_http.c:janus_http_headers:1777] X-Real-IP: 10.255.0.2
[transports/janus_http.c:janus_http_headers:1777] X-Forwarded-For: 10.255.0.2
[transports/janus_http.c:janus_http_headers:1777] Host: event-janus.test.local
[transports/janus_http.c:janus_http_headers:1777] Connection: close
[transports/janus_http.c:janus_http_headers:1777] Content-Length: 107
[transports/janus_http.c:janus_http_headers:1777] user-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0
[transports/janus_http.c:janus_http_headers:1777] accept: */*
[transports/janus_http.c:janus_http_headers:1777] accept-language: en-US,en;q=0.5
[transports/janus_http.c:janus_http_headers:1777] accept-encoding: gzip, deflate, br
[transports/janus_http.c:janus_http_headers:1777] referer: https://bo.test.local/console.html
[transports/janus_http.c:janus_http_headers:1777] content-type: text/plain;charset=UTF-8
[transports/janus_http.c:janus_http_headers:1777] origin: https://bo.test.local
[transports/janus_http.c:janus_http_headers:1777] dnt: 1
[transports/janus_http.c:janus_http_headers:1777] pragma: no-cache
[transports/janus_http.c:janus_http_headers:1777] cache-control: no-cache
[transports/janus_http.c:janus_http_handler:1199] Processing HTTP POST request on /janus/6603214959602792/8324549804866150...
[transports/janus_http.c:janus_http_handler:1252] ... parsing request...
Session: 6603214959602792
Handle: 8324549804866150
Processing POST data (text/plain;charset=UTF-8) (107 bytes)...
[transports/janus_http.c:janus_http_handler:1277] -- Data we have now (107 bytes)
[transports/janus_http.c:janus_http_handler:1199] Processing HTTP POST request on /janus/6603214959602792/8324549804866150...
[transports/janus_http.c:janus_http_handler:1252] ... parsing request...
Session: 6603214959602792
Handle: 8324549804866150
Processing POST data (text/plain;charset=UTF-8) (0 bytes)...
[transports/janus_http.c:janus_http_handler:1282] Done getting payload, we can answer
{"janus":"message","transaction":"transaction-static","body":{"request":"watch","id":2,"offer_video":true}}
Forwarding request to the core (0x564d22c857a0)
Got a Janus API request from janus.transport.http (0x564d22c857a0)
Transport task pool, serving request
[8324549804866150] There's a message for JANUS Streaming plugin
Request to watch mountpoint/stream 2
Going to offer this SDP:
v=0
o=- 1551129921129037 1 IN IP4 127.0.0.1
s=Mountpoint 2
t=0 0
m=audio 1 RTP/SAVPF 111
c=IN IP4 1.1.1.1
a=rtpmap:111 opus/48000/2
a=sendonly
m=video 1 RTP/SAVPF 96
c=IN IP4 1.1.1.1
a=rtpmap:96 H264/90000
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=rtcp-fb:96 goog-remb
a=sendonly
[8324549804866150] Audio has been negotiated
[8324549804866150] Video has been negotiated
[8324549804866150] SCTP/DataChannels have NOT been negotiated
[8324549804866150] Setting ICE locally: got ANSWER (1 audios, 1 videos)
[8324549804866150] Creating ICE agent (ICE Full mode, controlling)
[8324549804866150] Adding 10.0.0.18 to the addresses to gather candidates for
[8324549804866150] Adding 172.18.0.4 to the addresses to gather candidates for
[8324549804866150] Gathering done for stream 1
-------------------------------------------
>> Anonymized
-------------------------------------------
[8324549804866150] We have 2 candidates for Stream #1, Component #1
[8324549804866150] Public IP specified and 1:1 NAT mapping enabled (192.168.99.102), using that as host address in the candidates
[8324549804866150] Address: 10.0.0.18:33936
[8324549804866150] Priority: 2013266431
[8324549804866150] Foundation: 1
[8324549804866150] 1 1 udp 2013266431 192.168.99.102 33936 typ host
[8324549804866150] Public IP specified and 1:1 NAT mapping enabled (192.168.99.102), using that as host address in the candidates
[8324549804866150] Address: 172.18.0.4:41033
[8324549804866150] Priority: 2013266430
[8324549804866150] Foundation: 2
[8324549804866150] 2 1 udp 2013266430 192.168.99.102 41033 typ host
[8324549804866150] We have 2 candidates for Stream #1, Component #1
[8324549804866150] Public IP specified and 1:1 NAT mapping enabled (192.168.99.102), using that as host address in the candidates
[8324549804866150] Address: 10.0.0.18:33936
[8324549804866150] Priority: 2013266431
[8324549804866150] Foundation: 1
[8324549804866150] 1 1 udp 2013266431 192.168.99.102 33936 typ host
[8324549804866150] Public IP specified and 1:1 NAT mapping enabled (192.168.99.102), using that as host address in the candidates
[8324549804866150] Address: 172.18.0.4:41033
[8324549804866150] Priority: 2013266430
[8324549804866150] Foundation: 2
[8324549804866150] 2 1 udp 2013266430 192.168.99.102 41033 typ host
-------------------------------------------
>> Merged (1424 bytes)
-------------------------------------------
v=0
o=- 1551129921129037 1 IN IP4 192.168.99.102
s=Mountpoint 2
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS janus
m=audio 9 UDP/TLS/RTP/SAVPF 111
c=IN IP4 192.168.99.102
a=sendonly
a=mid:audio
a=rtcp-mux
a=ice-ufrag:N2kL
a=ice-pwd:LHE/lCA8KapWh1xDzXstnL
a=ice-options:trickle
a=fingerprint:sha-256 47:1F:D1:84:37:05:53:9C:E8:3C:01:CF:07:99:A2:D1:1A:E4:21:1A:DB:74:54:AD:D6:9F:54:62:4E:39:4E:68
a=setup:actpass
a=rtpmap:111 opus/48000/2
a=ssrc:1096149278 cname:janusaudio
a=ssrc:1096149278 msid:janus janusa0
a=ssrc:1096149278 mslabel:janus
a=ssrc:1096149278 label:janusa0
a=candidate:1 1 udp 2013266431 192.168.99.102 33936 typ host
a=candidate:2 1 udp 2013266430 192.168.99.102 41033 typ host
a=end-of-candidates
m=video 9 UDP/TLS/RTP/SAVPF 96
c=IN IP4 192.168.99.102
a=sendonly
a=mid:video
a=rtcp-mux
a=ice-ufrag:N2kL
a=ice-pwd:LHE/lCA8KapWh1xDzXstnL
a=ice-options:trickle
a=fingerprint:sha-256 47:1F:D1:84:37:05:53:9C:E8:3C:01:CF:07:99:A2:D1:1A:E4:21:1A:DB:74:54:AD:D6:9F:54:62:4E:39:4E:68
a=setup:actpass
a=rtpmap:96 H264/90000
a=rtcp-fb:96 nack
a=rtcp-fb:96 nack pli
a=rtcp-fb:96 goog-remb
a=ssrc:273831499 cname:janusvideo
a=ssrc:273831499 msid:janus janusv0
a=ssrc:273831499 mslabel:janus
a=ssrc:273831499 label:janusv0
a=candidate:1 1 udp 2013266431 192.168.99.102 33936 typ host
a=candidate:2 1 udp 2013266430 192.168.99.102 41033 typ host
a=end-of-candidates
[8324549804866150] Sending event to transport...
Sending event to janus.transport.http (0x564d22c709c0)
Got a Janus API event to send (0x564d22c709c0)
>> Pushing event: 0 (Success)
Creating plugin result...
Sending Janus API response to janus.transport.http (0x564d22c857a0)
Got a Janus API response to send (0x564d22c857a0)
Destroying plugin result...
We have a message to serve...
{
"janus": "event",
"session_id": 6603214959602792,
"transaction": "transaction-static",
"sender": 8324549804866150,
"plugindata": {
"plugin": "janus.plugin.streaming",
"data": {
"streaming": "event",
"result": {
"status": "preparing"
}
}
},
"jsep": {
"type": "offer",
"sdp": "v=0\r\no=- 1551129921129037 1 IN IP4 192.168.99.102\r\ns=Mountpoint 2\r\nt=0 0\r\na=group:BUNDLE audio video\r\na=msid-semantic: WMS janus\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 192.168.99.102\r\na=sendonly\r\na=mid:audio\r\na=rtcp-mux\r\na=ice-ufrag:N2kL\r\na=ice-pwd:LHE/lCA8KapWh1xDzXstnL\r\na=ice-options:trickle\r\na=fingerprint:sha-256 47:1F:D1:84:37:05:53:9C:E8:3C:01:CF:07:99:A2:D1:1A:E4:21:1A:DB:74:54:AD:D6:9F:54:62:4E:39:4E:68\r\na=setup:actpass\r\na=rtpmap:111 opus/48000/2\r\na=ssrc:1096149278 cname:janusaudio\r\na=ssrc:1096149278 msid:janus janusa0\r\na=ssrc:1096149278 mslabel:janus\r\na=ssrc:1096149278 label:janusa0\r\na=candidate:1 1 udp 2013266431 192.168.99.102 33936 typ host\r\na=candidate:2 1 udp 2013266430 192.168.99.102 41033 typ host\r\na=end-of-candidates\r\nm=video 9 UDP/TLS/RTP/SAVPF 96\r\nc=IN IP4 192.168.99.102\r\na=sendonly\r\na=mid:video\r\na=rtcp-mux\r\na=ice-ufrag:N2kL\r\na=ice-pwd:LHE/lCA8KapWh1xDzXstnL\r\na=ice-options:trickle\r\na=fingerprint:sha-256 47:1F:D1:84:37:05:53:9C:E8:3C:01:CF:07:99:A2:D1:1A:E4:21:1A:DB:74:54:AD:D6:9F:54:62:4E:39:4E:68\r\na=setup:actpass\r\na=rtpmap:96 H264/90000\r\na=rtcp-fb:96 nack\r\na=rtcp-fb:96 nack pli\r\na=rtcp-fb:96 goog-remb\r\na=ssrc:273831499 cname:janusvideo\r\na=ssrc:273831499 msid:janus janusv0\r\na=ssrc:273831499 mslabel:janus\r\na=ssrc:273831499 label:janusv0\r\na=candidate:1 1 udp 2013266431 192.168.99.102 33936 typ host\r\na=candidate:2 1 udp 2013266430 192.168.99.102 41033 typ host\r\na=end-of-candidates\r\n"
}
}
New connection on REST API: ::ffff:10.0.0.6
[transports/janus_http.c:janus_http_handler:1166] Got a HTTP GET request on /janus/6603214959602792...
[transports/janus_http.c:janus_http_handler:1167] ... Just parsing headers for now...
[transports/janus_http.c:janus_http_headers:1777] X-Real-IP: 10.255.0.2
[transports/janus_http.c:janus_http_headers:1777] X-Forwarded-For: 10.255.0.2
[transports/janus_http.c:janus_http_headers:1777] Host: event-janus.test.local
[transports/janus_http.c:janus_http_headers:1777] Connection: close
[transports/janus_http.c:janus_http_headers:1777] user-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0
[transports/janus_http.c:janus_http_headers:1777] accept: */*
[transports/janus_http.c:janus_http_headers:1777] accept-language: en-US,en;q=0.5
[transports/janus_http.c:janus_http_headers:1777] accept-encoding: gzip, deflate, br
[transports/janus_http.c:janus_http_headers:1777] referer: https://bo.test.local/console.html
[transports/janus_http.c:janus_http_headers:1777] origin: https://bo.test.local
[transports/janus_http.c:janus_http_headers:1777] dnt: 1
[transports/janus_http.c:janus_http_headers:1777] pragma: no-cache
[transports/janus_http.c:janus_http_headers:1777] cache-control: no-cache
[transports/janus_http.c:janus_http_handler:1199] Processing HTTP GET request on /janus/6603214959602792...
[transports/janus_http.c:janus_http_handler:1252] ... parsing request...
Session: 6603214959602792
Got a Janus API request from janus.transport.http (0x564d22c705c0)
Got a keep-alive on session 6603214959602792
Sending Janus API response to janus.transport.http (0x564d22c705c0)
Got a Janus API response to send (0x564d22c705c0)
Session 6603214959602792 found... returning up to 1 messages
[transports/janus_http.c:janus_http_notifier:1810] ... handling long poll...
New connection on REST API: ::ffff:10.0.0.6
[transports/janus_http.c:janus_http_handler:1166] Got a HTTP POST request on /janus/6603214959602792/8324549804866150...
[transports/janus_http.c:janus_http_handler:1167] ... Just parsing headers for now...
[transports/janus_http.c:janus_http_headers:1777] X-Real-IP: 10.255.0.2
[transports/janus_http.c:janus_http_headers:1777] X-Forwarded-For: 10.255.0.2
[transports/janus_http.c:janus_http_headers:1777] Host: event-janus.test.local
[transports/janus_http.c:janus_http_headers:1777] Connection: close
[transports/janus_http.c:janus_http_headers:1777] Content-Length: 856
[transports/janus_http.c:janus_http_headers:1777] user-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0
[transports/janus_http.c:janus_http_headers:1777] accept: */*
[transports/janus_http.c:janus_http_headers:1777] accept-language: en-US,en;q=0.5
[transports/janus_http.c:janus_http_headers:1777] accept-encoding: gzip, deflate, br
[transports/janus_http.c:janus_http_headers:1777] referer: https://bo.test.local/console.html
[transports/janus_http.c:janus_http_headers:1777] content-type: text/plain;charset=UTF-8
[transports/janus_http.c:janus_http_headers:1777] origin: https://bo.test.local
[transports/janus_http.c:janus_http_headers:1777] dnt: 1
[transports/janus_http.c:janus_http_headers:1777] pragma: no-cache
[transports/janus_http.c:janus_http_headers:1777] cache-control: no-cache
[transports/janus_http.c:janus_http_handler:1199] Processing HTTP POST request on /janus/6603214959602792/8324549804866150...
[transports/janus_http.c:janus_http_handler:1252] ... parsing request...
Session: 6603214959602792
Handle: 8324549804866150
Processing POST data (text/plain;charset=UTF-8) (856 bytes)...
[transports/janus_http.c:janus_http_handler:1277] -- Data we have now (856 bytes)
[transports/janus_http.c:janus_http_handler:1199] Processing HTTP POST request on /janus/6603214959602792/8324549804866150...
[transports/janus_http.c:janus_http_handler:1252] ... parsing request...
Session: 6603214959602792
Handle: 8324549804866150
Processing POST data (text/plain;charset=UTF-8) (0 bytes)...
[transports/janus_http.c:janus_http_handler:1282] Done getting payload, we can answer
{"janus":"message","transaction":"transaction-static","jsep":{"type":"answer","sdp":"v=0\r\no=mozilla...THIS_IS_SDPARTA-65.0 8756217267182311058 0 IN IP4 0.0.0.0\r\ns=-\r\nt=0 0\r\na=fingerprint:sha-256 94:AC:53:EC:E5:8D:0D:74:52:84:87:94:C8:89:3D:FD:D1:7D:C5:08:ED:DB:26:34:28:D1:93:D7:96:D6:8D:F9\r\na=group:BUNDLE audio\r\na=ice-options:trickle\r\na=msid-semantic:WMS *\r\nm=audio 9 UDP/TLS/RTP/SAVPF 111\r\nc=IN IP4 0.0.0.0\r\na=recvonly\r\na=fmtp:111 maxplaybackrate=48000;stereo=1;useinbandfec=1\r\na=ice-pwd:4b0a74252e6da0effc32250b5db8b7d4\r\na=ice-ufrag:4c3f3600\r\na=mid:audio\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=setup:active\r\na=ssrc:617977526 cname:{21c9ac2f-268a-454e-8a1d-64b447219802}\r\nm=video 0 UDP/TLS/RTP/SAVPF 120\r\nc=IN IP4 0.0.0.0\r\na=inactive\r\na=mid:video\r\na=rtpmap:120 VP8/90000\r\n"},"body":{"request":"start"}}
Forwarding request to the core (0x564d22c8d160)
Got a Janus API request from janus.transport.http (0x564d22c8d160)
Transport task pool, serving request
[8324549804866150] There's a message for JANUS Streaming plugin
[8324549804866150] Remote SDP:
v=0
o=mozilla...THIS_IS_SDPARTA-65.0 8756217267182311058 0 IN IP4 0.0.0.0
s=-
t=0 0
a=fingerprint:sha-256 94:AC:53:EC:E5:8D:0D:74:52:84:87:94:C8:89:3D:FD:D1:7D:C5:08:ED:DB:26:34:28:D1:93:D7:96:D6:8D:F9
a=group:BUNDLE audio
a=ice-options:trickle
a=msid-semantic:WMS *
m=audio 9 UDP/TLS/RTP/SAVPF 111
c=IN IP4 0.0.0.0
a=recvonly
a=fmtp:111 maxplaybackrate=48000;stereo=1;useinbandfec=1
a=ice-pwd:4b0a74252e6da0effc32250b5db8b7d4
a=ice-ufrag:4c3f3600
a=mid:audio
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=setup:active
a=ssrc:617977526 cname:{21c9ac2f-268a-454e-8a1d-64b447219802}
m=video 0 UDP/TLS/RTP/SAVPF 120
c=IN IP4 0.0.0.0
a=inactive
a=mid:video
a=rtpmap:120 VP8/90000
[8324549804866150] Audio mid: audio
[8324549804866150] Audio has been negotiated, Video has NOT been negotiated, SCTP/DataChannels have NOT been negotiated
[8324549804866150] Fingerprint (global) : sha-256 94:AC:53:EC:E5:8D:0D:74:52:84:87:94:C8:89:3D:FD:D1:7D:C5:08:ED:DB:26:34:28:D1:93:D7:96:D6:8D:F9
[8324549804866150] Parsing audio candidates (stream=1)...
[8324549804866150] ICE pwd (local): 4b0a74252e6da0effc32250b5db8b7d4
[8324549804866150] ICE ufrag (local): 4c3f3600
[8324549804866150] Audio mid: audio
[8324549804866150] DTLS setup (local): active
[8324549804866150] Setting accept state (DTLS server)
[8324549804866150] Peer audio SSRC: 617977526
[8324549804866150] Video rejected by peer...
[8324549804866150] -- ICE Trickling is supported by the browser, waiting for remote candidates...
-------------------------------------------
>> Anonymized
-------------------------------------------
Creating plugin result...
Sending Janus API response to janus.transport.http (0x564d22c8d160)
Got a Janus API response to send (0x564d22c8d160)
Destroying plugin result...
Starting the streaming
This is involving a negotiation (but we really don't care) as well (answer):
v=0
o=mozilla...THIS_IS_SDPARTA-65.0 8756217267182311058 0 IN IP4 1.1.1.1
s=-
t=0 0
m=audio 9 UDP/TLS/RTP/SAVPF 111
c=IN IP4 1.1.1.1
a=recvonly
a=fmtp:111 maxplaybackrate=48000;stereo=1;useinbandfec=1
a=rtpmap:111 opus/48000/2
m=video 0 UDP/TLS/RTP/SAVPF 0
c=IN IP4 1.1.1.1
a=inactive
[8324549804866150] Sending event to transport...
Sending event to janus.transport.http (0x564d22c709c0)
Got a Janus API event to send (0x564d22c709c0)
>> Pushing event: 0 (Success)
New connection on REST API: ::ffff:10.0.0.6
[transports/janus_http.c:janus_http_handler:1166] Got a HTTP POST request on /janus/6603214959602792/8324549804866150...
[transports/janus_http.c:janus_http_handler:1167] ... Just parsing headers for now...
[transports/janus_http.c:janus_http_headers:1777] X-Real-IP: 10.255.0.2
[transports/janus_http.c:janus_http_headers:1777] X-Forwarded-For: 10.255.0.2
[transports/janus_http.c:janus_http_headers:1777] Host: event-janus.test.local
[transports/janus_http.c:janus_http_headers:1777] Connection: close
[transports/janus_http.c:janus_http_headers:1777] Content-Length: 167
[transports/janus_http.c:janus_http_headers:1777] user-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0
[transports/janus_http.c:janus_http_headers:1777] accept: */*
[transports/janus_http.c:janus_http_headers:1777] accept-language: en-US,en;q=0.5
[transports/janus_http.c:janus_http_headers:1777] accept-encoding: gzip, deflate, br
[transports/janus_http.c:janus_http_headers:1777] referer: https://bo.test.local/console.html
[transports/janus_http.c:janus_http_headers:1777] content-type: text/plain;charset=UTF-8
[transports/janus_http.c:janus_http_headers:1777] origin: https://bo.test.local
[transports/janus_http.c:janus_http_headers:1777] dnt: 1
[transports/janus_http.c:janus_http_headers:1777] pragma: no-cache
[transports/janus_http.c:janus_http_headers:1777] cache-control: no-cache
[transports/janus_http.c:janus_http_handler:1199] Processing HTTP POST request on /janus/6603214959602792/8324549804866150...
[transports/janus_http.c:janus_http_handler:1252] ... parsing request...
Session: 6603214959602792
Handle: 8324549804866150
Processing POST data (text/plain;charset=UTF-8) (167 bytes)...
[transports/janus_http.c:janus_http_handler:1277] -- Data we have now (167 bytes)
[transports/janus_http.c:janus_http_handler:1199] Processing HTTP POST request on /janus/6603214959602792/8324549804866150...
New connection on REST API: ::ffff:10.0.0.6
[transports/janus_http.c:janus_http_handler:1252] ... parsing request...
Session: 6603214959602792
Handle: 8324549804866150
Processing POST data (text/plain;charset=UTF-8) (0 bytes)...
[transports/janus_http.c:janus_http_handler:1282] Done getting payload, we can answer
{"janus":"trickle","transaction":"transaction","candidate":{"candidate":"candidate:0 1 UDP 2122252543 192.168.0.14 50450 typ host","sdpMid":"audio","sdpMLineIndex":0}}
Forwarding request to the core (0x564d22c8d160)
Got a Janus API request from janus.transport.http (0x564d22c8d160)
[8324549804866150] Trickle candidate (audio): candidate:0 1 UDP 2122252543 192.168.0.14 50450 typ host
[8324549804866150] Adding remote candidate component:1 stream:1 type:host 192.168.0.14:50450
[8324549804866150] Transport: UDP
[8324549804866150] Candidate added to the list! (1 elements for 1/1)
[8324549804866150] ICE already started for this component, setting candidates we have up to now
[8324549804866150] ## Setting remote candidates: stream 1, component 1 (1 in the list)
[8324549804866150] >> Remote Stream #1, Component #1
[8324549804866150] Address: 192.168.0.14:50450
[8324549804866150] Priority: 2122252543
[8324549804866150] Foundation: 0
[8324549804866150] Username: 4c3f3600
[8324549804866150] Password: 4b0a74252e6da0effc32250b5db8b7d4
[8324549804866150] Setting remote credentials...
[8324549804866150] Component state changed for component 1 in stream 1: 2 (connecting)
[8324549804866150] Remote candidates set!
Sending Janus API response to janus.transport.http (0x564d22c8d160)
Got a Janus API response to send (0x564d22c8d160)
[transports/janus_http.c:janus_http_handler:1166] Got a HTTP POST request on /janus/6603214959602792/8324549804866150...
[transports/janus_http.c:janus_http_handler:1167] ... Just parsing headers for now...
[transports/janus_http.c:janus_http_headers:1777] X-Real-IP: 10.255.0.2
[transports/janus_http.c:janus_http_headers:1777] X-Forwarded-For: 10.255.0.2
[transports/janus_http.c:janus_http_headers:1777] Host: event-janus.test.local
[transports/janus_http.c:janus_http_headers:1777] Connection: close
[transports/janus_http.c:janus_http_headers:1777] Content-Length: 178
[transports/janus_http.c:janus_http_headers:1777] user-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0
[transports/janus_http.c:janus_http_headers:1777] accept: */*
[transports/janus_http.c:janus_http_headers:1777] accept-language: en-US,en;q=0.5
[transports/janus_http.c:janus_http_headers:1777] accept-encoding: gzip, deflate, br
[transports/janus_http.c:janus_http_headers:1777] referer: https://bo.test.local/console.html
[transports/janus_http.c:janus_http_headers:1777] content-type: text/plain;charset=UTF-8
[transports/janus_http.c:janus_http_headers:1777] origin: https://bo.test.local
[transports/janus_http.c:janus_http_headers:1777] dnt: 1
[transports/janus_http.c:janus_http_headers:1777] pragma: no-cache
[transports/janus_http.c:janus_http_headers:1777] cache-control: no-cache
[transports/janus_http.c:janus_http_handler:1199] Processing HTTP POST request on /janus/6603214959602792/8324549804866150...
[transports/janus_http.c:janus_http_handler:1252] ... parsing request...
Session: 6603214959602792
Handle: 8324549804866150
Processing POST data (text/plain;charset=UTF-8) (178 bytes)...
[transports/janus_http.c:janus_http_handler:1277] -- Data we have now (178 bytes)
[transports/janus_http.c:janus_http_handler:1199] Processing HTTP POST request on /janus/6603214959602792/8324549804866150...
New connection on REST API: ::ffff:10.0.0.6
New connection on REST API: ::ffff:10.0.0.6
[transports/janus_http.c:janus_http_handler:1252] ... parsing request...
Session: 6603214959602792
Handle: 8324549804866150
Processing POST data (text/plain;charset=UTF-8) (0 bytes)...
[transports/janus_http.c:janus_http_handler:1282] Done getting payload, we can answer
{"janus":"trickle","transaction":"transaction","candidate":{"candidate":"candidate:2 1 TCP 2105524479 192.168.0.14 9 typ host tcptype active","sdpMid":"audio","sdpMLineIndex":0}}
Forwarding request to the core (0x564d22ca3580)
Got a Janus API request from janus.transport.http (0x564d22ca3580)
[8324549804866150] Trickle candidate (audio): candidate:2 1 TCP 2105524479 192.168.0.14 9 typ host tcptype active
[8324549804866150] Adding remote candidate component:1 stream:1 type:host 192.168.0.14:9
[8324549804866150] Skipping unsupported transport 'TCP' for media
Sending Janus API response to janus.transport.http (0x564d22ca3580)
Got a Janus API response to send (0x564d22ca3580)
[transports/janus_http.c:janus_http_handler:1166] Got a HTTP POST request on /janus/6603214959602792/8324549804866150...
[transports/janus_http.c:janus_http_handler:1167] ... Just parsing headers for now...
[transports/janus_http.c:janus_http_headers:1777] X-Real-IP: 10.255.0.2
[transports/janus_http.c:janus_http_headers:1777] X-Forwarded-For: 10.255.0.2
[transports/janus_http.c:janus_http_headers:1777] Host: event-janus.test.local
[transports/janus_http.c:janus_http_headers:1777] Connection: close
[transports/janus_http.c:janus_http_handler:1166] Got a HTTP POST request on /janus/6603214959602792/8324549804866150...
[transports/janus_http.c:janus_http_headers:1777] Content-Length: 78
[transports/janus_http.c:janus_http_handler:1167] ... Just parsing headers for now...
[transports/janus_http.c:janus_http_headers:1777] user-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0
[transports/janus_http.c:janus_http_headers:1777] accept: */*
[transports/janus_http.c:janus_http_headers:1777] X-Real-IP: 10.255.0.2
[transports/janus_http.c:janus_http_headers:1777] accept-language: en-US,en;q=0.5
[transports/janus_http.c:janus_http_headers:1777] X-Forwarded-For: 10.255.0.2
[transports/janus_http.c:janus_http_headers:1777] Host: event-janus.test.local
[transports/janus_http.c:janus_http_headers:1777] accept-encoding: gzip, deflate, br
[transports/janus_http.c:janus_http_headers:1777] Connection: close
[transports/janus_http.c:janus_http_headers:1777] referer: https://bo.test.local/console.html
[transports/janus_http.c:janus_http_headers:1777] Content-Length: 200
[transports/janus_http.c:janus_http_headers:1777] content-type: text/plain;charset=UTF-8
[transports/janus_http.c:janus_http_headers:1777] user-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0
[transports/janus_http.c:janus_http_headers:1777] origin: https://bo.test.local
[transports/janus_http.c:janus_http_headers:1777] accept: */*
[transports/janus_http.c:janus_http_headers:1777] accept-language: en-US,en;q=0.5
[transports/janus_http.c:janus_http_headers:1777] accept-encoding: gzip, deflate, br
[transports/janus_http.c:janus_http_headers:1777] referer: https://bo.test.local/console.html
[transports/janus_http.c:janus_http_headers:1777] content-type: text/plain;charset=UTF-8
[transports/janus_http.c:janus_http_headers:1777] dnt: 1
[transports/janus_http.c:janus_http_headers:1777] origin: https://bo.test.local
[transports/janus_http.c:janus_http_headers:1777] pragma: no-cache
[transports/janus_http.c:janus_http_headers:1777] dnt: 1
[transports/janus_http.c:janus_http_headers:1777] cache-control: no-cache
[transports/janus_http.c:janus_http_handler:1199] Processing HTTP POST request on /janus/6603214959602792/8324549804866150...
[transports/janus_http.c:janus_http_headers:1777] pragma: no-cache
[transports/janus_http.c:janus_http_headers:1777] cache-control: no-cache
[transports/janus_http.c:janus_http_handler:1252] ... parsing request...
Session: 6603214959602792
[transports/janus_http.c:janus_http_handler:1199] Processing HTTP POST request on /janus/6603214959602792/8324549804866150...
Handle: 8324549804866150
Processing POST data (text/plain;charset=UTF-8) (78 bytes)...
[transports/janus_http.c:janus_http_handler:1252] ... parsing request...
[transports/janus_http.c:janus_http_handler:1277] -- Data we have now (78 bytes)
Session: 6603214959602792
Handle: 8324549804866150
[transports/janus_http.c:janus_http_handler:1199] Processing HTTP POST request on /janus/6603214959602792/8324549804866150...
[transports/janus_http.c:janus_http_handler:1252] ... parsing request...
Session: 6603214959602792
Handle: 8324549804866150
Processing POST data (text/plain;charset=UTF-8) (0 bytes)...
[transports/janus_http.c:janus_http_handler:1282] Done getting payload, we can answer
Processing POST data (text/plain;charset=UTF-8) (200 bytes)...
{"janus":"trickle","transaction":"transaction","candidate":{"completed":true}}
[transports/janus_http.c:janus_http_handler:1277] -- Data we have now (200 bytes)
[transports/janus_http.c:janus_http_handler:1199] Processing HTTP POST request on /janus/6603214959602792/8324549804866150...
Forwarding request to the core (0x564d22c89860)
Got a Janus API request from janus.transport.http (0x564d22c89860)
[transports/janus_http.c:janus_http_handler:1252] ... parsing request...
Session: 6603214959602792
No more remote candidates for handle 8324549804866150!
Sending Janus API response to janus.transport.http (0x564d22c89860)
Got a Janus API response to send (0x564d22c89860)
Handle: 8324549804866150
Processing POST data (text/plain;charset=UTF-8) (0 bytes)...
[transports/janus_http.c:janus_http_handler:1282] Done getting payload, we can answer
{"janus":"trickle","transaction":"transaction","candidate":{"candidate":"candidate:1 1 UDP 1686052863 89.159.60.145 50450 typ srflx raddr 192.168.0.14 rport 50450","sdpMid":"audio","sdpMLineIndex":0}}
Forwarding request to the core (0x564d22c8c960)
Got a Janus API request from janus.transport.http (0x564d22c8c960)
[8324549804866150] Trickle candidate (audio): candidate:1 1 UDP 1686052863 89.159.60.145 50450 typ srflx raddr 192.168.0.14 rport 50450
[8324549804866150] Adding remote candidate component:1 stream:1 type:srflx 192.168.0.14:50450 --> 89.159.60.145:50450
[8324549804866150] Transport: UDP
[8324549804866150] Candidate added to the list! (2 elements for 1/1)
[8324549804866150] Trickle candidate added!
Sending Janus API response to janus.transport.http (0x564d22c8c960)
Got a Janus API response to send (0x564d22c8c960)
We have a message to serve...
{
"janus": "event",
"session_id": 6603214959602792,
"transaction": "transaction-static",
"sender": 8324549804866150,
"plugindata": {
"plugin": "janus.plugin.streaming",
"data": {
"streaming": "event",
"result": {
"status": "starting"
}
}
}
}
Segmentation fault (core dumped)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment