完善getRtpInfo接口

This commit is contained in:
xiongziliang 2020-07-09 10:41:17 +08:00
parent 4b39fd487d
commit 363673dd00

View File

@ -753,6 +753,8 @@ void installWebApi() {
val["exist"] = true; val["exist"] = true;
val["peer_ip"] = process->get_peer_ip(); val["peer_ip"] = process->get_peer_ip();
val["peer_port"] = process->get_peer_port(); 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){ api_regist1("/index/api/openRtpServer",[](API_ARGS1){