Skip to content

Commit 09b1120

Browse files
committed
Remove @segment_duration
1 parent bfe2347 commit 09b1120

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

guides/useful_concepts/running_membrane_in_elixir_application.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ defmodule MyProject.Pipeline do
4747
|> child(:decoder, Membrane.H264.FFmpeg.Decoder)
4848
|> child(:segmentation_filter, MyProject.ObjectSegmentationFilter) # filter talking with the side-car Python OS process running RF-DETR model
4949
|> child(:encoder, %Membrane.H264.FFmpeg.Encoder{preset: :fast})
50-
|> via_in(:input, options: [encoding: :H264, segment_duration: @segment_duration])
50+
|> via_in(:input, options: [encoding: :H264, segment_duration: Membrane.Time.seconds(10)])
5151
|> child(:hls, hls_config)
5252
]
5353

0 commit comments

Comments
 (0)