We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8e0345 commit ce721c1Copy full SHA for ce721c1
video/srs/conf/docker.conf
@@ -23,6 +23,10 @@ rtc_server {
23
candidate $CANDIDATE;
24
}
25
vhost __defaultVhost__ {
26
+ publish {
27
+ # 30秒客户端主动关闭推流端
28
+ kickoff_for_idle 30;
29
+ }
30
hls {
31
enabled off;
32
#hls_fragment 0.2;
@@ -36,6 +40,12 @@ vhost __defaultVhost__ {
36
40
http_remux {
37
41
enabled on;
38
42
mount [vhost]/[app]/[stream].flv;
43
+ has_audio on;
44
+ has_video on;
45
+ # 猜测是否存在音视频轨
46
+ guess_has_av on;
47
+ # 丢弃不匹配配置的帧
48
+ drop_if_not_match off;
39
49
50
rtc {
51
0 commit comments