Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies in livebook demos #274

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions livebooks/audio_mixer/audio_mixer.livemd
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ File.cd(__DIR__)
Logger.configure(level: :error)

Mix.install([
{:membrane_core, "~> 1.0"},
{:membrane_core, "~> 1.0.1"},
{:membrane_audio_mix_plugin, "~> 0.16.0"},
{:membrane_file_plugin, "~> 0.16.0"},
{:membrane_file_plugin, "~> 0.17.0"},
{:membrane_mp3_mad_plugin, "~> 0.18.2"},
{:membrane_ffmpeg_swresample_plugin, "~> 0.19.1"},
{:membrane_aac_fdk_plugin, "~> 0.18.5"},
{:membrane_kino_plugin, github: "membraneframework-labs/membrane_kino_plugin", tag: "v0.3.1"},
# needs to be fixed
{:membrane_ffmpeg_swresample_plugin, "~> 0.20.0"},
{:membrane_aac_fdk_plugin, "~> 0.18.6"},
{:membrane_kino_plugin,
github: "membraneframework-labs/membrane_kino_plugin", tag: "v0.3.2-rc0"},
{:membrane_tee_plugin, "~> 0.12.0"}
])
```
Expand Down
29 changes: 17 additions & 12 deletions livebooks/messages_source_and_sink/messages_source_and_sink.livemd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ File.cd(__DIR__)
Logger.configure(level: :error)

Mix.install([
{:membrane_core, "~> 1.0"}
{:membrane_core, "~> 1.0.1"}
])
```

Expand All @@ -17,15 +17,17 @@ defmodule MessageSource do

require Membrane.Logger

def_output_pad :output,
def_output_pad(:output,
flow_control: :push,
accepted_format: _any
)

def_options register_name: [
description: "The name under which the element's process will be registered",
spec: atom()
]

def_options(
register_name: [
description: "The name under which the element's process will be registered",
spec: atom()
]
)

@impl true
def handle_init(_ctx, opts) do
Expand Down Expand Up @@ -73,14 +75,17 @@ end
defmodule MessageSink do
use Membrane.Sink

def_input_pad :input,
def_input_pad(:input,
flow_control: :push,
accepted_format: _any
)

def_options receiver: [
description: "PID of the process that will receive messages from the sink",
spec: pid()
]
def_options(
receiver: [
description: "PID of the process that will receive messages from the sink",
spec: pid()
]
)

@impl true
def handle_init(_ctx, opts) do
Expand Down
7 changes: 4 additions & 3 deletions livebooks/rtmp/rtmp_receiver.livemd
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ File.cd(__DIR__)
Logger.configure(level: :error)

Mix.install([
{:membrane_core, "~> 1.0"},
{:membrane_core, "~> 1.0.1"},
{:membrane_realtimer_plugin, "~> 0.9.0"},
{:membrane_rtmp_plugin, "~> 0.21.0"},
{:membrane_kino_plugin, github: "membraneframework-labs/membrane_kino_plugin", tag: "v0.3.1"}
{:membrane_rtmp_plugin, "~> 0.23.2"},
{:membrane_kino_plugin,
github: "membraneframework-labs/membrane_kino_plugin", tag: "v0.3.2-rc0"}
])
```

Expand Down
4 changes: 2 additions & 2 deletions livebooks/rtmp/rtmp_sender.livemd
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ File.cd(__DIR__)
Logger.configure(level: :error)

Mix.install([
{:membrane_core, "~> 1.0"},
{:membrane_core, "~> 1.0.1"},
{:membrane_realtimer_plugin, "~> 0.9.0"},
{:membrane_hackney_plugin, "~> 0.11.0"},
{:membrane_rtmp_plugin, "~> 0.21.0"}
{:membrane_rtmp_plugin, "~> 0.23.2"}
])
```

Expand Down
6 changes: 3 additions & 3 deletions livebooks/soundwave/soundwave.livemd
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ File.cd(__DIR__)
Logger.configure(level: :error)

Mix.install([
{:membrane_core, "~> 1.0"},
{:membrane_core, "~> 1.0.1"},
{:membrane_raw_audio_parser_plugin, "~> 0.4.0"},
{:membrane_portaudio_plugin, "~> 0.18.3"},
{:vega_lite, "~> 0.1.8"},
{:membrane_portaudio_plugin, "~> 0.19.0"},
{:vega_lite, "~> 0.1.9"},
{:kino_vega_lite, "~> 0.1.11"}
])
```
Expand Down
8 changes: 4 additions & 4 deletions livebooks/speech_to_text/speech_to_text.livemd
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ Logger.configure(level: :info)

Mix.install(
[
{:bumblebee, "~> 0.4.2"},
{:exla, "~> 0.6.4"},
{:membrane_core, "~> 1.0"},
{:membrane_portaudio_plugin, "~> 0.18.3"}
{:bumblebee, "~> 0.5.3"},
{:exla, "~> 0.7.1"},
{:membrane_core, "~> 1.0.1"},
{:membrane_portaudio_plugin, "~> 0.19.0"}
],
config: [
nx: [default_backend: EXLA.Backend]
Expand Down
Loading