mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-16 03:48:44 +00:00
add go2rtc
This commit is contained in:
parent
4137379d77
commit
a30324bc4c
@ -168,6 +168,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] ffmpeg
|
- [x] ffmpeg
|
||||||
- [x] ffmpeg-arm
|
- [x] ffmpeg-arm
|
||||||
- [x] ffserver :beetle:
|
- [x] ffserver :beetle:
|
||||||
|
- [x] alexxit/go2rtc :camera:
|
||||||
- [x] icecast :musical_note:
|
- [x] icecast :musical_note:
|
||||||
- [x] live555 :camera:
|
- [x] live555 :camera:
|
||||||
- [x] minidlna
|
- [x] minidlna
|
||||||
|
17
go2rtc/README.md
Normal file
17
go2rtc/README.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
go2rtc
|
||||||
|
======
|
||||||
|
|
||||||
|
[go2rtc][1] is a ultimate camera streaming application with support RTSP, RTMP,
|
||||||
|
HTTP-FLV, WebRTC, MSE, HLS, MP4, MJPEG, HomeKit, FFmpeg, etc.
|
||||||
|
|
||||||
|
## up and running
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ mkdir -p data
|
||||||
|
$ wget -P data https://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4
|
||||||
|
$ vi data/go2rtc.yaml
|
||||||
|
$ docker compose up -d
|
||||||
|
$ curl http://127.0.0.1:1984
|
||||||
|
```
|
||||||
|
|
||||||
|
[1]: https://github.com/AlexxIT/go2rtc
|
29
go2rtc/data/go2rtc.yaml
Normal file
29
go2rtc/data/go2rtc.yaml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
api:
|
||||||
|
listen: ":1984"
|
||||||
|
#username: "admin"
|
||||||
|
#password: "pass"
|
||||||
|
|
||||||
|
rtsp:
|
||||||
|
listen: ":8554"
|
||||||
|
#username: "admin"
|
||||||
|
#password: "pass"
|
||||||
|
#default_query: "video&audio"
|
||||||
|
|
||||||
|
webrtc:
|
||||||
|
listen: ":8555"
|
||||||
|
|
||||||
|
streams:
|
||||||
|
bunny: "ffmpeg:BigBuckBunny_320x180.mp4"
|
||||||
|
#usbcam: "ffmpeg:device?video=0&video_size=1280x720#video=h264"
|
||||||
|
|
||||||
|
#publish:
|
||||||
|
#bunny: "rtmps://xxx.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx-xxxx"
|
||||||
|
|
||||||
|
log:
|
||||||
|
level: info
|
||||||
|
api: trace
|
||||||
|
exec: debug
|
||||||
|
ngrok: info
|
||||||
|
rtsp: warn
|
||||||
|
streams: error
|
||||||
|
webrtc: fatal
|
14
go2rtc/docker-compose.yml
Normal file
14
go2rtc/docker-compose.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
go2rtc:
|
||||||
|
image: alexxit/go2rtc
|
||||||
|
ports:
|
||||||
|
- "1984:1984"
|
||||||
|
- "8554:8554"
|
||||||
|
- "8555:8555"
|
||||||
|
volumes:
|
||||||
|
- ./data:/config
|
||||||
|
#devices:
|
||||||
|
# - /dev/video0
|
||||||
|
#privileged: true
|
||||||
|
restart: unless
|
Loading…
Reference in New Issue
Block a user