You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

296 lines
6.2 KiB

<file name="janus.jcfg">
##
## janus.jcfg -- Janus Gateway Configuration
##
general: {
configs_folder = "@l_prefix@/etc/janus"
plugins_folder = "@l_prefix@/lib/janus/plugins"
transports_folder = "@l_prefix@/lib/janus/transports"
events_folder = "@l_prefix@/lib/janus/events"
loggers_folder = "@l_prefix@/lib/janus/loggers"
daemonize = true
pid_file = "@l_prefix@/var/janus/run/janus.pid"
log_to_stdout = false
log_to_file = "@l_prefix@/var/janus/log/janus.log"
debug_level = 4
debug_timestamps = true
debug_colors = false
server_name = "Janus WebRTC Server"
token_auth = true
token_auth_secret = "janus"
api_secret = "janus"
admin_secret = "janus"
hide_dependencies = true
}
certificates: {
cert_pem = "@l_prefix@/etc/janus/janus-tls-sv.crt"
cert_key = "@l_prefix@/etc/janus/janus-tls-sv.key"
dtls_accept_selfsigned = true
}
nat: {
full_trickle = true
ice_lite = true
ice_tcp = true
}
media: {
rtp_port_range = "6000-6009"
}
plugins: {
disable = ""
}
transports: {
disable = ""
}
loggers: {
disable = ""
}
</file>
<file name="janus.transport.pfunix.jcfg">
##
## janus.transport.pfunix.jcfg -- Janus Gateway Configuration
##
general: {
enabled = true
events = true
path = "@l_prefix@/var/janus/run/janus.control.socket"
type = "SOCK_SEQPACKET"
}
admin: {
admin_enabled = true
admin_path = "@l_prefix@/var/janus/run/janus.admin.socket"
admin_type = "SOCK_SEQPACKET"
}
</file>
<file name="janus.transport.http.jcfg">
##
## janus.transport.http.jcfg -- Janus Gateway Configuration
##
general: {
base_path = "/janus"
http = true
port = 8088
https = true
secure_port = 8089
}
admin: {
admin_base_path = "/janus-admin"
admin_http = true
admin_port = 7088
admin_https = true
admin_secure_port = 7089
}
certificates: {
cert_pem = "@l_prefix@/etc/janus/janus-tls-sv.crt"
cert_key = "@l_prefix@/etc/janus/janus-tls-sv.key"
}
</file>
<file name="janus.transport.websockets.jcfg">
##
## janus.transport.websockets.jcfg -- Janus Gateway Configuration
##
general: {
ws = true
ws_port = 8188
wss = true
wss_port = 8189
}
admin: {
admin_ws = true
admin_ws_port = 7188
admin_wss = true
admin_wss_port = 7189
}
certificates: {
cert_pem = "@l_prefix@/etc/janus/janus-tls-sv.crt"
cert_key = "@l_prefix@/etc/janus/janus-tls-sv.key"
}
</file>
<file name="janus.transport.mqtt.jcfg">
##
## janus.transport.mqtt.jcfg -- Janus Gateway Configuration
##
general: {
enabled = true
events = true
url = "tcp://localhost:1883"
mqtt_version = "5"
client_id = "janus"
username = "example"
password = "example"
subscribe_topic = "example/janus/gateway"
subscribe_qos = 1
publish_topic = "example/janus/gateway"
publish_qos = 1
}
admin: {
admin_enabled = true
subscribe_topic = "example/janus/admin"
subscribe_qos = 1
publish_topic = "example/janus/admin"
publish_qos = 1
}
status: {
enabled = true
connect_message = "{ \"online\": true }"
disconnect_message = "{ \"online\": false }"
topic = "example/janus/status"
qos = 1
retain = false
}
</file>
<file name="janus.plugin.nosip.jcfg">
##
## janus.plugin.nosip.jcfg -- Janus Gateway Configuration
##
general: {
#local_ip = "1.2.3.4"
#sdp_ip = "1.2.3.4"
rtp_port_range = "6000-6009"
}
</file>
<file name="janus.plugin.sip.jcfg">
##
## janus.plugin.sip.jcfg -- Janus Gateway Configuration
##
general: {
#local_ip = "1.2.3.4"
#local_media_ip = "1.2.3.4"
#sdp_ip = "1.2.3.4"
behind_nat = true
user_agent = "Janus WebRTC Gateway"
rtp_port_range = "6000-6009"
}
</file>
<file name="janus.plugin.echotest.jcfg">
##
## janus.plugin.echotest.jcfg -- Janus Gateway Configuration
##
general: {
}
</file>
<file name="janus.plugin.recordplay.jcfg">
##
## janus.plugin.recordplay.jcfg -- Janus Gateway Configuration
##
general: {
path = "@l_prefix@/var/janus/data/recording"
}
</file>
<file name="janus.plugin.voicemail.jcfg">
##
## janus.plugin.voicemail.jcfg -- Janus Gateway Configuration
##
general: {
path = "@l_prefix@/var/janus/data/voicemail"
base = "/voicemail"
}
</file>
<file name="janus.plugin.streaming.jcfg">
##
## janus.plugin.streaming.jcfg -- Janus Gateway Configuration
##
general: {
string_ids = true
}
</file>
<file name="janus.plugin.textroom.jcfg">
##
## janus.plugin.textroom.jcfg -- Janus Gateway Configuration
##
general: {
string_ids = true
}
room-1: {
description = "Demo Text Room"
secret = "demo"
}
</file>
<file name="janus.plugin.audiobridge.jcfg">
##
## janus.plugin.audiobridge.jcfg -- Janus Gateway Configuration
##
general: {
string_ids = true
}
room-1: {
description = "Demo Audio Room"
secret = "demo"
sampling_rate = 16000
record = false
}
</file>
<file name="janus.plugin.videocall.jcfg">
##
## janus.plugin.videocall.jcfg -- Janus Gateway Configuration
##
general: {
}
</file>
<file name="janus.plugin.videoroom.jcfg">
##
## janus.plugin.videoroom.jcfg -- Janus Gateway Configuration
##
general: {
string_ids = true
}
room-1: {
description = "Demo Video Room"
secret = "demo"
publishers = 6
bitrate = 128000
fir_freq = 10
audiocodec = "opus,pcmu"
videocodec = "vp9,vp8,h264"
record = false
}
</file>