完善网络相关信息

This commit is contained in:
xiongziliang
2020-04-23 23:33:58 +08:00
parent 26cfb5ae73
commit 1c03acbdb9

View File

@@ -129,11 +129,11 @@ bool RtpProcess::inputRtp(const Socket::Ptr &sock, const char *data, int data_le
//检查源是否合法
if(!_addr){
_addr = new struct sockaddr;
_sock = sock;
memcpy(_addr,addr, sizeof(struct sockaddr));
DebugP(this) << "bind to address:" << printAddress(_addr);
//推流鉴权
emitOnPublish();
_sock = sock;
}
if(!_muxer){