Mercurial > libervia-desktop-kivy
comparison libervia/desktop_kivy/plugins/plugin_wid_calls.py @ 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 | d78728d7fd6a |
children |
comparison
equal
deleted
inserted
replaced
515:2ff26b4273df | 516:11851162dd4c |
---|---|
114 self.parent_calls = parent_calls | 114 self.parent_calls = parent_calls |
115 self.profile = profile | 115 self.profile = profile |
116 self.webrtc = webrtc.WebRTC( | 116 self.webrtc = webrtc.WebRTC( |
117 G.host.a_bridge, | 117 G.host.a_bridge, |
118 profile, | 118 profile, |
119 sinks=webrtc.SINKS_TEST if self.test_mode else webrtc.SINKS_APP, | 119 sinks_data=webrtc.SinksApp( |
120 appsink_data=webrtc.AppSinkData( | |
121 local_video_cb=partial( | 120 local_video_cb=partial( |
122 self.on_new_sample, | 121 self.on_new_sample, |
123 update_sample_method=self.update_sample, | 122 update_sample_method=self.update_sample, |
124 video_widget=self.parent_calls.local_video | 123 video_widget=self.parent_calls.local_video |
125 ), | 124 ), |