mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
格式化代码
This commit is contained in:
parent
bc63142712
commit
a37268f003
@ -663,7 +663,6 @@ void installWebHook(){
|
|||||||
body["re_use_port"] = re_use_port;
|
body["re_use_port"] = re_use_port;
|
||||||
body["ssrc"] = ssrc;
|
body["ssrc"] = ssrc;
|
||||||
do_http_hook(rtp_server_timeout, body);
|
do_http_hook(rtp_server_timeout, body);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
//汇报服务器重新启动
|
//汇报服务器重新启动
|
||||||
|
@ -36,14 +36,13 @@ public:
|
|||||||
_stream_id = std::move(stream_id);
|
_stream_id = std::move(stream_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
~RtcpHelper() {
|
~RtcpHelper() {
|
||||||
if (_process) {
|
if (_process) {
|
||||||
// 删除rtp处理器
|
// 删除rtp处理器
|
||||||
RtpSelector::Instance().delProcess(_stream_id, _process.get());
|
RtpSelector::Instance().delProcess(_stream_id, _process.get());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void setRtpServerInfo(uint16_t local_port,RtpServer::TcpMode mode,bool re_use_port,uint32_t ssrc){
|
void setRtpServerInfo(uint16_t local_port,RtpServer::TcpMode mode,bool re_use_port,uint32_t ssrc){
|
||||||
_local_port = local_port;
|
_local_port = local_port;
|
||||||
_tcp_mode = mode;
|
_tcp_mode = mode;
|
||||||
@ -135,11 +134,10 @@ private:
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
uint16_t _local_port = 0;
|
|
||||||
RtpServer::TcpMode _tcp_mode = RtpServer::NONE;
|
|
||||||
bool _re_use_port = false;
|
bool _re_use_port = false;
|
||||||
|
uint16_t _local_port = 0;
|
||||||
uint32_t _ssrc = 0;
|
uint32_t _ssrc = 0;
|
||||||
|
RtpServer::TcpMode _tcp_mode = RtpServer::NONE;
|
||||||
|
|
||||||
Ticker _ticker;
|
Ticker _ticker;
|
||||||
Socket::Ptr _rtcp_sock;
|
Socket::Ptr _rtcp_sock;
|
||||||
|
Loading…
Reference in New Issue
Block a user