mirror of
https://github.com/algora-io/tv.git
synced 2026-06-13 16:06:03 +02:00
add helper to get video id from pipeline
This commit is contained in:
@@ -70,4 +70,9 @@ defmodule Algora.Pipeline do
|
||||
|
||||
{[], state}
|
||||
end
|
||||
|
||||
@impl true
|
||||
def handle_call(:get_video_id, _ctx, state) do
|
||||
{[{:reply, state.video.id}], state}
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user