ant-media / Ant-Media-Server

Ant Media Server is a live streaming engine software that provides adaptive, ultra low latency streaming by using WebRTC technology with ~0.5 seconds latency. Ant Media Server is auto-scalable and it can run on-premise or on-cloud.
https://antmedia.io
Other
4.27k stars 627 forks source link

When use Camera's https port add IP camera got error #5246

Closed sanhuan1 closed 1 year ago

sanhuan1 commented 1 year ago

When use Camera's https port add IP camera got error

Camera's port setting image

  1. IP Camera's https port is 443
  2. when I use https port to add IP Camera in Ant Media would get error. image image
mekya commented 1 year ago

Thank you for the issue @sanhuan1

mustafaboleken commented 1 year ago

https://gitlab.com/Ant-Media/onvif/-/merge_requests/1

mekya commented 1 year ago

Thank you @mustafaboleken, I've merged the PR.

It seems a simple/easy solution.

I feel that we may need to do somethings simple in the Ant Media Server. Maybe I'm wrong. Did you confirm that it's fully working when user enters https address in the web panel?

Lastly, I think we need to deploy to sonatype to let the latest build include this fix.

mustafaboleken commented 1 year ago

You are right. We should make a new release of onvif and then, we should update dependencies on Ant Media Server. I will proceed with this way. After all this steps are done, I will test and confirm if everything is fine. @mekya

mustafaboleken commented 1 year ago

It's available in the latest snapshot. I sent to sanhuan1 through the mail and waiting for the confirmation.

mekya commented 1 year ago

We've provided the fix for this issue. Just enter the port number and protocol in the ONVIF IP field such as

https://192.168.34.22:5443

I'm also sharing the image for your convenience.

Screenshot 2023-08-17 at 14 13 33

Lastly, It is also backward compatible. I mean if you enter the address, it uses http by default to reach the device.