mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-29 22:55:52 +08:00
optimize log
This commit is contained in:
parent
b49d377293
commit
e95ed256ea
@ -1 +1 @@
|
|||||||
Subproject commit d54285e96260e6d56d68929ec9ace402b83ff6b0
|
Subproject commit 66033ee4750a147a76ed5ff7785385e713d45926
|
@ -136,7 +136,7 @@ const char *RtpProcess::onSearchPacketTail(const char *packet,int bytes){
|
|||||||
}
|
}
|
||||||
return nullptr;
|
return nullptr;
|
||||||
} catch (std::exception &ex) {
|
} catch (std::exception &ex) {
|
||||||
InfoL << "解析ps或ts异常: bytes=" << bytes
|
InfoP(this) << "解析ps或ts异常: bytes=" << bytes
|
||||||
<< " ,exception=" << ex.what();
|
<< " ,exception=" << ex.what();
|
||||||
//<< " ,hex=" << hexdump((uint8_t *) packet, bytes);
|
//<< " ,hex=" << hexdump((uint8_t *) packet, bytes);
|
||||||
return nullptr;
|
return nullptr;
|
||||||
@ -184,7 +184,7 @@ bool RtpProcess::alive() {
|
|||||||
if(_pause_rtp_time.elapsedTime()/ 1000 < 180){
|
if(_pause_rtp_time.elapsedTime()/ 1000 < 180){
|
||||||
return true;
|
return true;
|
||||||
}else {
|
}else {
|
||||||
WarnL << _media_info._streamid << ", pause timeout.";
|
ErrorP(this) << "Pause timeout.";
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
* may be found in the AUTHORS file in the root of the source tree.
|
* may be found in the AUTHORS file in the root of the source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <signal.h>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include "Network/TcpClient.h"
|
#include "Network/TcpClient.h"
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
Loading…
Reference in New Issue
Block a user