-
-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-Start the project and introduce the conf directory, adding several c…
…ommon configuration examples -Customizable favicon.ico -Adding Pause and Resume methods to Stream in the engine -The engine introduces sync.Cond to replace the pseudo Spinlock -Preview plugin introduction jessibuca pro demo -Jessica plugin introduces support for HTTP/ws-h264/h265 bare streams -Recording plugin adds a prompt in the log when the file cannot be created -PS plugin fixes a bug where a single port cannot be reused after use -Webtransport starts by default through built-in certificate mode - 启动工程引入conf目录,添加若干常用配置示例 - 可以自定义favicon.ico - 引擎中Stream增加Pause和Resume方法 - 引擎引入sync.Cond替代伪自旋锁 - 预览插件引入jessibuca pro demo - jessica插件引入对http/ws-h264/h265 裸流支持 - 录制插件在无法创建文件时日志中增加提示 - ps插件修复一个单端口使用后无法重复使用的bug - webtransport通过内置证书方式默认启动
- Loading branch information
1 parent
ebc7e90
commit a9c4334
Showing
10 changed files
with
80 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# hls纯转发,即从HLS->HLS | ||
|
||
global: | ||
disableall: true | ||
enablertp: false | ||
enableavcc: false | ||
hls: | ||
enable: true | ||
relaymode: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# 默认的http端口是8080 | ||
# 这里指定8081为https端口 | ||
# 本地访问https://local.monibuca.com:8081,请配置host文件,将127.0.0.1 local.monibuca.com加入到host文件中 | ||
global: | ||
listenaddrlts: :8081 | ||
certfile: local.monibuca.com_bundle.pem | ||
keyfile: local.monibuca.com.key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# 只包含rtmp,关闭其他所有插件,只能用于rtmp的转发 | ||
global: | ||
disableall: true | ||
enablertp: false | ||
rtmp: | ||
enable: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# 开启接受rtmps | ||
rtmp: | ||
tcp: | ||
listenaddrtls: :443 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# rtsp 拉流配置 | ||
global: | ||
disableall: true # 需要转换其他协议的话,需要将disableall设置为false | ||
enableavcc: false # 如果需要转换成rtmp和flv的话,需要改成true | ||
delayclosetimeout: 2s # 无订阅者时,2s后关闭拉流 | ||
rtsp: | ||
enable: true # 如果disableall为false的话,这个可以不需要写 | ||
pullprotocol: tcp | ||
pull: | ||
pullonstart: | ||
rtsp/obs: rtsp://localhost:8554/live | ||
# live/test1: rtsp://localhost:8554/live/rtsp | ||
# live/test2: rtsp://localhost:8554/live/rtsp | ||
# live/test3: rtsp://localhost:8554/live/rtsp | ||
# live/test4: rtsp://localhost:8554/live/rtsp | ||
# live/test5: rtsp://localhost:8554/live/rtsp | ||
# live/test6: rtsp://localhost:8554/live/rtsp | ||
# live/test7: rtsp://localhost:8554/live/rtsp | ||
# live/test8: rtsp://localhost:8554/live/rtsp | ||
# live/test9: rtsp://localhost:8554/live/rtsp | ||
pullonsub: # 按需拉流 | ||
rtsp/100: rtsp://admin:[email protected]/cam/realmonitor?channel=1&subtype=0 | ||
rtsp/101: rtsp://admin:[email protected]/cam/realmonitor?channel=1&subtype=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,32 +4,14 @@ | |
# 插件配置参考各个插件的文档 | ||
# 插件都有一个enable配置,如果为false则不启用该插件,默认为true即不需要配置。 | ||
|
||
# global: | ||
# console: | ||
# secret: "ab0f6913670062af4d2f15c621205178" | ||
# http: | ||
# listenaddrtls: :8081 | ||
# certfile: local.monibuca.com_bundle.pem | ||
# keyfile: local.monibuca.com.key | ||
# record: | ||
# enable: false | ||
# hls: | ||
# autorecord: true | ||
# fragment: 20s | ||
# webtransport: | ||
# enable: false | ||
# certfile: local.monibuca.com_bundle.pem | ||
# keyfile: local.monibuca.com.key | ||
# gb28181: | ||
# # enable: false | ||
# rtsp: | ||
# # enable: false | ||
# pull: | ||
# pullonstart: | ||
# live/rtsp: rtsp://admin:[email protected]/Streaming/Channels/201?transportmode=unicast | ||
# hls: | ||
# # enable: false | ||
# pull: | ||
# pullonstart: true | ||
# pulllist: | ||
# live/hls: http://111.40.196.27/PLTV/88888888/224/3221225548/index.m3u8 | ||
global: | ||
http: | ||
listenaddrtls: :8081 | ||
certfile: local.monibuca.com_bundle.pem | ||
keyfile: local.monibuca.com.key | ||
llhls: | ||
enable: false | ||
hls: | ||
enable: false | ||
monitor: | ||
enable: false |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters