Current section

Files

Jump to
membrane_rtsp lib membrane_rtsp application.ex
Raw

lib/membrane_rtsp/application.ex

defmodule Membrane.RTSP.Application do
@moduledoc false
use Application
def start(_type, _args) do
children = [
%{
id: TransportRegistry,
start: {Registry, :start_link, [:unique, TransportRegistry]}
}
]
Supervisor.start_link(children, strategy: :one_for_one, name: __MODULE__)
end
end