From 066fad151b1eb8ed1489f478fc958181425589aa Mon Sep 17 00:00:00 2001 From: noarkhh Date: Thu, 3 Oct 2024 14:33:42 +0200 Subject: [PATCH 1/2] Assume / path when its nil --- lib/membrane_rtsp/rtsp.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/membrane_rtsp/rtsp.ex b/lib/membrane_rtsp/rtsp.ex index 0216030..8fab934 100644 --- a/lib/membrane_rtsp/rtsp.ex +++ b/lib/membrane_rtsp/rtsp.ex @@ -204,7 +204,7 @@ defmodule Membrane.RTSP do case URI.parse(url) do %URI{host: host, scheme: "rtsp"} = url when is_binary(host) -> start_fun.(__MODULE__, %{ - url: %URI{url | port: url.port || @default_rtsp_port}, + url: %URI{url | port: url.port || @default_rtsp_port, path: url.path || "/"}, options: options }) From 5e84bb922c857194ff11763f3e9875b3a1243109 Mon Sep 17 00:00:00 2001 From: noarkhh Date: Thu, 3 Oct 2024 14:34:06 +0200 Subject: [PATCH 2/2] Bump version --- README.md | 2 +- mix.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ac1453c..5fec56c 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ of dependencies in `mix.exs`: ```elixir def deps do [ - {:membrane_rtsp, "~> 0.10.0"} + {:membrane_rtsp, "~> 0.10.1"} ] end ``` diff --git a/mix.exs b/mix.exs index 32774f2..5ee2341 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Membrane.RTSP.MixProject do use Mix.Project - @version "0.10.0" + @version "0.10.1" @github_url "https://github.com/membraneframework/membrane_rtsp" def project do