Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
second rtp stream fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sgfn committed Apr 4, 2023
1 parent 3a63cd7 commit 165cb8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/membrane_rtc_engine/endpoints/rtsp_endpoint.ex
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ if Enum.all?(
_ctx,
state
)
when is_nil(state.ssrc) do
when is_nil(state.ssrc) or ssrc == state.ssrc do
Membrane.Logger.debug("New RTP stream connected: #{inspect(msg)}")

state = %{state | ssrc: ssrc}
Expand Down

0 comments on commit 165cb8b

Please sign in to comment.