自动计算GOP缓存大小

This commit is contained in:
xiongziliang
2018-12-29 17:46:55 +08:00
parent 5b5db04543
commit 3204dafd51
4 changed files with 4 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ public:
const string &id,
bool bEnableHls = true,
bool bEnableMp4 = false,
int ringSize = 32) : RtspMediaSource(vhost, app, id,ringSize) {
int ringSize = 0) : RtspMediaSource(vhost, app, id,ringSize) {
_recorder = std::make_shared<MediaRecorder>(vhost, app, id, bEnableHls, bEnableMp4);
}