Skip to content

Commit

Permalink
Change Logger.error into Logger.warn for informing about stream forma…
Browse files Browse the repository at this point in the history
…t redefinition (#55)

* Change Logger.error into Logger.warn for informing about stream format redefinition
  • Loading branch information
varsill authored Jun 20, 2023
1 parent f83b811 commit ded2ef6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.13.0"}
{:membrane_rtmp_plugin, "~> 0.13.1"}
]
end
```
Expand Down
4 changes: 2 additions & 2 deletions lib/membrane_rtmp_plugin/rtmp/sink/sink.ex
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ defmodule Membrane.RTMP.Sink do
{[], %{state | native: native, ready?: ready?}}

{:error, :stream_format_resent} ->
Membrane.Logger.error(
Membrane.Logger.warn(
"Input stream format redefined on pad :video. RTMP Sink does not support dynamic stream parameters"
)

Expand Down Expand Up @@ -168,7 +168,7 @@ defmodule Membrane.RTMP.Sink do
{[], %{state | native: native, ready?: ready?}}

{:error, :stream_format_resent} ->
Membrane.Logger.error(
Membrane.Logger.warn(
"Input stream format redefined on pad :audio. RTMP Sink does not support dynamic stream parameters"
)

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Membrane.RTMP.Mixfile do
use Mix.Project

@version "0.13.0"
@version "0.13.1"
@github_url "https://github.com/membraneframework/membrane_rtmp_plugin"

def project do
Expand Down

0 comments on commit ded2ef6

Please sign in to comment.