Can someone help me figure out what I'm doing wrong here? I tried to follow the update to v0.11.0 guides with the simple_pipeline demo (modified to use the Hackney.Sink) and I'm getting errors.
structure = [ child(:source, %Membrane.File.Source{location: "sample.mp3"}), child(:sink, %Membrane.Hackney.Sink{method: :put, location: build_uri("my_store", "sample.mp3"), headers: [access_key(), {"content-type", "audio/flac"}]}), get_child(:source) |> child(:sink) ]
{[spec: structure, playback: :playing], %{}}
I am getting the error
** (MatchError) no match of right hand side value: {:error, {%Membrane.ParentError{message: "Invalid children config: {:sink, [], %{get_if_exists: false}}"}, [{Membrane.Core.Parent.ChildEntryParser, :parse_child, 1, [file: 'lib/membrane/core/parent/child_entry_parser.ex', line: 40]}, {Enum, :"-map/2-lists^map/1-0-", 2, [file: 'lib/enum.ex', line: 1658]}, {Membrane.Core.Parent.ChildLifeController, :setup_children, 3, [file: 'lib/membrane/core/parent/child_life_controller.ex', line: 189]}, {Enum, :"-flat_map_reduce/3-fun-1-", 3, [file: 'lib/enum.ex', line: 1288]}, {Enumerable.List, :reduce, 3, [file: 'lib/enum.ex', line: 4751]}, {Enum, :flat_map_reduce, 3, [file: 'lib/enum.ex', line: 1287]}, {Membrane.Core.Parent.ChildLifeController, :handle_spec, 2, [file: 'lib/membrane/core/parent/child_life_controller.ex', line: 124]}, {Membrane.Core.CallbackHandler, :"-handle_callback_result/5-fun-0-", 5, [file: 'lib/membrane/core/callback_handler.ex', line: 187]}]}} lib/membrane_demo/simple_pipeline.ex:80: (file) (elixir 1.14.2) lib/kernel/parallel_compiler.ex:346: anonymous fn/5 in Kernel.ParallelCompiler.spawn_workers/7