解决mp4_as_player设置为1时相关bug (#4725)

This commit is contained in:
xia-chu
2026-05-21 16:39:20 +08:00
parent 37ea51a2ec
commit 86a7204bab
4 changed files with 9 additions and 12 deletions

View File

@@ -133,7 +133,7 @@ public:
* [AUTO-TRANSLATED:cb1fd8a9]
*/
bool setupRecord(Recorder::type type, bool start, const std::string &custom_path, size_t max_second);
bool setupRecord(MediaSource &sender, Recorder::type type, bool start, const std::string &custom_path, size_t max_second);
/**
* 开始录制mp4
@@ -266,7 +266,6 @@ private:
toolkit::EventPoller::Ptr _poller;
RingType::Ptr _ring;
MediaSinkInterface::Ptr _delegate;
MediaSourceNull::Ptr _null_src;
// 对象个数统计 [AUTO-TRANSLATED:3b43e8c2]
// Object count statistics
toolkit::ObjectStatistic<MultiMediaSourceMuxer> _statistic;