Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
Noarkhh committed Sep 23, 2024
1 parent cf71554 commit fb35c6f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
11 changes: 0 additions & 11 deletions lib/membrane/simple_rtsp_server/handler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,6 @@ defmodule Membrane.SimpleRTSPServer.Handler do
media_config: media_config
}

# arg = %{
# socket: state.socket,
# ssrc: media_context.ssrc,
# pt: @video_pt,
# clock_rate: @video_clock_rate,
# client_port: client_rtp_port,
# client_ip: media_context.address,
# server_rtp_socket: media_context.rtp_socket,
# mp4_path: state.mp4_path
# }

{:ok, _sup_pid, pipeline_pid} =
Membrane.SimpleRTSPServer.Pipeline.start_link(arg)

Expand Down
1 change: 0 additions & 1 deletion lib/membrane/simple_rtsp_server/pipeline.ex
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ defmodule Membrane.SimpleRTSPServer.Pipeline do
clock_rate: config.clock_rate
]
)
# |> child(%Membrane.Debug.Filter{handle_buffer: &IO.inspect(&1.pts, label: type)})
|> child({:realtimer, type}, Membrane.Realtimer)
|> child({:udp_sink, type}, %Membrane.UDP.Sink{
destination_address: config.client_address,
Expand Down

0 comments on commit fb35c6f

Please sign in to comment.