媒体源注销后不做无谓推流重试

This commit is contained in:
ziyue
2021-06-17 11:32:57 +08:00
parent e4172b4ab1
commit 60a2346819
2 changed files with 40 additions and 33 deletions

View File

@@ -53,7 +53,7 @@ private:
private:
int _retry_count;
Timer::Ptr _timer;
std::weak_ptr<MediaSource> _weak_src;
function<void(const SockException &ex)> _on_close;
function<void(const SockException &ex)> _on_publish;
};