diff --git a/conf/config.ini b/conf/config.ini index 49bd589e..d1d8246c 100644 --- a/conf/config.ini +++ b/conf/config.ini @@ -59,9 +59,9 @@ paced_sender_ms=0 #是否开启转换为hls(mpegts) enable_hls=1 #是否开启转换为hls(fmp4) -enable_hls_fmp4=1 +enable_hls_fmp4=0 #是否开启MP4录制 -enable_mp4=1 +enable_mp4=0 #是否开启转换为rtsp/webrtc enable_rtsp=1 #是否开启转换为rtmp/flv @@ -287,7 +287,7 @@ port=1935 #rtmps服务器监听地址 sslport=0 # rtmp是否直接代理模式 -directProxy=0 +directProxy=1 #h265 rtmp打包采用增强型rtmp标准还是国内拓展标准 enhanced=1 @@ -378,7 +378,7 @@ authBasic=0 #如果你是rtsp推拉流,但是webrtc播放,也建议关闭直接代理模式, #因为直接代理时,rtp中可能没有sps pps,会导致webrtc无法播放; 另外webrtc也不支持Single NAL Unit Packets类型rtp #默认开启rtsp直接代理,rtmp由于没有这些问题,是强制开启直接代理的 -directProxy=0 +directProxy=1 #rtsp必须在此时间内完成握手,否则服务器会断开链接,单位秒 handshakeSecond=15 #rtsp超时时间,如果该时间内未收到客户端的数据,