1
0
mirror of https://github.com/algora-io/tv.git synced 2024-11-16 00:58:59 +02:00

revert segment duration

This commit is contained in:
zafer 2024-06-05 14:01:58 +03:00
parent 4c28f0f1e0
commit fa8942a94c

View File

@ -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)
]