mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-05 19:08:09 +08:00
完成PlayerProxy改造
This commit is contained in:
@@ -28,10 +28,11 @@
|
||||
#define ZLMEDIAKIT_RTMPMUXER_H
|
||||
|
||||
#include "RtmpMetedata.h"
|
||||
#include "Player/Frame.h"
|
||||
|
||||
namespace mediakit{
|
||||
|
||||
class RtmpMuxer{
|
||||
class RtmpMuxer : public FrameRingWriterInterface{
|
||||
public:
|
||||
typedef std::shared_ptr<RtmpMuxer> Ptr;
|
||||
|
||||
@@ -64,7 +65,7 @@ public:
|
||||
* 写入帧数据然后打包rtmp
|
||||
* @param frame 帧数据
|
||||
*/
|
||||
void inputFrame(const Frame::Ptr &frame) ;
|
||||
void inputFrame(const Frame::Ptr &frame) override ;
|
||||
|
||||
/**
|
||||
* 也可以在外部打包好rtmp然后再写入
|
||||
|
||||
Reference in New Issue
Block a user