mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-05 02:38:10 +08:00
Unified code style (#2137)
This commit is contained in:
@@ -16,15 +16,16 @@
|
||||
#include "Decoder.h"
|
||||
#include "ProcessInterface.h"
|
||||
#include "Http/HttpRequestSplitter.h"
|
||||
// for MediaInfo
|
||||
#include "Rtsp/RtpCodec.h"
|
||||
#include "Common/MediaSource.h"
|
||||
|
||||
namespace mediakit{
|
||||
class RtpCodec;
|
||||
|
||||
class RtpReceiverImp;
|
||||
class GB28181Process : public ProcessInterface {
|
||||
public:
|
||||
typedef std::shared_ptr<GB28181Process> Ptr;
|
||||
using Ptr = std::shared_ptr<GB28181Process>;
|
||||
|
||||
GB28181Process(const MediaInfo &media_info, MediaSinkInterface *sink);
|
||||
~GB28181Process() override = default;
|
||||
|
||||
@@ -52,7 +53,7 @@ private:
|
||||
DecoderImp::Ptr _decoder;
|
||||
MediaSinkInterface *_interface;
|
||||
std::shared_ptr<FILE> _save_file_ps;
|
||||
std::unordered_map<uint8_t, std::shared_ptr<RtpCodec> > _rtp_decoder;
|
||||
std::unordered_map<uint8_t, RtpCodec::Ptr> _rtp_decoder;
|
||||
std::unordered_map<uint8_t, std::shared_ptr<RtpReceiverImp> > _rtp_receiver;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user