mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 11:41:44 +08:00
修复RtpProcess析构导致的线程问题
This commit is contained in:
@@ -49,10 +49,13 @@ RtpProcess::RtpProcess(const string &stream_id) {
|
||||
}
|
||||
}
|
||||
|
||||
RtpProcess::~RtpProcess() {
|
||||
void RtpProcess::flush() {
|
||||
if (_process) {
|
||||
_process->flush();
|
||||
}
|
||||
}
|
||||
|
||||
RtpProcess::~RtpProcess() {
|
||||
uint64_t duration = (_last_frame_time.createdTime() - _last_frame_time.elapsedTime()) / 1000;
|
||||
WarnP(this) << "RTP推流器("
|
||||
<< _media_info.shortUrl()
|
||||
|
||||
Reference in New Issue
Block a user