# `Membrane.RemoteStream`
[🔗](https://github.com/membraneframework/membrane-core/blob/v1.2.6/lib/membrane/remote_stream.ex#L1)

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)

# `t`

```elixir
@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)

---

*Consult [api-reference.md](api-reference.md) for complete listing*
