mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
修复GB28181推流显示设备端口错误的问题:#1160
This commit is contained in:
parent
cfd5957c25
commit
74aa2ba07f
@ -125,8 +125,8 @@ void RtpServer::start(uint16_t local_port, const string &stream_id, bool enable
|
||||
RtcpHelper::Ptr helper = std::make_shared<RtcpHelper>(std::move(rtcp_socket), 90000);
|
||||
helper->startRtcp();
|
||||
rtp_socket->setOnRead([rtp_socket, process, helper](const Buffer::Ptr &buf, struct sockaddr *addr, int addr_len) {
|
||||
helper->onRecvRtp(buf, addr, addr_len);
|
||||
process->inputRtp(true, rtp_socket, buf->data(), buf->size(), addr);
|
||||
helper->onRecvRtp(buf, addr, addr_len);
|
||||
});
|
||||
} else {
|
||||
#if 1
|
||||
|
Loading…
Reference in New Issue
Block a user