mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 15:14:17 +00:00
added debugging to print ip and port of rtmp connection as well as tie the rtmp session and fs session together
This commit is contained in:
1 parent
d8edc031fa
commit
f81d17c1e2
2 files changed
+4
-1
No files matched your search
@@ -247,6 +247,8 @@ void *SWITCH_THREAD_FUNC rtmp_io_tcp_thread(switch_thread_t *thread, void *obj)
|
||||
switch_get_addr(ipbuf, sizeof(ipbuf), addr);
|
||||
newsession->remote_address = switch_core_strdup(newsession->pool, ipbuf);
|
||||
newsession->remote_port = switch_sockaddr_get_port(addr);
|
||||
switch_log_printf(SWITCH_CHANNEL_UUID_LOG(newsession->uuid), SWITCH_LOG_INFO, "Rtmp connection from %s:%i\n",
|
||||
newsession->remote_address, newsession->remote_port);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user