comparison libervia/desktop_kivy/plugins/plugin_wid_calls.kv @ 514:d78728d7fd6a

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 196483685a63
comparison
equal deleted inserted replaced
513:0fdf3e59aaad 514:d78728d7fd6a
154 rgba: (0, 0, 0, 0) if self.active else (0.4, 0.4, 0.4, 1) 154 rgba: (0, 0, 0, 0) if self.active else (0.4, 0.4, 0.4, 1)
155 Line: 155 Line:
156 points: [self.x + dp(10), self.y + dp(10), self.right - dp(10), self.top - dp(10)] 156 points: [self.x + dp(10), self.y + dp(10), self.right - dp(10), self.top - dp(10)]
157 width: 2 157 width: 2
158 cap: "round" 158 cap: "round"
159 CallControlButton:
160 symbol: "doc"
161 color: 0, 0, 0, 1
162 background_color: (1, 1, 1, 1)
163 on_press: root.on_file_btn_press()
159 164
160 CallControlButton: 165 CallControlButton:
161 symbol: "phone" 166 symbol: "phone"
162 background_color: 0.95, 0.27, 0.41, 1 167 background_color: 0.95, 0.27, 0.41, 1
163 on_press: root.hang_up() 168 on_press: root.hang_up()