添加媒体生成源信息

This commit is contained in:
xiongziliang
2020-09-27 11:32:49 +08:00
parent 2cf66594e8
commit 5cd8e8ae1c
20 changed files with 249 additions and 12 deletions

View File

@@ -194,6 +194,11 @@ public:
}
return Parent::getTracks(trackReady);
}
std::shared_ptr<SockInfo> getSockInfo() const{
return dynamic_pointer_cast<SockInfo>(_delegate);
}
protected:
void onShutdown(const SockException &ex) override {
if (_shutdownCB) {