Skip to content

Commit

Permalink
Actually pass the state
Browse files Browse the repository at this point in the history
  • Loading branch information
Noarkhh committed Aug 22, 2024
1 parent 8468f24 commit 845a744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/membrane_rtsp/server.ex
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ defmodule Membrane.RTSP.Server do
def handle_info({:new_connection, client_socket}, state) do
child_state =
state
|> Map.take([:handler, :session_timeout, :udp_rtp_socket, :udp_rtcp_socket])
|> Map.take([:handler, :handler_state, :session_timeout, :udp_rtp_socket, :udp_rtcp_socket])
|> Map.put(:socket, client_socket)

case Conn.start(child_state) do
Expand Down

0 comments on commit 845a744

Please sign in to comment.