mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-29 14:45:55 +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