cli (call): Add no_ui output:

`no_ui` output is used when a local UI must not be created, e.g.; because the stream is
piped out. The `--no-ui` option has been removed because using a dedicated output seems
like a better approach.
This commit is contained in:
Goffi 2025-11-19 17:21:26 +01:00
commit 07fe13698c

View file

@ -175,6 +175,5 @@ class AVCallUI(BaseAVTUI):
on_call_ended_cb=lambda sid, profile: parent.host.a_quit(),
**kwargs,
)
if not parent.args.no_ui:
ui = cls(parent.host, webrtc_call.webrtc)
await ui.start()
ui = cls(parent.host, webrtc_call.webrtc)
await ui.start()