tonyportersec
Member
I use the rest api on server to connect a rtsp link using https://XXXXXXXXXXXXX/rest-api/rtsp/startup
for example:
body:
{
"uri":"rtsp://abcwd@XXXXXXXX:554/v1",
"localStreamName": "test1"
}
After testing, whether it is success to connect the rtsp or not, it will also return http 200. so
If the username or password, i correct, how can i know it is not connected and due to password incorrect?
If the rtsp link is not exist, how can i know it is not connected and due to rtsp not exist?
Is there any way to know the connection result directly from the rest api?
If i use /rest-api/rtsp/find_all, i can know the rtsp is not connected, but don't know the reason. Thanks
for example:
body:
{
"uri":"rtsp://abcwd@XXXXXXXX:554/v1",
"localStreamName": "test1"
}
After testing, whether it is success to connect the rtsp or not, it will also return http 200. so
If the username or password, i correct, how can i know it is not connected and due to password incorrect?
If the rtsp link is not exist, how can i know it is not connected and due to rtsp not exist?
Is there any way to know the connection result directly from the rest api?
If i use /rest-api/rtsp/find_all, i can know the rtsp is not connected, but don't know the reason. Thanks