View Source Membrane.Stream.Serializer (Membrane Stream plugin v0.1.0)

Element recording a stream of Membrane actions into binary format, suitable for saving to the file.

Currently supported, as of V1:

  • buffers
  • caps
  • events

A stream can be replayed using Membrane.Stream.Deserializer:

element-options

Element options

Passed via struct Membrane.Stream.Serializer.t/0

  • version

    Membrane.Stream.Format.Version.t()

    Default value: 1

pads

Pads

input

:input

Availability :always
Caps :any
Demand mode :auto
Demand unit :buffers
Direction :input
Mode :pull
Name :input

output

:output

Availability :always
Caps Membrane.RemoteStream, restrictions:
  content_format: Membrane.Stream
Demand mode :auto
Demand unit :buffers
Direction :output
Mode :pull
Name :output

Link to this section Summary

Types

t()

Struct containing options for Membrane.Stream.Serializer

Functions

Returns pads descriptions for Membrane.Stream.Serializer

Returns description of options available for this module

Link to this section Types

@type t() :: %Membrane.Stream.Serializer{version: Membrane.Stream.Format.Version.t()}

Struct containing options for Membrane.Stream.Serializer

Link to this section Functions

@spec membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]

Returns pads descriptions for Membrane.Stream.Serializer

@spec options() :: keyword()

Returns description of options available for this module