From 0d43bc24021d5423732696aacb1d2f1405fdc973 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Kita?= Date: Mon, 19 Feb 2024 10:27:10 +0100 Subject: [PATCH] Make sure try_connect/1 is scheduled on a dirty scheduler. Fix a dirty scheduler configuration for write_video_frame/5 --- README.md | 2 +- c_src/membrane_rtmp_plugin/sink/rtmp_sink.spec.exs | 2 +- mix.exs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6acb7288..9ddfb17d 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ The package can be installed by adding `membrane_rtmp_plugin` to your list of de ```elixir def deps do [ - {:membrane_rtmp_plugin, "~> 0.22.0"} + {:membrane_rtmp_plugin, "~> 0.22.1"} ] end ``` diff --git a/c_src/membrane_rtmp_plugin/sink/rtmp_sink.spec.exs b/c_src/membrane_rtmp_plugin/sink/rtmp_sink.spec.exs index 30216f81..720444b7 100644 --- a/c_src/membrane_rtmp_plugin/sink/rtmp_sink.spec.exs +++ b/c_src/membrane_rtmp_plugin/sink/rtmp_sink.spec.exs @@ -27,4 +27,4 @@ spec init_audio_stream(state, channels :: int, sample_rate :: int, aac_config :: spec write_audio_frame(state, frame :: payload, pts :: int64) :: {:ok :: label, state} | {:error :: label, reason :: string} -dirty :io, write_video_frame: 4, write_audio_frame: 3 +dirty :io, write_video_frame: 5, write_audio_frame: 3, try_connect: 1 diff --git a/mix.exs b/mix.exs index b3045736..29051a99 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Membrane.RTMP.Mixfile do use Mix.Project - @version "0.22.0" + @version "0.22.1" @github_url "https://github.com/membraneframework/membrane_rtmp_plugin" def project do