Skip to content

Commit

Permalink
Remove boombox dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Noarkhh committed Jan 8, 2025
1 parent 2885b63 commit cf368bf
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ defmodule Membrane.SimpleRTSPServer.Mixfile do
{:ex_sdp, "~> 1.1"},
{:membrane_udp_plugin, "~> 0.14.0"},
{:membrane_realtimer_plugin, "~> 0.9.0"},
{:boombox, github: "membraneframework/boombox", branch: "rtp-input", only: :test},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:dialyxir, ">= 0.0.0", only: :dev, runtime: false},
{:credo, ">= 0.0.0", only: :dev, runtime: false}
Expand Down
2 changes: 1 addition & 1 deletion mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"membrane_rtp_h264_plugin": {:hex, :membrane_rtp_h264_plugin, "0.20.2", "ab84db505d3102a9cdc300f137c78245ef3982a7ec545838f9544b6b0a2ca1ba", [:mix], [{:bunch, "~> 1.5", [hex: :bunch, repo: "hexpm", optional: false]}, {:membrane_core, "~> 1.0", [hex: :membrane_core, repo: "hexpm", optional: false]}, {:membrane_h264_format, "~> 0.6.0", [hex: :membrane_h264_format, repo: "hexpm", optional: false]}, {:membrane_rtp_format, "~> 0.10.0", [hex: :membrane_rtp_format, repo: "hexpm", optional: false]}], "hexpm", "27f38c49544d1acf6f7c3f8770a7893f90813a31e8a26461e112a3d3142aff46"},
"membrane_rtp_h265_plugin": {:git, "https://github.com/membraneframework-labs/membrane_rtp_h265_plugin.git", "4dc89911d40aa08d96f4357c45bec19b5afa80d8", [branch: "bump-rtp-format"]},
"membrane_rtp_opus_plugin": {:hex, :membrane_rtp_opus_plugin, "0.10.0", "5797c9b5f09a81c35edc13583eafdfa86b71ac5b2a9d399e95598e27c23ec1b6", [:mix], [{:membrane_core, "~> 1.0", [hex: :membrane_core, repo: "hexpm", optional: false]}, {:membrane_opus_format, "~> 0.3.0", [hex: :membrane_opus_format, repo: "hexpm", optional: false]}, {:membrane_rtp_format, "~> 0.10.0", [hex: :membrane_rtp_format, repo: "hexpm", optional: false]}], "hexpm", "988cf18ad1e5eb876ec93ae476f035bbec0aff2ca33127b1009217bd258e4845"},
"membrane_rtp_plugin": {:git, "https://github.com/membraneframework/membrane_rtp_plugin.git", "33059e6ad25868670757544226ebbe1676ca21ed", [branch: "rtp-muxer"]},
"membrane_rtp_plugin": {:hex, :membrane_rtp_plugin, "0.30.0", "f7dbc0c5e163edf4ec67b89b1028a7b99ea56e87f8cc01d01b01ec0470287128", [:mix], [{:bimap, "~> 1.2", [hex: :bimap, repo: "hexpm", optional: false]}, {:bunch, "~> 1.5", [hex: :bunch, repo: "hexpm", optional: false]}, {:ex_libsrtp, "~> 0.6.0 or ~> 0.7.0", [hex: :ex_libsrtp, repo: "hexpm", optional: true]}, {:ex_rtcp, "~> 0.4.0", [hex: :ex_rtcp, repo: "hexpm", optional: false]}, {:ex_rtp, "~> 0.4.0", [hex: :ex_rtp, repo: "hexpm", optional: false]}, {:heap, "~> 2.0.2", [hex: :heap, repo: "hexpm", optional: false]}, {:membrane_core, "~> 1.0", [hex: :membrane_core, repo: "hexpm", optional: false]}, {:membrane_funnel_plugin, "~> 0.9.0", [hex: :membrane_funnel_plugin, repo: "hexpm", optional: false]}, {:membrane_rtp_format, "~> 0.10.0", [hex: :membrane_rtp_format, repo: "hexpm", optional: false]}, {:membrane_telemetry_metrics, "~> 0.1.0", [hex: :membrane_telemetry_metrics, repo: "hexpm", optional: false]}, {:qex, "~> 0.5.1", [hex: :qex, repo: "hexpm", optional: false]}], "hexpm", "9600e39c35428c3a86c469ee3cae5a60d259da3ee7e58f94b04866da6d719016"},
"membrane_rtp_vp8_plugin": {:git, "https://github.com/membraneframework/membrane_rtp_vp8_plugin.git", "623b5b002773adc75693c45456307708232f6f69", [branch: "bump-rtp-format"]},
"membrane_rtsp": {:hex, :membrane_rtsp, "0.10.1", "c6cb8549daab155175896f677b049a0f65c3a650e93e603714ec94a836148722", [:mix], [{:bunch, "~> 1.6", [hex: :bunch, repo: "hexpm", optional: false]}, {:ex_sdp, "~> 0.17.0 or ~> 1.0", [hex: :ex_sdp, repo: "hexpm", optional: false]}, {:mockery, "~> 2.3", [hex: :mockery, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.4.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "ff382b38c09150ff43c7ec7a2a62df41b2bab42793633dcc40ef9b6e51ac70b9"},
"membrane_rtsp_plugin": {:git, "https://github.com/membraneframework-labs/membrane_rtsp_plugin.git", "88ecd384dd04c5c2b1a35de8c620855feac05a8e", [branch: "bump-deps"]},
Expand Down
2 changes: 1 addition & 1 deletion test/integration_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule Membrane.SimpleRTSPServer.IntegrationTest do
output_path = Path.join(tmp_dir, "output.mp4")
Membrane.SimpleRTSPServer.start_link(input_path, port: 40_001)
Process.sleep(50)
Boombox.run(input: "rtsp://localhost:40001", output: output_path)
System.shell("ffmpeg -i rtsp://localhost:40001 -c:v copy -c:a copy #{output_path}")

{:ok, %{size: input_size}} = File.stat(input_path)
{:ok, %{size: output_size}} = File.stat(output_path)
Expand Down

0 comments on commit cf368bf

Please sign in to comment.