Skip to content

Commit 9f0237c

Browse files
authored
fix wrong message topic (#112)
* fix wrong message topic * fix integration test * bump ver
1 parent 598f9b0 commit 9f0237c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ In future, the support for MPEG-DASH is planned as well
1313
Add the following line to your `deps` in `mix.exs`. Run `mix deps.get`.
1414

1515
```elixir
16-
{:membrane_http_adaptive_stream_plugin, "~> 0.18.6"}
16+
{:membrane_http_adaptive_stream_plugin, "~> 0.18.7"}
1717
```
1818

1919
## Usage Example

lib/membrane_http_adaptive_stream/storages/genserver_storage.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ defmodule Membrane.HTTPAdaptiveStream.Storages.GenServerStorage do
5555
@impl true
5656
def remove(parent_id, name, context, impl_state) do
5757
params = Map.merge(context, %{parent_id: parent_id, name: name})
58-
{impl_state.method.(impl_state.destination, {__MODULE__, :store, params}), impl_state}
58+
{impl_state.method.(impl_state.destination, {__MODULE__, :remove, params}), impl_state}
5959
end
6060
end

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule Membrane.HTTPAdaptiveStream.MixProject do
22
use Mix.Project
33

4-
@version "0.18.6"
4+
@version "0.18.7"
55
@github_url "https://github.com/membraneframework/membrane_http_adaptive_stream_plugin"
66

77
def project do

test/membrane_http_adaptive_stream/integration_test/sink_bin_integration_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ defmodule Membrane.HTTPAdaptiveStream.SinkBinIntegrationTest do
428428
preload_hints =
429429
expected_segments
430430
|> Enum.flat_map(fn {_type, _segment_idx, parts} = tuple ->
431-
for idx <- 0..parts, do: Tuple.append(tuple, idx)
431+
for idx <- 0..parts, do: Tuple.insert_at(tuple, 3, idx)
432432
end)
433433
|> Enum.map(fn {type, segment_idx, parts, part_idx} ->
434434
{segment_idx, part_idx} = calculate_preload_sn(segment_idx, part_idx, parts)

0 commit comments

Comments
 (0)