From 363673dd00a5784f3a60315435cea294c74298c7 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Thu, 9 Jul 2020 10:41:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84getRtpInfo=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/WebApi.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/WebApi.cpp b/server/WebApi.cpp index 1aef1402..33ed0cbd 100644 --- a/server/WebApi.cpp +++ b/server/WebApi.cpp @@ -753,6 +753,8 @@ void installWebApi() { val["exist"] = true; val["peer_ip"] = process->get_peer_ip(); val["peer_port"] = process->get_peer_port(); + val["local_port"] = process->get_local_port(); + val["local_ip"] = process->get_local_ip(); }); api_regist1("/index/api/openRtpServer",[](API_ARGS1){