Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorporate Funnel, Tee and Fake.Sink #922

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

FelonEkonom
Copy link
Member

Closes #871

@FelonEkonom FelonEkonom self-assigned this Dec 18, 2024
@FelonEkonom FelonEkonom changed the title Incorporate Funnel and Tee Incorporate Funnel, Tee and Fake.Sink Dec 18, 2024
Comment on lines +3 to +5
Element that can be used for collecting data from multiple inputs and sending it through one
output. When a new input connects in the `:playing` state, the funnel sends
`#{inspect(__MODULE__)}.NewInputEvent` via output.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Element that can be used for collecting data from multiple inputs and sending it through one
output. When a new input connects in the `:playing` state, the funnel sends
`#{inspect(__MODULE__)}.NewInputEvent` via output.
Element that can be used for collecting data from multiple inputs and sending it through one
output.
When a new input connects in the `:playing` state, the funnel sends
`#{inspect(__MODULE__)}.NewInputEvent` via output.


It has one input pad `:input` and 2 output pads:
* `:output` - is a dynamic pad which is always available and works in pull mode
* `:output_copy` - is a dynamic pad that can be linked to any number of elements (including 0) and works
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While copy made (a bit of) sense along with the master pad, now it doesn't IMO. Maybe push_output?

@@ -0,0 +1,12 @@
defmodule Membrane.Fake.Sink do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about

Suggested change
defmodule Membrane.Fake.Sink do
defmodule Membrane.FakeSink do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorporate ForwardingFilter, Tee, Funnel and Fake Sink into membrane_core
2 participants