Skip to content

Commit

Permalink
Add warning for rtmp
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Nov 8, 2022
1 parent 6e02261 commit bfdeedc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frigate/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -993,6 +993,11 @@ def runtime_config(self) -> FrigateConfig:
verify_recording_retention(camera_config)
verify_zone_objects_are_tracked(camera_config)

if camera_config.rtmp.enabled:
logger.warning(
"RTMP restream is deprecated in favor of the restream role, recommend disabling RTMP."
)

# generate the ffmpeg commands
camera_config.create_ffmpeg_cmds()
config.cameras[name] = camera_config
Expand Down

0 comments on commit bfdeedc

Please sign in to comment.