mirror of
https://github.com/algora-io/tv.git
synced 2024-11-26 01:00:20 +02:00
add helper to get video id from pipeline
This commit is contained in:
parent
1baad3c4ae
commit
01c6a6c7b6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user