View Source Membrane.RemoteStream (Membrane Core v1.0.0-rc0)

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

Link to this section Types

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