mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 11:41:44 +08:00
RtpServer支持udp与tcp模式并存
This commit is contained in:
@@ -191,8 +191,8 @@ void RtpProcess::onDetach() {
|
||||
}
|
||||
}
|
||||
|
||||
void RtpProcess::setOnDetach(const function<void()> &cb) {
|
||||
_on_detach = cb;
|
||||
void RtpProcess::setOnDetach(function<void()> cb) {
|
||||
_on_detach = std::move(cb);
|
||||
}
|
||||
|
||||
string RtpProcess::get_peer_ip() {
|
||||
|
||||
Reference in New Issue
Block a user