changeset 516:11851162dd4c

plugin calls: Change WebRTC call following change in class signature.
author Goffi <goffi@goffi.org>
date Sat, 13 Jul 2024 13:07:58 +0200
parents 2ff26b4273df
children f316c7f19909
files libervia/desktop_kivy/plugins/plugin_wid_calls.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libervia/desktop_kivy/plugins/plugin_wid_calls.py	Sat Jul 13 13:06:47 2024 +0200
+++ b/libervia/desktop_kivy/plugins/plugin_wid_calls.py	Sat Jul 13 13:07:58 2024 +0200
@@ -116,8 +116,7 @@
         self.webrtc = webrtc.WebRTC(
             G.host.a_bridge,
             profile,
-            sinks=webrtc.SINKS_TEST if self.test_mode else webrtc.SINKS_APP,
-            appsink_data=webrtc.AppSinkData(
+            sinks_data=webrtc.SinksApp(
                 local_video_cb=partial(
                     self.on_new_sample,
                     update_sample_method=self.update_sample,