oozman / rtsp2web Goto Github PK
View Code? Open in Web Editor NEWA simple script to stream RTSP to web.
A simple script to stream RTSP to web.
docker: Error response from daemon: pull access denied for rtsp2web, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
On HA - add RTSPtoWebRTC Integration which point to RTSPtoWeb docker .
RTSPtoWeb WebUI - webrtc stream not working.
on HA - not working , video freezing
getting error :
rtsp2web | time="2022-12-28T21:56:20Z" level=info msg="Success connection RTSP" call=Start channel=0 func=StreamServerRunStream module=core stream=camera.salon_desk_camera
rtsp2web | 2022/12/28 21:56:20 Set ICEServers [stun:stun.l.google.com:19302]
rtsp2web | 2022/12/28 21:56:47 Set ICEServers [stun:stun.l.google.com:19302]
rtsp2web | time="2022-12-28T21:56:50Z" level=error msg="WebRTC Client Offline" call=WritePacket channel=0 func=HTTPAPIServerStreamWebRTC module=http_webrtc stream=camera.salon_desk_camera
It looks like network issue but couldn't find a way make it works ,
rtsp2web docker-compose:
networks:
dockers_inframain:
external: true
services:
rtsp2web:
container_name: rtsp2web
image: ghcr.io/deepch/rtsptoweb:latest
networks:
- dockers_inframain
ports:
- 8083:8083
restart: always
volumes:
- ./config.yaml:/config/config.json
Note , on network "dockers_inframain" I have traefik running as RP + Home assistant .
docker-compose traefik:
traefik:
image: traefik:v2.4.7
container_name: traefik
networks:
inframain:
ipv4_address: 172.29.0.4
restart: always
command:
- --log.level=INFO
- --log.filePath=etc/traefik/log/traefik.log
- --accessLog.filePath=etc/traefik/log/access.log
- --accessLog.bufferingSize=100
- --providers.docker=true
- --providers.docker.exposedbydefault=false
- --api
- --api.insecure=true
- --entrypoints.traefik.address=:8888
- --entrypoints.web.address=:80
- --entrypoints.web.http.redirections.entrypoint.to=websecure
- --entrypoints.web.http.redirections.entrypoint.scheme=https
- --entrypoints.websecure.address=:443
- --entrypoints.websecure.http.tls.certresolver=myresolver
- --certificatesresolvers.myresolver.acme.dnschallenge=true
- --certificatesresolvers.myresolver.acme.email=${CF_API_EMAIL}
- --certificatesresolvers.myresolver.acme.storage=acme.json
- --certificatesresolvers.myresolver.acme.dnschallenge.provider=cloudflare
#usually without it
# network_mode: host
ports:
- 80:80
- 443:443
- 8888:8888
environment:
- CF_API_EMAIL=${CF_API_EMAIL}
- CF_API_KEY=${CF_API_KEY}
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock
- ./traefik/acme.json:/acme.json
- ./traefik/:/etc/traefik/log/
#for accessing non docker application (qnap)
- ./traefik/dynamic.yaml:/dynamic.yaml
labels:
traefik.enable: true
# Dashboard
traefik.http.routers.traefik.rule: Host(`traefik.${DOMAINNAME}`)
traefik.http.routers.traefik.entrypoints: websecure
traefik.http.routers.traefik.service: api@internal
traefik.http.routers.traefik.middlewares: auth
traefik.http.middlewares.auth.basicauth.users: ${TRAEFIK_USER}:${TRAEFIK_PASS}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.