修复bug

This commit is contained in:
xiongziliang
2019-12-03 16:14:52 +08:00
parent 5249c24430
commit 2c2e7262d6

View File

@@ -132,7 +132,7 @@ protected:
_rtmp->onAllTrackReady(); _rtmp->onAllTrackReady();
} }
if(_rtsp) { if(_rtsp) {
_rtmp->setTrackSource(shared_from_this()); _rtsp->setTrackSource(shared_from_this());
_rtsp->onAllTrackReady(); _rtsp->onAllTrackReady();
} }
} }