diff --git a/guides/components_lifecycle.md b/guides/components_lifecycle.md index 0bf5a478b..29c82c08c 100644 --- a/guides/components_lifecycle.md +++ b/guides/components_lifecycle.md @@ -22,13 +22,13 @@ Once the setup is completed and appropriate `handle_pad_added/3` are invoked, a After `handle_playing/2`, Elements are prepared to process the data flowing through their pads. ### Events -Events are one type of item that can be sent via an Element's pads and are managed in `handle_event/4`. Events are the only things that can travel both upstream and downstream relative to the pad’s direction - all other types of data sent through pads have to follow the direction of the link. +Events are one type of data that can be sent via an Element's pads and are managed in `handle_event/4`. Events are the only items that can travel both upstream and downstream - all other types of data sent through pads have to follow the direction of the link. ### Stream Formats The stream format, which defines the type of data carried by `Membrane.Buffer`s, must be declared before the first data buffer and is managed in `handle_stream_format/4`. ### Start of Stream -This callback `handle_start_of_stream/3` is invoked just before processing the first `Membrane.Buffer` from a specific input pad. +Callback `handle_start_of_stream/3` is invoked just before processing the first `Membrane.Buffer` from a specific input pad. ### Buffers The core of multimedia processing is handling `Membrane.Buffer`s, which contain multimedia payload and may also include metadata or timestamps. Buffers are managed within the `handle_buffer/4` callback. diff --git a/lib/membrane/bin/action.ex b/lib/membrane/bin/action.ex index 62587d52e..710de1111 100644 --- a/lib/membrane/bin/action.ex +++ b/lib/membrane/bin/action.ex @@ -63,7 +63,7 @@ defmodule Membrane.Bin.Action do |> get_child(:webrtc_sink) ``` - will result in having the following children's topology: + will result in the following children's topology: ![](assets/images/spec_with_audio.svg) """ diff --git a/lib/membrane/pipeline/action.ex b/lib/membrane/pipeline/action.ex index 573b698e2..9d2c4bf27 100644 --- a/lib/membrane/pipeline/action.ex +++ b/lib/membrane/pipeline/action.ex @@ -56,7 +56,7 @@ defmodule Membrane.Pipeline.Action do |> get_child(:webrtc_sink) ``` - will result in having the following children's topology: + will result in the following children's topology: ![](assets/images/spec_with_audio.svg) """