mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-28 21:52:22 +08:00
完善seek相关的逻辑
This commit is contained in:
@@ -192,7 +192,7 @@ void PlayerProxy::initMedia() {
|
||||
// _pChn->initAudio(info);
|
||||
// }
|
||||
}
|
||||
bool PlayerProxy::shutDown() {
|
||||
bool PlayerProxy::close() {
|
||||
//通知其停止推流
|
||||
weak_ptr<PlayerProxy> weakSlef = dynamic_pointer_cast<PlayerProxy>(shared_from_this());
|
||||
auto executor = getExecutor();
|
||||
|
||||
@@ -54,7 +54,7 @@ public:
|
||||
virtual ~PlayerProxy();
|
||||
|
||||
void play(const char* strUrl) override;
|
||||
bool shutDown() override;
|
||||
bool close() override;
|
||||
private:
|
||||
void initMedia();
|
||||
void rePlay(const string &strUrl,int iFailedCnt);
|
||||
|
||||
Reference in New Issue
Block a user