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){