mp4录制支持作为观看者参与播放人数统计 (#1880)

This commit is contained in:
Dw9
2022-08-16 11:47:24 +08:00
committed by GitHub
parent c19fa29e75
commit 30984d2076
7 changed files with 17 additions and 1 deletions

View File

@@ -31,6 +31,8 @@ public:
bool enable_hls = false;
//是否开启MP4录制
bool enable_mp4 = false;
//是否将mp4录制当做观看者
bool mp4_as_player = false;
//是否开启转换为rtsp/webrtc
bool enable_rtsp = true;
//是否开启转换为rtmp/flv
@@ -175,6 +177,7 @@ protected:
private:
bool _is_enable = false;
ProtocolOption _option;
toolkit::Ticker _last_check;
Stamp _stamp[2];
std::weak_ptr<Listener> _track_listener;