View Source Membrane.HTTPAdaptiveStream.Storages.SendStorage (Membrane HTTP Adaptive Stream plugin v0.8.0)

Membrane.HTTPAdaptiveStream.Storage implementation that sends a message_t/0 to given destination on each call to store/remove.

Link to this section Summary

Link to this section Types

@type message_t() :: store_t() | remove_t()
@type remove_t() ::
  {Membrane.HTTPAdaptiveStream.Storages.SendStorage, :remove,
   %{name: String.t(), type: :manifest | :header | :segment}}
@type store_t() ::
  {Membrane.HTTPAdaptiveStream.Storages.SendStorage, :store,
   %{
     name: String.t(),
     contents: String.t(),
     type: :manifest | :header | :segment,
     mode: :text | :binary
   }}
@type t() :: %Membrane.HTTPAdaptiveStream.Storages.SendStorage{
  destination: Process.dest()
}