mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
完善rtc网络迁移日志打印
This commit is contained in:
parent
f8ef5579ee
commit
497bf289b6
@ -876,8 +876,8 @@ void WebRtcTransportImp::onShutdown(const SockException &ex){
|
||||
void WebRtcTransportImp::setSession(Session::Ptr session) {
|
||||
_history_sessions.emplace(session.get(), session);
|
||||
if (_selected_session) {
|
||||
InfoL << "network exchange: " << _selected_session->get_peer_ip() << ":" << _selected_session->get_peer_port()
|
||||
<< " -> " << session->get_peer_ip() << ":" << session->get_peer_port();
|
||||
InfoL << "rtc network changed: " << _selected_session->get_peer_ip() << ":" << _selected_session->get_peer_port()
|
||||
<< " -> " << session->get_peer_ip() << ":" << session->get_peer_port() << ", id:" << getIdentifier();
|
||||
}
|
||||
_selected_session = std::move(session);
|
||||
unrefSelf();
|
||||
|
Loading…
Reference in New Issue
Block a user