mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
no track throw error avoid addstreamproxy already exist
This commit is contained in:
parent
8e16a698b6
commit
af155ef87a
@ -187,6 +187,8 @@ void MediaSink::emitAllTrackReady() {
|
||||
pr.second.for_each([&](const Frame::Ptr &frame) { MediaSink::inputFrame(frame); });
|
||||
}
|
||||
_frame_unread.clear();
|
||||
} else {
|
||||
throw toolkit::SockException(toolkit::Err_shutdown, "no vaild track data");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user