Skip to content
Discussion options

You must be logged in to vote

It's very easy, just look at the following example:

in ur config.yaml:

ffmpeg:
  camera:
    camera_1:
      name: FIRST CAM
      host: localhost
      port: 8554
      path: /camera_1
    camera_2:
      name: SECOND CAM
      host: localhost
      port: 8554
      path: /camera_2
go2rtc:
  streams:
    camera_1:
      - !secret rtsp_camera_1
    camera_2:
      - !secret rtsp_camera_2

and in ur secret.yaml:

rtsp_camera_1: rtsp://user:[email protected]:554/cam/realmonitor?channel=1&subtype=0
rtsp_camera_2: rtsp://user:[email protected]:554/cam/realmonitor?channel=2&subtype=0

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sgoldtho
Comment options

Answer selected by sgoldtho
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants