Skip to content

Commit 403e515

Browse files
authored
Bump dependencies in rtmp_to_hls demo (#277)
* Bump dependencies in rtmp_to_hls demo * Fix page
1 parent 4e17e77 commit 403e515

File tree

4 files changed

+32
-42
lines changed

4 files changed

+32
-42
lines changed

rtmp_to_hls/README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ The internal architecture of the server is presented below:
2424

2525
The client is just a simple JavaScript application using the [HLS.js](https://github.com/video-dev/hls.js/) web player.
2626

27-
2827
## Running the demo
2928

3029
To run the demo, you'll need to have [Elixir installed](https://elixir-lang.org/install.html). Then, download the dependencies and start the server:
@@ -44,7 +43,7 @@ Once you have OBS installed, you can perform the following steps:
4443

4544
1. Open the OBS application
4645
2. Open the `Settings` windows
47-
3. Go to the `Stream` tab and set the value in the `Server` field to `rtmp://localhost:9006` (the address where the server is waiting for the stream)
46+
3. Go to the `Stream` tab, set `Service` to `Custom...` and then set the value in the `Server` field to `rtmp://localhost:9006` (the address where the server is waiting for the stream)
4847
4. Go to the `Output`, set output mode to `Advanced`, and set `Keyframe Interval` to 2 seconds.
4948
5. Finally, you can go back to the main window and start streaming with the `Start Streaming` button.
5049

rtmp_to_hls/lib/rtmp_to_hls_web/templates/layout/root.html.heex

+1-13
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,7 @@
1010
<script defer phx-track-static type="text/javascript" src={Routes.static_path(@conn, "/assets/app.js")}></script>
1111
</head>
1212
<body>
13-
<header>
14-
<section class="container">
15-
<nav>
16-
<ul>
17-
<li><a href="https://membraneframework.org/guide/v0.7/introduction.html">Get Started with Membrane</a></li>
18-
19-
</ul>
20-
</nav>
21-
<a href="https://membraneframework.org/" class="phx-logo">
22-
<img class="logo" src="https://www.membraneframework.org/wp-content/uploads/2018/06/membrane_fw_h_white_.png" alt="Membrane Framework" height="65" style="display: inline-block">
23-
</a>
24-
</section>
25-
</header>
13+
<h2 style="text-align:center;">RTMP to HLS demo</h2>
2614
<%= @inner_content %>
2715
</body>
2816
</html>

rtmp_to_hls/mix.exs

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ defmodule RtmpToHls.MixProject do
4848

4949
## Membrane deps
5050
{:membrane_core, "~> 1.0"},
51-
{:membrane_rtmp_plugin, "~> 0.20.0"},
52-
{:membrane_http_adaptive_stream_plugin, "~> 0.18.0"}
51+
{:membrane_rtmp_plugin, "~> 0.23.2"},
52+
{:membrane_http_adaptive_stream_plugin, "~> 0.18.4"}
5353
]
5454
end
5555

0 commit comments

Comments
 (0)