From fa8942a94c6d1b9105c8896a9d9c850d1b7efcfd Mon Sep 17 00:00:00 2001 From: zafer Date: Wed, 5 Jun 2024 14:01:58 +0300 Subject: [PATCH] revert segment duration --- lib/algora/pipeline.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/algora/pipeline.ex b/lib/algora/pipeline.ex index 0d39772..a1bbbde 100644 --- a/lib/algora/pipeline.ex +++ b/lib/algora/pipeline.ex @@ -37,7 +37,7 @@ defmodule Algora.Pipeline do get_child(:tee_audio) |> via_out(:master) |> via_in(Pad.ref(:input, :audio), - options: [encoding: :AAC, segment_duration: Membrane.Time.seconds(4)] + options: [encoding: :AAC, segment_duration: Membrane.Time.seconds(2)] ) |> get_child(:sink), @@ -45,7 +45,7 @@ defmodule Algora.Pipeline do get_child(:tee_video) |> via_out(:master) |> via_in(Pad.ref(:input, :video), - options: [encoding: :H264, segment_duration: Membrane.Time.seconds(4)] + options: [encoding: :H264, segment_duration: Membrane.Time.seconds(2)] ) |> get_child(:sink) ]