deepch / RTSPtoWeb

RTSP Stream to WebBrowser
MIT License
1.32k stars 312 forks source link

HTTPS cannot change default port 443 #320

Open ktyntang opened 1 year ago

ktyntang commented 1 year ago

am facing some issues converting rtsp to https. works fine over http using example 8083 port.

autotls.Run function in apiHTTPRouter.go uses import gin-tonic/autotls but seems like it is not longer maintained and unable to use any port other than 443. https://github.com/gin-gonic/autotls/issues/33 https://github.com/gin-gonic/autotls/issues/39

is there a way to set a custom port for the https connection instead of 443? Changing to 443 is not an option as it is a reserved port.