Skip to content

Commit

Permalink
Support %Membrane.VP8{} format, bump version to v0.9.4 (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
FelonEkonom authored Jan 8, 2025
1 parent 477154c commit db5e13a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The package can be installed by adding `membrane_rtp_vp8_plugin` to your list of
```elixir
def deps do
[
{:membrane_rtp_vp8_plugin, "~> 0.9.3"}
{:membrane_rtp_vp8_plugin, "~> 0.9.4"}
]
end
```
Expand Down
8 changes: 7 additions & 1 deletion lib/membrane_rtp_vp8/payloader.ex
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,13 @@ defmodule Membrane.RTP.VP8.Payloader do
"""
]

def_input_pad :input, accepted_format: %RemoteStream{content_format: VP8, type: :packetized}
def_input_pad :input,
accepted_format:
any_of(
%RemoteStream{content_format: VP8, type: :packetized},
VP8
)

def_output_pad :output, accepted_format: RTP

@impl true
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.RTP.VP8.Plugin.Mixfile do
use Mix.Project

@version "0.9.3"
@version "0.9.4"
@github_url "https://github.com/membraneframework/membrane_rtp_vp8_plugin"

def project do
Expand Down

0 comments on commit db5e13a

Please sign in to comment.