Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to extract the web stream for integration #460

Open
eblieb opened this issue May 2, 2024 · 1 comment
Open

Trying to extract the web stream for integration #460

eblieb opened this issue May 2, 2024 · 1 comment

Comments

@eblieb
Copy link

eblieb commented May 2, 2024

I am trying to use RTSPtoWeb to convert RTSP camera feeds into a format that Octoprint can use. I got it working great in the webui and see my camera, but now have to figure out how to get the stream into octoprint. Any suggestions?

https://github.com/deepch/RTSPtoWeb/blob/master/docs/api.md#hls

I used this document to generate the HLS stream but when I integrate it into octoprint i just get a black screen.

@irtaza9
Copy link

irtaza9 commented Jul 8, 2024

How are you access the webui can you please help me out on this as it is not working for me, I tried many things.

docker run --name rtsp-to-web \ -v /Users/irtaza/Desktop/config.json:/config/config.json \ --network host \ ghcr.io/deepch/rtsptoweb:latest

This is my command that is used to run the container. and below is the config inside the container.

{
  "server": {
    "debug": true,
    "log_level": "info",
    "http_demo": true,
    "http_debug": false,
    "http_login": "demo",
    "http_password": "demo",
    "http_port": ":8083",
    "ice_servers": [],
    "rtsp_port": ":554"
  },
  "streams": {
    "demo1": {
      "name": "test video stream 1",
      "channels": {
        "0": {
          "name": "ch1",
          "url": "rtsp://user:password@ip:554",
          "on_demand": true,
          "debug": false,
          "audio": true,
          "status": 0
        }
      }
    }
  },
  "channel_defaults": {
    "on_demand": true
  }
}

I am access this url but it is throwing error http://localhost:8083/stream/demo1/channel/0/hls/live/index.m3u8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants