diff libervia/desktop_kivy/plugins/plugin_wid_calls.kv @ 514:d78728d7fd6a default tip

plugin wid calls, core: implements WebRTC DataChannel file transfer: - Add a new "file" icon in call UI to send a file via WebRTC. - Handle new preflight mechanism, and WebRTC file transfer. - Native file chooser handling has been moved to new `core.file_chooser` module, and now supports "save" and "dir" modes (based on `plyer`). rel 442
author Goffi <goffi@goffi.org>
date Sat, 06 Apr 2024 13:37:27 +0200
parents 97ab236e8f20
children
line wrap: on
line diff
--- a/libervia/desktop_kivy/plugins/plugin_wid_calls.kv	Thu Jan 18 23:46:31 2024 +0100
+++ b/libervia/desktop_kivy/plugins/plugin_wid_calls.kv	Sat Apr 06 13:37:27 2024 +0200
@@ -156,6 +156,11 @@
                                 points: [self.x + dp(10), self.y + dp(10), self.right - dp(10), self.top - dp(10)]
                                 width: 2
                                 cap: "round"
+                    CallControlButton:
+                        symbol: "doc"
+                        color: 0, 0, 0, 1
+                        background_color: (1, 1, 1, 1)
+                        on_press: root.on_file_btn_press()
 
                     CallControlButton:
                         symbol: "phone"