mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-06 11:38:11 +08:00
Header refactor (#2115)
* 优化MultiMediaSourceMuxer头文件包含 * 将MediaSinkDelegate和Demux移到MediaSink中 * MediaSource头文件重构, 独立出PacketCache.h 精简Frame和Track的头文件 * Rtmp头文件重构 * Rtsp头文件重构 * webrtc头文件重构 * 规范.h头文件包含,并将其移到.cpp中: - 尽量不包含Common\config.h - Util\File.h - Rtsp/RtspPlayer.h - Rtmp/RtmpPlayer.h * 删除多余的Stamp.h和Base64包含
This commit is contained in:
@@ -14,8 +14,9 @@
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
#include "RtpCodec.h"
|
||||
#include "RtspMediaSource.h"
|
||||
#include "Rtsp/Rtsp.h"
|
||||
#include "Extension/Frame.h"
|
||||
// for NtpStamp
|
||||
#include "Common/Stamp.h"
|
||||
|
||||
namespace mediakit {
|
||||
@@ -166,7 +167,7 @@ private:
|
||||
std::function<void(SEQ seq, T &packet)> _cb;
|
||||
};
|
||||
|
||||
class RtpTrack : private PacketSortor<RtpPacket::Ptr>{
|
||||
class RtpTrack : private PacketSortor<RtpPacket::Ptr> {
|
||||
public:
|
||||
class BadRtpException : public std::invalid_argument {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user