Instantly enable recording support for GOP caching

This commit is contained in:
xia-chu
2024-10-18 22:22:03 +08:00
parent 6fcf7f81a4
commit 4c90a1a95b
3 changed files with 15 additions and 9 deletions

View File

@@ -232,6 +232,7 @@ protected:
private:
void createGopCacheIfNeed();
std::shared_ptr<MediaSinkInterface> makeRecorder(MediaSource &sender, Recorder::type type);
private:
bool _is_enable = false;