зеркало из https://github.com/microsoft/auteur.git
scripts: update web_overlay example
This commit is contained in:
Родитель
205bd41de3
Коммит
4e91f5f8c1
|
@ -1,6 +1,6 @@
|
|||
import argparse
|
||||
|
||||
from node_schedule import create_mixer, create_rtmp_destination, start_node, connect, schedule_source, add_control_point, later, get_info
|
||||
from node_schedule import create_mixer, create_local_playback_destination, start_node, connect, schedule_source, add_control_point, later, get_info
|
||||
|
||||
if __name__ == '__main__':
|
||||
parser = argparse.ArgumentParser('web-overlay')
|
||||
|
@ -16,9 +16,9 @@ if __name__ == '__main__':
|
|||
'height': 720,
|
||||
'sample-rate': 44100
|
||||
})
|
||||
create_rtmp_destination('centricular-output', 'rtmp://learntv-transcoder.eastus.azurecontainer.io/live/centricular-output')
|
||||
start_node('centricular-output')
|
||||
create_local_playback_destination('centricular-output')
|
||||
connect('channel-1', 'centricular-output')
|
||||
start_node('centricular-output')
|
||||
start_node('channel-1')
|
||||
|
||||
source_slot = schedule_source(source_uri, 'source_slot', 'channel-1', later(0),
|
||||
|
|
Загрузка…
Ссылка в новой задаче