Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
johzzy committed Jun 14, 2023
1 parent 8405cc6 commit 0f55d3c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions trunk/conf/johnny.conf
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# WebRTC streaming config for SRS.
# @see full.conf for detail config.

listen 1935;
listen 19350;
max_connections 1000;
daemon off;
srs_log_tank console;

pid /tmp/johnny.pid
pid /tmp/johnny2.pid
query_latest_version off;

heartbeat {
Expand All @@ -23,13 +23,13 @@ heartbeat {

http_server {
enabled on;
listen 8080;
listen 18080;
dir ./objs/nginx/html;
}

http_api {
enabled on;
listen 1985;
listen 11985;
}
stats {
network 0;
Expand Down Expand Up @@ -62,7 +62,7 @@ vhost __defaultVhost__ {
dvr {
# realname is ./objs/nginx/html/[app]/[stream].[timestamp].mjr if ENABLE_MJR_DVR, detail @see
# feat(record/mjr): add ENABLE_MJR_DVR in auto_headers.sh, Disable SrsDvr/SrsDvrSegmentPlan/SrsDvrSessionPlan
enabled on;
enabled off;
dvr_path ./objs/nginx/html/[app]/[stream].[timestamp].mp4;
dvr_plan session;
}
Expand Down Expand Up @@ -92,7 +92,7 @@ vhost __defaultVhost__ {
# on_stop http://127.0.0.1:80/api/v1/sessions;
}
http_remux {
enabled on;
enabled off;
mount [vhost]/[app]/[stream].flv;
}
}
Expand Down

0 comments on commit 0f55d3c

Please sign in to comment.