Skip to content

Commit

Permalink
restart stream on RTMP fail #1333
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlt8 committed Aug 28, 2024
1 parent afee77a commit a15e15b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/wyzebridge/ffmpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def re_encode_video(uri: str, is_vertical: bool) -> list[str]:

def get_livestream_cmd(uri: str) -> str:

flv = "|[f=flv:flvflags=no_duration_filesize:use_fifo=1:fifo_options=attempt_recovery=1\\\:drop_pkts_on_overflow=1\\\:recover_any_error=1]"
flv = "|[f=flv:flvflags=no_duration_filesize:use_fifo=1:fifo_options=attempt_recovery=1\\\:drop_pkts_on_overflow=1:onfail=abort]"

for platform, api in LIVESTREAM_PLATFORMS.items():
key = env_bool(f"{platform}_{uri}", style="original")
Expand Down

0 comments on commit a15e15b

Please sign in to comment.