From 867a583206e37120dff2b4d55528177c4eff2760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=9Aled=C5=BA?= Date: Thu, 29 Jun 2023 00:00:44 +0200 Subject: [PATCH] Fix Engine.get_endpoints (#290) --- README.md | 2 +- lib/membrane_rtc_engine/engine.ex | 1 + mix.exs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c96f58571..a93d816ae 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ The package can be installed by adding `membrane_rtc_engine` to your list of dep ```elixir def deps do [ - {:membrane_rtc_engine, "~> 0.14.1"} + {:membrane_rtc_engine, "~> 0.14.2"} ] end ``` diff --git a/lib/membrane_rtc_engine/engine.ex b/lib/membrane_rtc_engine/engine.ex index 6c22659f7..74cb87235 100644 --- a/lib/membrane_rtc_engine/engine.ex +++ b/lib/membrane_rtc_engine/engine.ex @@ -494,6 +494,7 @@ defmodule Membrane.RTC.Engine do endpoints = ctx.children |> Map.values() + |> Enum.filter(fn child -> match?({:endpoint, _id}, child.name) end) |> Enum.map(fn endpoint -> {:endpoint, id} = endpoint.name %{id: id, type: endpoint.module} diff --git a/mix.exs b/mix.exs index 1a3ab03bf..2182c2ddd 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Membrane.RTC.Engine.MixProject do use Mix.Project - @version "0.14.1" + @version "0.14.2" @github_url "https://github.com/jellyfish-dev/membrane_rtc_engine" def project do