Can someone review this Frigate yaml?

Everything seems to be working, but I would appreciate another set of eyes to let me know if I have something incorrect or ineffective here. I am running Frigate and Home Assistant as dockers in unRAID and using a Reolink 820a (custom firmware to allow a downgraded 1440p stream from 4k in order to use h264 codec).

mqtt:
  host: 192.xxx.x.xx
  port: xxxx
  user: admin
  password: xxxxxxxx
ffmpeg:
  hwaccel_args:
    - -hwaccel
    - qsv
    - -qsv_device
    - /dev/dri/renderD128
cameras:
  livingroom:
    ffmpeg:
      inputs:
        - path: rtsp://admin:password@myip//h264Preview_01_main
          roles:
            - record
            - rtmp
        - path: rtsp://admin:password@myip//h264Preview_01_sub
          roles:
            - detect 
      hwaccel_args:
        - -c:v
        - h264_qsv      
    detect:
      width: 640
      height: 360
      fps: 5        
rtmp:
  enabled: true       
record:
  enabled: true
  retain_days: 0
  events:
    retain:
      default: 5
snapshots:
  enabled: true
  timestamp: false
  bounding_box: true
  retain:
    default: 5