mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-11-24 17:07:22 +08:00
优化getSnap截图接口性能
This commit is contained in:
@@ -194,6 +194,9 @@ public:
|
||||
*/
|
||||
std::shared_ptr<MultiMediaSourceMuxer> getMuxer(MediaSource &sender) const override;
|
||||
|
||||
// 获取frame ring reader
|
||||
RingType::RingReader::Ptr getFrameReader();
|
||||
|
||||
const ProtocolOption &getOption() const;
|
||||
const MediaTuple &getMediaTuple() const;
|
||||
std::string shortUrl() const;
|
||||
@@ -238,7 +241,7 @@ protected:
|
||||
bool onTrackFrame_l(const Frame::Ptr &frame);
|
||||
|
||||
private:
|
||||
void createGopCacheIfNeed(size_t gop_count);
|
||||
void createGopCacheIfNeed();
|
||||
std::shared_ptr<MediaSinkInterface> makeRecorder(Recorder::type type);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user