mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-14 03:55:58 +08:00
解决单Track时,等待时间太长的问题
This commit is contained in:
@@ -22,10 +22,13 @@ public:
|
||||
PSDecoder();
|
||||
~PSDecoder();
|
||||
int input(const uint8_t* data, int bytes) override;
|
||||
void setOnDecode(const onDecode &decode) override;
|
||||
void setOnDecode(onDecode cb) override;
|
||||
void setOnStream(onStream cb) override;
|
||||
|
||||
private:
|
||||
void *_ps_demuxer = nullptr;
|
||||
onDecode _on_decode;
|
||||
onStream _on_stream;
|
||||
};
|
||||
|
||||
}//namespace mediakit
|
||||
|
||||
Reference in New Issue
Block a user