Skip to content

Instantly share code, notes, and snippets.

@keremcadirci
Created April 2, 2024 22:03
Show Gist options
  • Save keremcadirci/f4ea619dcc458f80c299182665258b92 to your computer and use it in GitHub Desktop.
Save keremcadirci/f4ea619dcc458f80c299182665258b92 to your computer and use it in GitHub Desktop.
Janus-audiobrigde-2RTPJoin
Compiled on: Mon Mar 18 10:00:12 AM UTC 2024
Logger plugins folder: /opt/janus/lib/janus/loggers
[WARN] Couldn't access logger plugins folder...
---------------------------------------------------
Starting Meetecho Janus (WebRTC Server) v1.2.2
---------------------------------------------------
Checking command line arguments...
[janus.jcfg]
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
loggers_folder: /opt/janus/lib/janus/loggers
debug_level: 7
admin_secret: janusoverlord
protected_folders: [
/bin
/boot
/dev
/etc
/initrd
/lib
/lib32
/lib64
/proc
/sbin
/sys
/usr
/var
/opt/janus/bin
/opt/janus/etc
/opt/janus/include
/opt/janus/lib
/opt/janus/lib32
/opt/janus/lib64
/opt/janus/sbin
]
}
certificates: {
}
media: {
}
nat: {
stun_server: turn.sistas.com.tr
nice_debug: false
turn_server: turn.sistas.com.tr
turn_user: guest
turn_pwd: somepassword
ice_ignore_list: vmnet
}
plugins: {
}
transports: {
}
loggers: {
}
events: {
}
Debug/log level is 7
Debug/log timestamps are disabled
Debug/log colors are enabled
Adding 'vmnet' to the ICE ignore list...
Selecting local IP address...
Using 192.168.12.92 as local IP...
Token based authentication disabled
Initializing recorder code
Initializing ICE stuff (Full mode, ICE-TCP candidates disabled, half-trickle, IPv6 support disabled)
STUN server to use: turn.sistas.com.tr:3478
>> 192.168.12.92:3478 (IPv4)
Testing STUN server: message is of 20 bytes
>> Sent 20 bytes, waiting for reply...
>> Got 104 bytes...
>> XOR-MAPPED-ADDRESS: 0
>> Our public address is 192.168.12.92
TURN server to use: turn.sistas.com.tr:3478 (udp)
>> 192.168.12.92:3478
TURN REST API backend: (disabled)
Using certificates:
(null)
(null)
Crypto: OpenSSL >= 1.1.0
No cert/key specified, autogenerating some...
Generating DTLS key / cert
Fingerprint of our certificate: 1F:B9:48:2F:14:3D:76:72:40:E6:09:45:8E:4F:EC:E5:28:43:95:81:61:C8:A4:4C:A5:36:63:AD:6E:DF:58:AA
[WARN] Data Channels support not compiled
Joining RTCP thread for RTP forwarders...
Event handlers support disabled
Plugins folder: /opt/janus/lib/janus/plugins
Sessions watchdog started
Loading plugin 'libjanus_videoroom.so'...
Joining Janus requests handler thread
JANUS VideoRoom plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.videoroom.jcfg
[janus.plugin.videoroom.jcfg]
general: {
}
room-1234: {
description: Demo Room
secret: adminpwd
publishers: 6
bitrate: 128000
fir_freq: 10
record: false
}
Adding VideoRoom room 'room-1234'
Created VideoRoom: 1234 (Demo Room, public, opus/vp8 codecs, secret: adminpwd, pin: no pin, pvtid: optional)
::: [1234][Demo Room] 128000, max 6 publishers, FIR frequency of 10 seconds, opus audio codec(s), vp8 video codec(s)
JANUS VideoRoom plugin initialized!
Version: 10 (0.0.10)
[janus.plugin.videoroom] JANUS VideoRoom plugin
This is a plugin implementing a videoconferencing SFU (Selective Forwarding Unit) for Janus, that is an audio/video router.
Plugin API version: 104
Loading plugin 'libjanus_recordplay.so'...
JANUS Record&Play plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.recordplay.jcfg
[janus.plugin.recordplay.jcfg]
general: {
path: /opt/janus/share/janus/recordings
}
Updating recordings list in /opt/janus/share/janus/recordings
Importing recording '1234.nfo'...
Pre-parsing file /opt/janus/share/janus/recordings/rec-sample-audio.mjr to generate ordered index...
This is an old audio recording, assuming Opus
Pre-parsing file /opt/janus/share/janus/recordings/rec-sample-video.mjr to generate ordered index...
This is an old video recording, assuming VP8
JANUS Record&Play plugin initialized!
Version: 4 (0.0.4)
[janus.plugin.recordplay] JANUS Record&Play plugin
This is a trivial Record&Play plugin for Janus, to record WebRTC sessions and replay them.
Plugin API version: 104
Loading plugin 'libjanus_videocall.so'...
JANUS VideoCall plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.videocall.jcfg
[janus.plugin.videocall.jcfg]
general: {
}
JANUS VideoCall plugin initialized!
Version: 6 (0.0.6)
[janus.plugin.videocall] JANUS VideoCall plugin
This is a simple video call plugin for Janus, allowing two WebRTC peers to call each other through a server.
Plugin API version: 104
Loading plugin 'libjanus_nosip.so'...
JANUS NoSIP plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.nosip.jcfg
[janus.plugin.nosip.jcfg]
general: {
rtp_port_range: 20000-40000
}
Binding media address set to [any]...
NoSIP RTP/RTCP port range: 20000 -- 40000
Local IP set to 192.168.12.92
JANUS NoSIP plugin initialized!
Version: 1 (0.0.1)
[janus.plugin.nosip] JANUS NoSIP plugin
This is a simple RTP bridging plugin that leaves signalling details (e.g., SIP) up to the application.
Plugin API version: 104
Loading plugin 'libjanus_echotest.so'...
JANUS EchoTest plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.echotest.jcfg
[janus.plugin.echotest.jcfg]
general: {
}
JANUS EchoTest plugin initialized!
Version: 7 (0.0.7)
[janus.plugin.echotest] JANUS EchoTest plugin
This is a trivial EchoTest plugin for Janus, just used to showcase the plugin interface.
Plugin API version: 104
Loading plugin 'libjanus_textroom.so'...
JANUS TextRoom plugin created!
[WARN] Data channels support not compiled, disabling TextRoom plugin
[WARN] The 'janus.plugin.textroom' plugin could not be initialized
Loading plugin 'libjanus_audiobridge.so'...
Joining EchoTest handler thread
JANUS AudioBridge plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.audiobridge.jcfg
[janus.plugin.audiobridge.jcfg]
general: {
}
room-1234: {
description: Demo Room
secret: adminpwd
sampling_rate: 16000
record: false
}
Local IP set to 192.168.12.92
Adding AudioBridge room 'room-1234'
Sampling rate for mixing: 16000
Created AudioBridge room: 1234 (Demo Room, public, secret: adminpwd, pin: no pin)
Joining VideoRoom handler thread
Joining NoSIP handler thread
Joining VideoCall handler thread
Joining Record&Play handler thread
::: [1234][Demo Room] 16000 (will NOT be recorded)
JANUS AudioBridge plugin initialized!
Version: 12 (0.0.12)
[janus.plugin.audiobridge] JANUS AudioBridge plugin
This is a plugin implementing an audio conference bridge for Janus, mixing Opus streams.
Plugin API version: 104
Loading plugin 'libjanus_streaming.so'...
Joining AudioBridge handler thread
JANUS Streaming plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.streaming.jcfg
Audio bridge thread starting...
Thread is for mixing room 1234 (Demo Room) at rate 16000...
[janus.plugin.streaming.jcfg]
general: {
}
rtp-sample: {
type: rtp
id: 1
description: Opus/VP8 live stream coming from external source
metadata: You can use this metadata section to put any info you want!
audio: true
video: true
audioport: 5002
audiopt: 111
audiocodec: opus
videoport: 5004
videopt: 100
videocodec: vp8
secret: adminpwd
}
multistream-test: {
type: rtp
id: 123
description: Multistream test (1 audio, 2 video)
metadata: This is an example of a multistream mountpoint: you'll get an audio stream and two video feeds
media: [
{
type: audio
mid: a
label: Audio stream
port: 5102
pt: 111
codec: opus
}
{
type: video
mid: v1
label: Video stream #1
port: 5104
pt: 100
codec: vp8
}
{
type: video
mid: v2
label: Video stream #2
port: 5106
pt: 100
codec: vp8
}
]
secret: adminpwd
}
file-live-sample: {
type: live
id: 2
description: a-law file source (radio broadcast)
filename: /opt/janus/share/janus/streams/radio.alaw
audio: true
video: false
secret: adminpwd
}
file-ondemand-sample: {
type: ondemand
id: 3
description: mu-law file source (music)
filename: /opt/janus/share/janus/streams/music.mulaw
audio: true
video: false
secret: adminpwd
}
Adding Streaming mountpoint 'rtp-sample'
Adding Streaming mountpoint 'multistream-test'
Adding Streaming mountpoint 'file-live-sample'
Adding Streaming mountpoint 'file-ondemand-sample'
::: [1][rtp-sample] Opus/VP8 live stream coming from external source (live, RTP source, public, pin: no pin)
::: [123][multistream-test] Multistream test (1 audio, 2 video) (live, RTP source, public, pin: no pin)
::: [2][file-live-sample] a-law file source (radio broadcast) (live, file source, public, pin: no pin)
::: [3][file-ondemand-sample] mu-law file source (music) (on demand, file source, public, pin: no pin)
JANUS Streaming plugin initialized!
Version: 10 (0.0.10)
[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 an external source.
Plugin API version: 104
Loading plugin 'libjanus_sip.so'...
Starting streaming relay thread
Filesource (live) thread starting...
Joining Streaming handler thread
[file-live-sample] Opening file source /opt/janus/share/janus/streams/radio.alaw...
[file-live-sample] Streaming audio file: /opt/janus/share/janus/streams/radio.alaw
Starting streaming relay thread
JANUS SIP plugin created!
Configuration file: /opt/janus/etc/janus/janus.plugin.sip.jcfg
[janus.plugin.sip.jcfg]
general: {
keepalive_interval: 120
behind_nat: false
register_ttl: 3600
rtp_port_range: 20000-40000
sip_timer_t1x64: 32000
}
SIP keep-alive interval set to 120 seconds
SIP Timer T1X64 set to 32000 milliseconds
SIP registration TTL set to 3600 seconds
SIP User-Agent set to Janus WebRTC Server SIP Plugin 0.0.8
SIP RTP/RTCP port range: 20000 -- 40000
Local IP set to 192.168.12.92
Binding media address set to [any]...
IP to advertise in SDP: 192.168.12.92
JANUS SIP plugin initialized!
Version: 8 (0.0.8)
[janus.plugin.sip] JANUS SIP plugin
This is a simple SIP plugin for Janus, allowing WebRTC peers to register at a SIP server and call SIP user agents through a Janus instance.
Plugin API version: 104
Transport plugins folder: /opt/janus/lib/janus/transports
Loading transport plugin 'libjanus_http.so'...
Joining SIP handler thread
JANUS REST (HTTP/HTTPS) transport plugin created!
Configuration file: /opt/janus/etc/janus/janus.transport.http.jcfg
[janus.transport.http.jcfg]
general: {
json: indented
base_path: /janus
http: true
port: 8088
ip: 192.168.12.92
https: true
secure_port: 8089
secure_ip: 192.168.12.92
}
admin: {
admin_base_path: /admin
admin_http: false
admin_port: 7088
admin_https: true
admin_secure_port: 7889
admin_secure_ip: 192.168.12.92
}
cors: {
}
certificates: {
cert_pem: /certs/cert.pem
cert_key: /certs/privkey.pem
}
Going to bind the Janus API HTTP webserver to 192.168.12.92 (asked for 192.168.12.92)
Binding to IP '192.168.12.92' for the Janus API HTTP webserver
HTTP webserver started (port 8088, /janus path listener)...
Using certificates:
/certs/cert.pem
/certs/privkey.pem
Going to bind the Janus API HTTPS webserver to 192.168.12.92 (asked for 192.168.12.92)
Binding to IP '192.168.12.92' for the Janus API HTTPS webserver
HTTP transport timer started
HTTPS webserver started (port 8089, /janus path listener)...
Admin/monitor HTTP webserver disabled
Going to bind the Admin API HTTPS webserver to 192.168.12.92 (asked for 192.168.12.92)
Binding to IP '192.168.12.92' for the Admin API HTTPS webserver
Admin/monitor HTTPS webserver started (port 7889, /admin path listener)...
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: 8
Janus API: enabled
Admin API: enabled
Loading transport plugin 'libjanus_nanomsg.so'...
JANUS Nanomsg transport plugin created!
Configuration file: /opt/janus/etc/janus/janus.transport.nanomsg.jcfg
[janus.transport.nanomsg.jcfg]
general: {
enabled: true
json: indented
address: ipc:///tmp/janus.ipc
}
admin: {
admin_enabled: false
}
Nanomsg server disabled (Admin API)
JANUS Nanomsg transport plugin initialized!
Version: 1 (0.0.1)
[janus.transport.nanomsg] JANUS Nanomsg transport plugin
This transport plugin adds Nanomsg support to the Janus API.
Plugin API version: 8
Janus API: enabled
Admin API: disabled
Loading transport plugin 'libjanus_pfunix.so'...
Nanomsg thread started
JANUS Unix Sockets transport plugin created!
Configuration file: /opt/janus/etc/janus/janus.transport.pfunix.jcfg
[janus.transport.pfunix.jcfg]
general: {
enabled: false
json: indented
}
admin: {
admin_enabled: false
}
Unix Sockets server disabled (Janus API)
Unix Sockets server disabled (Admin API)
[WARN] No Unix Sockets server started, giving up...
[WARN] The 'janus.transport.pfunix' plugin could not be initialized
New connection on REST API: 192.168.20.202
[transports/janus_http.c:janus_http_handler:1378] Got a HTTP POST request on /janus/...
[transports/janus_http.c:janus_http_handler:1379] ... Just parsing headers for now...
[transports/janus_http.c:janus_http_headers:2060] Host: janus.sistas.com.tr:8089
[transports/janus_http.c:janus_http_headers:2060] Transfer-Encoding: chunked
[transports/janus_http.c:janus_http_headers:2060] traceparent: 00-48f6017f3b9b6f6ae3b54c570b91d37c-a0756d7023964706-01
[transports/janus_http.c:janus_http_headers:2060] Content-Type: application/json; charset=utf-8
[transports/janus_http.c:janus_http_handler:1417] Processing HTTP POST request on /janus/...
[transports/janus_http.c:janus_http_handler:1481] ... parsing request...
Processing POST data (application/json; charset=utf-8) (53 bytes)...
[transports/janus_http.c:janus_http_handler:1506] -- Data we have now (53 bytes)
[transports/janus_http.c:janus_http_handler:1417] Processing HTTP POST request on /janus/...
[transports/janus_http.c:janus_http_handler:1481] ... parsing request...
Processing POST data (application/json; charset=utf-8) (0 bytes)...
[transports/janus_http.c:janus_http_handler:1511] Done getting payload, we can answer
{"janus":"create","transaction":"638477021662920475"}
[transports/janus_http.c:janus_http_request_timeout_create:262] [0x7f2d8c00ea70] create (10)
Forwarding request to the core (0x7f2d8c00e3c0)
Got a Janus API request from janus.transport.http (0x7f2d8c00e460)
Creating new session: 6833375993981083; 0x7f2db8001e60
Session created (6833375993981083), create a queue for the long poll
Sending Janus API response to janus.transport.http (0x7f2d8c00e460)
Got a Janus API response to send (0x7f2d8c00e460)
[transports/janus_http.c:janus_http_request_timeout_finalize:241] [0x7f2d8c00ea70] finalize
[transports/janus_http.c:janus_http_request_completed:2086] Request completed, freeing data
[transports/janus_http.c:janus_http_handler:1378] Got a HTTP POST request on /janus/6833375993981083...
[transports/janus_http.c:janus_http_handler:1379] ... Just parsing headers for now...
[transports/janus_http.c:janus_http_headers:2060] Host: janus.sistas.com.tr:8089
[transports/janus_http.c:janus_http_headers:2060] Transfer-Encoding: chunked
[transports/janus_http.c:janus_http_headers:2060] traceparent: 00-48f6017f3b9b6f6ae3b54c570b91d37c-5d7e71bfd60db09e-01
[transports/janus_http.c:janus_http_headers:2060] Content-Type: application/json; charset=utf-8
[transports/janus_http.c:janus_http_handler:1417] Processing HTTP POST request on /janus/6833375993981083...
[transports/janus_http.c:janus_http_handler:1481] ... parsing request...
Session: 6833375993981083
Processing POST data (application/json; charset=utf-8) (89 bytes)...
[transports/janus_http.c:janus_http_handler:1506] -- Data we have now (89 bytes)
[transports/janus_http.c:janus_http_handler:1417] Processing HTTP POST request on /janus/6833375993981083...
[transports/janus_http.c:janus_http_handler:1481] ... parsing request...
Session: 6833375993981083
Processing POST data (application/json; charset=utf-8) (0 bytes)...
[transports/janus_http.c:janus_http_handler:1511] Done getting payload, we can answer
{"janus":"attach","plugin":"janus.plugin.audiobridge","transaction":"638477021663765455"}
[transports/janus_http.c:janus_http_request_timeout_create:262] [0x7f2d8c00f2e0] create (10)
Forwarding request to the core (0x7f2d8c0145a0)
Got a Janus API request from janus.transport.http (0x7f2d8c014640)
Creating new handle in session 6833375993981083: 116717530900321; 0x7f2db8001e60 0x7f2db80025b0
Sending Janus API response to janus.transport.http (0x7f2d8c014640)
Got a Janus API response to send (0x7f2d8c014640)
[transports/janus_http.c:janus_http_request_timeout_finalize:241] [0x7f2d8c00f2e0] finalize
[transports/janus_http.c:janus_http_request_completed:2086] Request completed, freeing data
[116717530900321] Handle thread started; 0x7f2db80025b0
[ice.c:janus_ice_handle_thread:1372] [116717530900321] Looping...
New connection on REST API: 192.168.20.202
[transports/janus_http.c:janus_http_handler:1378] Got a HTTP GET request on /janus/6833375993981083...
[transports/janus_http.c:janus_http_handler:1379] ... Just parsing headers for now...
[transports/janus_http.c:janus_http_headers:2060] Host: janus.sistas.com.tr:8089
[transports/janus_http.c:janus_http_headers:2060] traceparent: 00-48f6017f3b9b6f6ae3b54c570b91d37c-7d1213f3c9ccf693-01
[transports/janus_http.c:janus_http_handler:1417] Processing HTTP GET request on /janus/6833375993981083...
[transports/janus_http.c:janus_http_handler:1481] ... parsing request...
Session: 6833375993981083
Got a Janus API request from janus.transport.http (0x7f2d8c00f2a0)
Session 6833375993981083 found... returning up to 1 messages
Got a keep-alive on session 6833375993981083
[transports/janus_http.c:janus_http_request_timeout_create:262] [0x7f2d8c01e800] create (30)
Sending Janus API response to janus.transport.http (0x7f2d8c00f2a0)
Got a Janus API response to send (0x7f2d8c00f2a0)
[transports/janus_http.c:janus_http_handler:1378] Got a HTTP POST request on /janus/...
[transports/janus_http.c:janus_http_handler:1379] ... Just parsing headers for now...
[transports/janus_http.c:janus_http_headers:2060] Host: janus.sistas.com.tr:8089
[transports/janus_http.c:janus_http_headers:2060] Transfer-Encoding: chunked
[transports/janus_http.c:janus_http_headers:2060] traceparent: 00-2fe0ced9a8f9319ec2f064bd6f58a1f5-962c6150b259b98b-01
[transports/janus_http.c:janus_http_headers:2060] Content-Type: application/json; charset=utf-8
[transports/janus_http.c:janus_http_handler:1417] Processing HTTP POST request on /janus/...
[transports/janus_http.c:janus_http_handler:1481] ... parsing request...
Processing POST data (application/json; charset=utf-8) (53 bytes)...
[transports/janus_http.c:janus_http_handler:1506] -- Data we have now (53 bytes)
[transports/janus_http.c:janus_http_handler:1417] Processing HTTP POST request on /janus/...
[transports/janus_http.c:janus_http_handler:1481] ... parsing request...
Processing POST data (application/json; charset=utf-8) (0 bytes)...
[transports/janus_http.c:janus_http_handler:1511] Done getting payload, we can answer
{"janus":"create","transaction":"638477021697960119"}
[transports/janus_http.c:janus_http_request_timeout_create:262] [0x7f2d8c01d5c0] create (10)
Forwarding request to the core (0x7f2d8c01e240)
Got a Janus API request from janus.transport.http (0x7f2d8c01da50)
Creating new session: 934176806834367; 0x7f2d8c00ec40
Session created (934176806834367), create a queue for the long poll
Sending Janus API response to janus.transport.http (0x7f2d8c01da50)
Got a Janus API response to send (0x7f2d8c01da50)
[transports/janus_http.c:janus_http_request_timeout_finalize:241] [0x7f2d8c01d5c0] finalize
[transports/janus_http.c:janus_http_request_completed:2086] Request completed, freeing data
[transports/janus_http.c:janus_http_handler:1378] Got a HTTP POST request on /janus/934176806834367...
[transports/janus_http.c:janus_http_handler:1379] ... Just parsing headers for now...
[transports/janus_http.c:janus_http_headers:2060] Host: janus.sistas.com.tr:8089
[transports/janus_http.c:janus_http_headers:2060] Transfer-Encoding: chunked
[transports/janus_http.c:janus_http_headers:2060] traceparent: 00-2fe0ced9a8f9319ec2f064bd6f58a1f5-4d4089d78de403b5-01
[transports/janus_http.c:janus_http_headers:2060] Content-Type: application/json; charset=utf-8
[transports/janus_http.c:janus_http_handler:1417] Processing HTTP POST request on /janus/934176806834367...
[transports/janus_http.c:janus_http_handler:1481] ... parsing request...
Session: 934176806834367
Processing POST data (application/json; charset=utf-8) (89 bytes)...
[transports/janus_http.c:janus_http_handler:1506] -- Data we have now (89 bytes)
[transports/janus_http.c:janus_http_handler:1417] Processing HTTP POST request on /janus/934176806834367...
[transports/janus_http.c:janus_http_handler:1481] ... parsing request...
Session: 934176806834367
Processing POST data (application/json; charset=utf-8) (0 bytes)...
[transports/janus_http.c:janus_http_handler:1511] Done getting payload, we can answer
{"janus":"attach","plugin":"janus.plugin.audiobridge","transaction":"638477021698142587"}
[transports/janus_http.c:janus_http_request_timeout_create:262] [0x7f2d8c01ecf0] create (10)
Forwarding request to the core (0x7f2d8c01d690)
Got a Janus API request from janus.transport.http (0x7f2d8c01d580)
Creating new handle in session 934176806834367: 3049123928170642; 0x7f2d8c00ec40 0x7f2db8004720
Sending Janus API response to janus.transport.http (0x7f2d8c01d580)
Got a Janus API response to send (0x7f2d8c01d580)
[transports/janus_http.c:janus_http_request_timeout_finalize:241] [0x7f2d8c01ecf0] finalize
[transports/janus_http.c:janus_http_request_completed:2086] Request completed, freeing data
[3049123928170642] Handle thread started; 0x7f2db8004720
[ice.c:janus_ice_handle_thread:1372] [3049123928170642] Looping...
[transports/janus_http.c:janus_http_handler:1378] Got a HTTP GET request on /janus/934176806834367...
[transports/janus_http.c:janus_http_handler:1379] ... Just parsing headers for now...
[transports/janus_http.c:janus_http_headers:2060] Host: janus.sistas.com.tr:8089
[transports/janus_http.c:janus_http_headers:2060] traceparent: 00-2fe0ced9a8f9319ec2f064bd6f58a1f5-de8b7ab1342f9e09-01
[transports/janus_http.c:janus_http_handler:1417] Processing HTTP GET request on /janus/934176806834367...
[transports/janus_http.c:janus_http_handler:1481] ... parsing request...
Session: 934176806834367
Got a Janus API request from janus.transport.http (0x7f2d8c01d4e0)
Session 934176806834367 found... returning up to 1 messages
[transports/janus_http.c:janus_http_request_timeout_create:262] [0x7f2d8c01f290] create (30)
Got a keep-alive on session 934176806834367
Sending Janus API response to janus.transport.http (0x7f2d8c01d4e0)
Got a Janus API response to send (0x7f2d8c01d4e0)
New connection on REST API: 192.168.20.202
[transports/janus_http.c:janus_http_handler:1378] Got a HTTP POST request on /janus/934176806834367/3049123928170642...
[transports/janus_http.c:janus_http_handler:1379] ... Just parsing headers for now...
[transports/janus_http.c:janus_http_headers:2060] Host: janus.sistas.com.tr:8089
[transports/janus_http.c:janus_http_headers:2060] Transfer-Encoding: chunked
[transports/janus_http.c:janus_http_headers:2060] traceparent: 00-2fe0ced9a8f9319ec2f064bd6f58a1f5-929dba2108eb5a0e-01
[transports/janus_http.c:janus_http_headers:2060] Content-Type: application/json; charset=utf-8
[transports/janus_http.c:janus_http_handler:1417] Processing HTTP POST request on /janus/934176806834367/3049123928170642...
[transports/janus_http.c:janus_http_handler:1481] ... parsing request...
Session: 934176806834367
Handle: 3049123928170642
Processing POST data (application/json; charset=utf-8) (250 bytes)...
[transports/janus_http.c:janus_http_handler:1506] -- Data we have now (250 bytes)
[transports/janus_http.c:janus_http_handler:1417] Processing HTTP POST request on /janus/934176806834367/3049123928170642...
[transports/janus_http.c:janus_http_handler:1481] ... parsing request...
Session: 934176806834367
Handle: 3049123928170642
Processing POST data (application/json; charset=utf-8) (0 bytes)...
[transports/janus_http.c:janus_http_handler:1511] Done getting payload, we can answer
{"body":{"request":"create","room":6846789519213138,"description":"6846789519213138","secret":"12345","pin":"12345","permanent":false,"is_private":true,"record":true,"allow_rtp_participants":true},"janus":"message","transaction":"638477021698641580"}
[transports/janus_http.c:janus_http_request_timeout_create:262] [0x7f2d8c02b570] create (10)
Forwarding request to the core (0x7f2d8c01ee10)
Got a Janus API request from janus.transport.http (0x7f2d8c01d8a0)
Transport task pool, serving request
[3049123928170642] There's a message for JANUS AudioBridge plugin
Creating a new AudioBridge room
Sampling rate for mixing: 16000
Created AudioBridge: 6846789519213138 (6846789519213138, private, secret: 12345, pin: 12345)
Creating plugin result...
Sending Janus API response to janus.transport.http (0x7f2d8c01d8a0)
Got a Janus API response to send (0x7f2d8c01d8a0)
[transports/janus_http.c:janus_http_request_timeout_finalize:241] [0x7f2d8c02b570] finalize
[transports/janus_http.c:janus_http_request_completed:2086] Request completed, freeing data
Destroying plugin result...
Audio bridge thread starting...
Thread is for mixing room 6846789519213138 (6846789519213138) at rate 16000...
Adding WAV header for recording 6846789519213138 (6846789519213138)...
Recording requested, opened file janus-audioroom-6846789519213138-1712094569889053.wav for writing
[transports/janus_http.c:janus_http_handler:1378] Got a HTTP POST request on /janus/934176806834367/3049123928170642...
[transports/janus_http.c:janus_http_handler:1379] ... Just parsing headers for now...
[transports/janus_http.c:janus_http_headers:2060] Host: janus.sistas.com.tr:8089
[transports/janus_http.c:janus_http_headers:2060] Transfer-Encoding: chunked
[transports/janus_http.c:janus_http_headers:2060] traceparent: 00-2fe0ced9a8f9319ec2f064bd6f58a1f5-7cf5ce18a6fba09f-01
[transports/janus_http.c:janus_http_headers:2060] Content-Type: application/json; charset=utf-8
[transports/janus_http.c:janus_http_handler:1417] Processing HTTP POST request on /janus/934176806834367/3049123928170642...
[transports/janus_http.c:janus_http_handler:1481] ... parsing request...
Session: 934176806834367
Handle: 3049123928170642
Processing POST data (application/json; charset=utf-8) (247 bytes)...
[transports/janus_http.c:janus_http_handler:1506] -- Data we have now (247 bytes)
[transports/janus_http.c:janus_http_handler:1417] Processing HTTP POST request on /janus/934176806834367/3049123928170642...
[transports/janus_http.c:janus_http_handler:1481] ... parsing request...
Session: 934176806834367
Handle: 3049123928170642
Processing POST data (application/json; charset=utf-8) (0 bytes)...
[transports/janus_http.c:janus_http_handler:1511] Done getting payload, we can answer
{"body":{"request":"join","room":6846789519213138,"pin":"12345","id":6669739804561543,"group":"unknown","muted":false,"codec":"pcma","rtp":{"ip":"192.168.12.186","port":20070,"payload_type":8}},"janus":"message","transaction":"638477021699804608"}
[transports/janus_http.c:janus_http_request_timeout_create:262] [0x7f2d8c02bd70] create (10)
Forwarding request to the core (0x7f2d8c02a3d0)
Got a Janus API request from janus.transport.http (0x7f2d8c02b530)
Transport task pool, serving request
[3049123928170642] There's a message for JANUS AudioBridge plugin
Creating plugin result...
Sending Janus API response to janus.transport.http (0x7f2d8c02b530)
Got a Janus API response to send (0x7f2d8c02b530)
[transports/janus_http.c:janus_http_request_timeout_finalize:241] [0x7f2d8c02bd70] finalize
Configuring new participant
-- Participant ID: 6669739804561543
Destroying plugin result...
Creating Opus encoder/decoder (sampling rate 16000)
[transports/janus_http.c:janus_http_request_completed:2086] Request completed, freeing data
Preparing JSON event as a reply
[3049123928170642] Sending event to transport...
Sending event to janus.transport.http (0x7f2d8c01da50)
Got a Janus API event to send (0x7f2d8c01da50)
[transports/janus_http.c:janus_http_request_timeout_finalize:241] [0x7f2d8c01f290] finalize
[transports/janus_http.c:janus_http_notifier:2137] ... handling long poll...
We have a message to serve...
{
"janus": "event",
"session_id": 934176806834367,
"transaction": "638477021699804608",
"sender": 3049123928170642,
"plugindata": {
"plugin": "janus.plugin.audiobridge",
"data": {
"audiobridge": "joined",
"room": 6846789519213138,
"id": 6669739804561543,
"participants": [],
"rtp": {
"ip": "192.168.12.92",
"port": 10000,
"payload_type": 8
}
}
}
}
>> 0 (Success)
[AudioBridge-0x7f2db80048a0] Starting Plain RTP participant thread
AudioBridge Participant thread starting...
Thread is for participant 6669739804561543 (??)
[transports/janus_http.c:janus_http_request_completed:2086] Request completed, freeing data
First user/forwarder/file just joined room 6846789519213138, waking it up...
[transports/janus_http.c:janus_http_handler:1378] Got a HTTP GET request on /janus/934176806834367...
[transports/janus_http.c:janus_http_handler:1379] ... Just parsing headers for now...
[transports/janus_http.c:janus_http_headers:2060] Host: janus.sistas.com.tr:8089
[transports/janus_http.c:janus_http_headers:2060] traceparent: 00-2fe0ced9a8f9319ec2f064bd6f58a1f5-2c1c1fcb7bad9ca3-01
[transports/janus_http.c:janus_http_handler:1417] Processing HTTP GET request on /janus/934176806834367...
[transports/janus_http.c:janus_http_handler:1481] ... parsing request...
Session: 934176806834367
Got a Janus API request from janus.transport.http (0x7f2d8c02bd30)
Session 934176806834367 found... returning up to 1 messages
[transports/janus_http.c:janus_http_request_timeout_create:262] [0x7f2d8c02b4b0] create (30)
Got a keep-alive on session 934176806834367
Sending Janus API response to janus.transport.http (0x7f2d8c02bd30)
Got a Janus API response to send (0x7f2d8c02bd30)
[transports/janus_http.c:janus_http_request_timeout_dispatch:231] [0x7f2d8c01e800] dispatch
We have a message to serve...
{
"janus": "keepalive"
}
[transports/janus_http.c:janus_http_request_timeout_finalize:241] [0x7f2d8c01e800] finalize
[transports/janus_http.c:janus_http_request_completed:2086] Request completed, freeing data
[transports/janus_http.c:janus_http_handler:1378] Got a HTTP POST request on /janus/934176806834367/3049123928170642...
[transports/janus_http.c:janus_http_handler:1379] ... Just parsing headers for now...
[transports/janus_http.c:janus_http_headers:2060] Host: janus.sistas.com.tr:8089
[transports/janus_http.c:janus_http_headers:2060] Transfer-Encoding: chunked
[transports/janus_http.c:janus_http_headers:2060] traceparent: 00-fe45aaa22b5ac1fd7fcbcb249e5d93b2-19d7b2be6f02b362-01
[transports/janus_http.c:janus_http_headers:2060] Content-Type: application/json; charset=utf-8
[transports/janus_http.c:janus_http_handler:1417] Processing HTTP POST request on /janus/934176806834367/3049123928170642...
[transports/janus_http.c:janus_http_handler:1481] ... parsing request...
Session: 934176806834367
Handle: 3049123928170642
Processing POST data (application/json; charset=utf-8) (246 bytes)...
[transports/janus_http.c:janus_http_handler:1506] -- Data we have now (246 bytes)
[transports/janus_http.c:janus_http_handler:1417] Processing HTTP POST request on /janus/934176806834367/3049123928170642...
[transports/janus_http.c:janus_http_handler:1481] ... parsing request...
Session: 934176806834367
Handle: 3049123928170642
Processing POST data (application/json; charset=utf-8) (0 bytes)...
[transports/janus_http.c:janus_http_handler:1511] Done getting payload, we can answer
{"body":{"request":"join","room":6846789519213138,"pin":"12345","id":2645901459177423,"group":"unknown","muted":false,"codec":"pcma","rtp":{"ip":"192.168.20.202","port":7078,"payload_type":8}},"janus":"message","transaction":"638477021990851334"}
[transports/janus_http.c:janus_http_request_timeout_create:262] [0x7f2d8c02c2d0] create (10)
Forwarding request to the core (0x7f2d8c01e760)
Got a Janus API request from janus.transport.http (0x7f2d8c01d540)
Transport task pool, serving request
[3049123928170642] There's a message for JANUS AudioBridge plugin
Creating plugin result...
Sending Janus API response to janus.transport.http (0x7f2d8c01d540)
Got a Janus API response to send (0x7f2d8c01d540)
[transports/janus_http.c:janus_http_request_timeout_finalize:241] [0x7f2d8c02c2d0] finalize
Configuring new participant
[ERR] [plugins/janus_audiobridge.c:janus_audiobridge_handler:6167] Already in a room (use changeroom to join another one)
Destroying plugin result...
[3049123928170642] Sending event to transport...
Sending event to janus.transport.http (0x7f2d8c01da50)
Got a Janus API event to send (0x7f2d8c01da50)
[transports/janus_http.c:janus_http_request_timeout_finalize:241] [0x7f2d8c02b4b0] finalize
[transports/janus_http.c:janus_http_notifier:2137] ... handling long poll...
We have a message to serve...
{
"janus": "event",
"session_id": 934176806834367,
"transaction": "638477021990851334",
"sender": 3049123928170642,
"plugindata": {
"plugin": "janus.plugin.audiobridge",
"data": {
"audiobridge": "event",
"error_code": 491,
"error": "Already in a room (use changeroom to join another one)"
}
}
}
>> Pushing event: 0 (Success)
[transports/janus_http.c:janus_http_request_completed:2086] Request completed, freeing data
[transports/janus_http.c:janus_http_request_completed:2086] Request completed, freeing data
Timeout expired for session 6833375993981083...
[116717530900321] Hanging up PeerConnection because of a Detach
Detaching handle from JANUS AudioBridge plugin; 0x7f2db80025b0 0x7f2d8c012f20 0x7f2db80025b0 0x7f2db8003790
[116717530900321] Handle detached, scheduling destruction
Got a Janus API event to send (0x7f2d8c00e460)
Session has timed out and has not been claimed (6833375993981083), getting rid of the queue for the long poll
Destroying session 6833375993981083; 0x7f2db8001e60
[116717530900321] Telling the plugin about the hangup (JANUS AudioBridge plugin)
[janus.plugin.audiobridge-0x7f2d8c012f20] No WebRTC media anymore
No WebRTC media anymore
[116717530900321] Telling the plugin about the handle detach (JANUS AudioBridge plugin)
Removing AudioBridge session...
No WebRTC media anymore
[116717530900321] Sending event to transport...; 0x7f2db80025b0
[116717530900321] Finalizing loop source
[116717530900321] Handle thread ended! 0x7f2db80025b0
[116717530900321] Handle and related resources freed; 0x7f2db80025b0 0x7f2db8001e60
Timeout expired for session 934176806834367...
[3049123928170642] Hanging up PeerConnection because of a Detach
Detaching handle from JANUS AudioBridge plugin; 0x7f2db8004720 0x7f2d8c012520 0x7f2db8004720 0x7f2db80048a0
[3049123928170642] Handle detached, scheduling destruction
Got a Janus API event to send (0x7f2d8c01da50)
Session has timed out and has not been claimed (934176806834367), getting rid of the queue for the long poll
Destroying session 934176806834367; 0x7f2d8c00ec40
[3049123928170642] Telling the plugin about the hangup (JANUS AudioBridge plugin)
[janus.plugin.audiobridge-0x7f2d8c012520] No WebRTC media anymore
No WebRTC media anymore
[3049123928170642] Telling the plugin about the handle detach (JANUS AudioBridge plugin)
Removing AudioBridge session...
No WebRTC media anymore
[3049123928170642] Sending event to transport...; 0x7f2db8004720
[3049123928170642] Finalizing loop source
[3049123928170642] Handle thread ended! 0x7f2db8004720
AudioBridge Participant thread leaving...
Last user/forwarder/file just left room 6846789519213138, going idle...
[AudioBridge-0x7f2db80048a0] Leaving Plain RTP participant thread
[3049123928170642] Handle and related resources freed; 0x7f2db8004720 0x7f2d8c00ec40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment