Skip to content

Commit

Permalink
sync example
Browse files Browse the repository at this point in the history
  • Loading branch information
p10tyr committed Nov 5, 2024
1 parent 25305d8 commit d1f5ac5
Showing 1 changed file with 37 additions and 35 deletions.
72 changes: 37 additions & 35 deletions config.example.yaml
Original file line number Diff line number Diff line change
@@ -1,39 +1,41 @@
onvif:
- name: Bullet # Only use simple letters, no spaces and keep it short
dev: enp2s0 #eg, eth0
target: # This is the origin device RTSP address and ports
hostname: 192.168.1.187
- name: BulletCam # A user define named that will show up in the consumer device. Use letters only, no spaces or special characters
dev: enp2s0 #eth0 # Network interface to add virtual IP's too. use ip addr to find your name
target:
hostname: 192.168.1.187 # Your cameras IPv4 address
ports:
rtsp: 554
snapshot: 80
rtsp: 554 # Your cameras RTSP port. Typically 554
snapshot: 80 # Cameras non https port for snapshots
highQuality:
rtsp: /Streaming/Channels/101/
snapshot: /ISAPI/Streaming/Channels/101/picture
width: 2048
height: 1536
framerate: 15
bitrate: 3072
quality: 4
ports: # In the unlikely event of problems change these for each proxy server
server: 8081
rtsp: /Streaming/Channels/101/ # The RTSP Path
snapshot: /ISAPI/Streaming/Channels/101/picture # Snapshot path - not working yet
width: 2048 # The Video Width
height: 1536 # The Video Height
framerate: 15 # The Video Framerate/FPS
bitrate: 3072 # The Video Bitrate in kb/s
quality: 4 # Quality, leave this as 4 for the high quality stream.
ports: # Virtual server ports. No need to change these unles you run into port already in use problems
server: 8081
rtsp: 8554
snapshot: 8082
- name: Dome
dev: enp2s0
highQuality:
rtsp: /Streaming/Channels/101/
snapshot: /ISAPI/Streaming/Channels/101/picture
width: 2048
height: 1536
framerate: 15
bitrate: 3072
quality: 4
target:
hostname: 192.168.1.139
ports:
rtsp: 554
snapshot: 80
ports:
server: 9081
rtsp: 9554
snapshot: 9082
snapshot: 8080
# mac - automatically added here and IP comes from DHCP- Add your own if you know what you doing
# uuid - ONVIF ID - automatically added here. If you change it Protect will think its a different camera
# - name: Dome
# dev: enp2s0
# highQuality:
# rtsp: /Streaming/Channels/101/
# snapshot: /ISAPI/Streaming/Channels/101/picture
# width: 2048
# height: 1536
# framerate: 15
# bitrate: 3072
# quality: 4
# target:
# hostname: 192.168.1.139
# ports:
# rtsp: 554
# snapshot: 80
# ports:
# server: 9081
# rtsp: 9554
# snapshot: 9082

0 comments on commit d1f5ac5

Please sign in to comment.