Membrane.HTTPAdaptiveStream.Storages.GenServerStorage (Membrane HTTP Adaptive Stream plugin v0.4.0) View Source

Membrane.HTTPAdaptiveStream.Storage implementation that issues a call or cast with a message_t/0 to given destination on each call to store/remove.

Link to this section Summary

Link to this section Types

Specs

message_t() :: store_t() | remove_t()

Specs

remove_t() ::
  {Membrane.HTTPAdaptiveStream.Storages.GenServerStorage, :remove,
   %{name: String.t(), type: :manifest | :header | :segment}}

Specs

store_t() ::
  {Membrane.HTTPAdaptiveStream.Storages.GenServerStorage, :store,
   %{
     name: String.t(),
     contents: String.t(),
     type: :manifest | :header | :segment,
     mode: :text | :binary
   }}

Specs

t() :: %Membrane.HTTPAdaptiveStream.Storages.GenServerStorage{
  destination: Process.dest(),
  method: :call | :cast
}