mirror of
https://gitee.com/xia-chu/ZLMediaKit.git
synced 2026-05-17 23:37:49 +08:00
完善getRtpInfo接口
This commit is contained in:
parent
4b39fd487d
commit
363673dd00
@ -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){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user