Skip to content

Commit 3b70a83

Browse files
committed
Use released packages
1 parent 673550b commit 3b70a83

File tree

4 files changed

+26
-28
lines changed

4 files changed

+26
-28
lines changed

examples/file_to_browser.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,15 @@ Process.monitor(supervisor)
8383

8484
{:ok, _server} =
8585
:inets.start(:httpd,
86-
bind_address: ~c"0.0.0.0",
86+
bind_address: ~c"localhost",
8787
port: 8000,
8888
document_root: ~c"#{__DIR__}/assets/file_to_browser",
8989
server_name: ~c"webrtc",
9090
server_root: "/tmp"
9191
)
9292

9393
Logger.info("""
94-
The stream is available at http://0.0.0.0:8000/index.html.
94+
The stream is available at http://localhost:8000/index.html.
9595
""")
9696

9797
receive do

lib/membrane_webrtc/whip_server.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ defmodule Membrane.WebRTC.WhipServer do
231231
end
232232

233233
defp generate_resource_id() do
234-
for _ <- 1..10, into: "", do: <<Enum.random(~c"0123456789abcdef")>>
234+
for _i <- 1..10, into: "", do: <<Enum.random(~c"0123456789abcdef")>>
235235
end
236236

237237
defp handler_name(resource_id) do

mix.exs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,9 @@ defmodule Membrane.WebRTC.Plugin.Mixfile do
4141
{:ex_webrtc, "~> 0.4.0"},
4242
{:corsica, "~> 2.0"},
4343
{:membrane_timestamp_queue, "~> 0.2.0"},
44-
{:membrane_rtp_plugin,
45-
github: "membraneframework/membrane_rtp_plugin", branch: "rtp-muxer", override: true},
44+
{:membrane_rtp_plugin, "~> 0.30.0"},
4645
{:membrane_rtp_h264_plugin, "~> 0.20.0"},
47-
# {:membrane_rtp_vp8_plugin, "~> 0.9.1"},
48-
{:membrane_rtp_vp8_plugin,
49-
github: "membraneframework/membrane_rtp_vp8_plugin", branch: "bump-rtp-format"},
46+
{:membrane_rtp_vp8_plugin, "~> 0.9.3"},
5047
{:membrane_rtp_opus_plugin, "~> 0.10.0"},
5148
{:bandit, "~> 1.2"},
5249
{:websock_adapter, "~> 0.5.0"},

0 commit comments

Comments
 (0)