View Source Membrane.RemoteStream (Membrane Core v1.1.2)

Format describing an unparsed data stream. It should be used whenever outputting or accepting an unknown stream (not to be confused with any stream, which can have well-specified format either), or a stream whose format can't/shouldn't be created at that stage.

Parameters:

  • :content_format - format that is supposed to be carried in the stream, nil if unknown (default)
  • :type - either :bytestream (continuous stream) or :packetized (each buffer contains exactly one specified unit of data)

Link to this section Summary

Types

t()

Format describing an unparsed data stream. It should be used whenever outputting or accepting an unknown stream (not to be confused with any stream, which can have well-specified format either), or a stream whose format can't/shouldn't be created at that stage.

Link to this section Types

@type t() :: %Membrane.RemoteStream{
  content_format: module() | nil,
  type: :bytestream | :packetized
}

Format describing an unparsed data stream. It should be used whenever outputting or accepting an unknown stream (not to be confused with any stream, which can have well-specified format either), or a stream whose format can't/shouldn't be created at that stage.

Parameters:

  • :content_format - format that is supposed to be carried in the stream, nil if unknown (default)
  • :type - either :bytestream (continuous stream) or :packetized (each buffer contains exactly one specified unit of data)