mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-06 11:38:11 +08:00
Unified code style (#2137)
This commit is contained in:
@@ -16,9 +16,10 @@
|
||||
#include "Rtmp/amf.h"
|
||||
#include "Rtmp/Rtmp.h"
|
||||
#include "Common/MediaSink.h"
|
||||
#include "RtmpCodec.h"
|
||||
|
||||
namespace mediakit {
|
||||
class RtmpCodec;
|
||||
|
||||
class RtmpDemuxer : public Demuxer {
|
||||
public:
|
||||
using Ptr = std::shared_ptr<RtmpDemuxer>;
|
||||
@@ -52,8 +53,8 @@ private:
|
||||
float _duration = 0;
|
||||
AudioTrack::Ptr _audio_track;
|
||||
VideoTrack::Ptr _video_track;
|
||||
std::shared_ptr<RtmpCodec> _audio_rtmp_decoder;
|
||||
std::shared_ptr<RtmpCodec> _video_rtmp_decoder;
|
||||
RtmpCodec::Ptr _audio_rtmp_decoder;
|
||||
RtmpCodec::Ptr _video_rtmp_decoder;
|
||||
};
|
||||
|
||||
} /* namespace mediakit */
|
||||
|
||||
Reference in New Issue
Block a user