ZLMediaKit/ZLToolKit

BUG反馈

lunasaw opened this issue · 0 comments

代码master最新分支
第一次添加出现“IP not address”,第二次添加出现添加成功,但是获取不到流
我去addProxy的时候反馈流已经存在,但是我去close,返回流找不到

2023-09-09 18:00:03.635 D [MediaServer] [2372-event poller 0] WebApi.cpp:250 http api debug |
# request:
POST /index/api/addStreamProxy?app=onvif&vhost=__defaultVhost__&&stream=191432&enable_audio=1&enable_mp4=0&secret=zlm_local_172-19-14-19&url=rtsp%3A%2F%2F172.19.14.143%3A554%2Fch01.264%3Fdev%3D1&
# header:
Accept-Encoding : gzip,deflate
Connection : Keep-Alive
Content-Length : 0
Host : 172.19.14.19:9092
User-Agent : Apache-HttpClient/4.5.13 (Java/1.8.0_252)
# content:

# response:
{
	"code" : -1,
	"msg" : "This stream already exists"
}
GET /index/api/close_stream?secret=zlm_local_172-19-14-19&schema=rtsp&vhost=__defaultVhost__&app=onvif&stream=191432
# header:
Accept : */*
Accept-Encoding : gzip, deflate, br
Connection : keep-alive
Host : 172.19.14.19:9092
User-Agent : Apifox/1.0.0 (https://apifox.com)
# content:

# response:
{
	"code" : -500,
	"msg" : "can not find the stream"
}