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:
parent
fa2144a167
commit
07fe13698c
1 changed files with 82 additions and 7 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue