mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-27 04:22:20 +08:00
hls/ts播放器改成绝对时间戳:#1389
This commit is contained in:
@@ -19,10 +19,7 @@
|
||||
|
||||
namespace mediakit {
|
||||
|
||||
class HlsDemuxer
|
||||
: public MediaSinkInterface
|
||||
, public TrackSource
|
||||
, public std::enable_shared_from_this<HlsDemuxer> {
|
||||
class HlsDemuxer : public MediaSinkInterface , public TrackSource, public std::enable_shared_from_this<HlsDemuxer> {
|
||||
public:
|
||||
HlsDemuxer() = default;
|
||||
~HlsDemuxer() override { _timer = nullptr; }
|
||||
@@ -43,7 +40,6 @@ private:
|
||||
private:
|
||||
int64_t _ticker_offset = 0;
|
||||
toolkit::Ticker _ticker;
|
||||
Stamp _stamp[2];
|
||||
toolkit::Timer::Ptr _timer;
|
||||
MediaSinkDelegate _delegate;
|
||||
std::multimap<int64_t, Frame::Ptr> _frame_cache;
|
||||
|
||||
Reference in New Issue
Block a user