Skip to content

Commit

Permalink
Add missing bit
Browse files Browse the repository at this point in the history
  • Loading branch information
dmorn committed Oct 3, 2024
1 parent b4b41e6 commit 1475567
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/membrane_rtmp_plugin/rtmp/message_handler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ defmodule Membrane.RTMP.MessageHandler do
{:set_chunk_size_required, non_neg_integer()}
| {:connected, Membrane.RTMP.Messages.Connect.t()}
| {:published, Membrane.RTMP.Messages.Publish.t()}
| :end_of_stream
| :delete_stream
| {:data_available, binary()}
@type t() :: %{
socket: :gen_tcp.socket() | :ssl.socket(),
Expand Down Expand Up @@ -218,7 +218,7 @@ defmodule Membrane.RTMP.MessageHandler do
end

defp do_handle_client_message(%Messages.DeleteStream{}, _header, state) do
{:halt, %{state | events: [:end_of_stream | state.events]}}
{:halt, %{state | events: [:delete_stream | state.events]}}
end

# Check bandwidth message
Expand Down

0 comments on commit 1475567

Please sign in to comment.