deepch / RTSPtoWeb

RTSP Stream to WebBrowser
MIT License
1.17k stars 284 forks source link

The page was not found after launching the application. Page not found #384

Open xasya89 opened 9 months ago

xasya89 commented 9 months ago

After launching the application in docker, I open the page in the browser and it is not found. What am I doing wrong?

My config.json:

{
  "server": {
    "debug": true,
    "log_level": "info",
    "http_demo": true,
    "http_debug": false,
    "http_login": "demo",
    "http_password": "demo",
    "http_port": ":83",
    "ice_servers": ["stun:stun.l.google.com:19302"],
    "rtsp_port": ":5551"
  },
  "streams": {
    "demo1": {
      "name": "test video stream 1",
      "channels": {
        "0": {
          "name": "ch1",
          "url": "rtsp://admin:10ltrfmhz21@172.172.172.23:554",
          "on_demand": true,
          "debug": false,
          "audio": true,
          "status": 0
        }
      }
    }
  },
  "channel_defaults": {
    "on_demand": true
  }
}

the command I run:

docker run --name rtsp-to-web -v C:\Users\user\Downloads\webrtc\config.json:/config/config.json  --network localhost ghcr.io/deepch/rtsptoweb:latest 

Then I open the page in the browser: http://127.0.0.1:83/

Page not found

Log app in docker:

2023-09-13 22:05:50 time="2023-09-13T19:05:50Z" level=info msg="Server CORE start" func=main module=main
2023-09-13 22:05:50 time="2023-09-13T19:05:50Z" level=info msg="Server RTSP start" call=Start func=RTSPServer module=rtsp_server
2023-09-13 22:05:50 time="2023-09-13T19:05:50Z" level=info msg="Server HTTP start" call=Start func=RTSPServer module=http_server
2023-09-13 22:05:50 time="2023-09-13T19:05:50Z" level=info msg="Server start success a wait signals" func=main module=main
huntson commented 8 months ago

I'm having the same issue. Any luck?