Skip to content

Commit

Permalink
Removed timeouts from SRT connections (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
spietras authored Mar 27, 2024
1 parent b24df22 commit 60d27eb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main.liq
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ streamcast_mount = get_env(default="radio.mp3", "FUSION_STREAMCAST_MOUNT")
music = single(FALLBACK_PATH)
music = add_metadata(tag_type(type=TYPE_PLAYLIST), music)

live = input.srt(bind_address=host, port=port)
live =
input.srt(
bind_address=host, port=port, read_timeout=null(), write_timeout=null()
)
live = add_metadata(tag_type(type=TYPE_LIVE), live)
live = source(source.tracks(live))
live = buffer(buffer=LIVE_BUFFER_LENGTH, fallible=true, live)
Expand Down

0 comments on commit 60d27eb

Please sign in to comment.