mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-01 07:22:23 +08:00
优化代码
整理代码
This commit is contained in:
@@ -56,8 +56,8 @@ protected:
|
||||
class RtmpCodec : public RtmpRing, public FrameDispatcher , public CodecInfo{
|
||||
public:
|
||||
typedef std::shared_ptr<RtmpCodec> Ptr;
|
||||
RtmpCodec(){}
|
||||
virtual ~RtmpCodec(){}
|
||||
RtmpCodec() = default;
|
||||
~RtmpCodec() override = default;
|
||||
virtual void makeConfigPacket() {};
|
||||
};
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
namespace mediakit{
|
||||
|
||||
class RtmpMuxer : public MediaSinkInterface{
|
||||
class RtmpMuxer : public MediaSinkInterface {
|
||||
public:
|
||||
typedef std::shared_ptr<RtmpMuxer> Ptr;
|
||||
|
||||
@@ -26,7 +26,7 @@ public:
|
||||
* 构造函数
|
||||
*/
|
||||
RtmpMuxer(const TitleMeta::Ptr &title);
|
||||
virtual ~RtmpMuxer(){}
|
||||
~RtmpMuxer() override = default;
|
||||
|
||||
/**
|
||||
* 获取完整的SDP字符串
|
||||
|
||||
Reference in New Issue
Block a user