mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-07 12:18:12 +08:00
完善getRtpInfo接口
This commit is contained in:
@@ -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){
|
||||||
|
|||||||
Reference in New Issue
Block a user