MediaSource: 继承改成私有

This commit is contained in:
ziyue
2021-11-10 10:50:45 +08:00
parent 34d833a1ed
commit 37fdb8d135
7 changed files with 7 additions and 7 deletions

View File

@@ -18,7 +18,7 @@
namespace mediakit{
class RtpCache : public PacketCache<Buffer> {
class RtpCache : private PacketCache<Buffer> {
public:
using onFlushed = function<void(std::shared_ptr<List<Buffer::Ptr> >)>;
RtpCache(onFlushed cb);