mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-01 23:42:31 +08:00
整理MediaSource代码
This commit is contained in:
@@ -371,7 +371,7 @@ void RtspSession::handleReq_Describe(const Parser &parser) {
|
||||
void RtspSession::onAuthSuccess() {
|
||||
TraceP(this);
|
||||
weak_ptr<RtspSession> weakSelf = dynamic_pointer_cast<RtspSession>(shared_from_this());
|
||||
MediaSource::findAsync(_mediaInfo,weakSelf.lock(), true,[weakSelf](const MediaSource::Ptr &src){
|
||||
MediaSource::findAsync(_mediaInfo,weakSelf.lock(),[weakSelf](const MediaSource::Ptr &src){
|
||||
auto strongSelf = weakSelf.lock();
|
||||
if(!strongSelf){
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user