Commit Graph

79 Commits

Author SHA1 Message Date
chunmao.guo 91c09867f7 FIX: [STUDIO-4347] fix local liveview test condition
Change-Id: I524a4f5a7762c390aa5097f1ef8b6a95a2687c83
Jira: STUDIO-4347
(cherry picked from commit 7624c1f04d92019e8f62b61ab0430ebb7a8570f8)
2023-11-09 10:09:10 +08:00
chunmao.guo 23018b4ced FIX: Revert "prefer local tunnel for P1P liveview"
This reverts commit 34605e0ba1d2428a433ebd1d3958fef6cb5f57bb.

Change-Id: I877b4de52c5d96753b97a1afe375aca177802c4c
Jira: none
(cherry picked from commit 93aba987f3926f6fa85ca30684e90f5b2e7a56bb)
2023-11-09 10:09:10 +08:00
chunmao.guo d6357d12b5 FIX: [STUDIO-4775] fix hide_passwd crash
Change-Id: I32224ee6af9f17cd4c448f519dcff65060ed7216
Jira: STUDIO-4775
2023-11-09 10:09:10 +08:00
chunmao.guo 52b816b657 FIX: [STUDIO-4522] hide passwd of media url from log
Change-Id: Ib4da577ea39cca9fb34d920101a81f1708a6934e
Jira: STUDIO-4522
2023-11-01 09:33:21 +08:00
chunmao.guo b287aeb23d FIX: [STUDIO-4522] hide camera url from log
Change-Id: Icfc7e0ce2cbe339fd1973b0b65688da39c05ec76
Jira: STUDIO-4522
2023-11-01 09:33:21 +08:00
maosheng.wei 4ebbb7db42 FIX: [STUDIO-1400] The scaling problem of the device status interface
Jira: STUDIO-1400

Change-Id: I37b736c25367aa9db3a1258482a0e3db53a8da97
2023-11-01 09:33:21 +08:00
chunmao.guo a61efc4da8 FIX: [STUDIO-4480] virtual camera can use local url
Change-Id: I52929d207474940b72b15bbb357d0cbd198f1401
Jira: STUDIO-4480
2023-11-01 09:33:21 +08:00
chunmao.guo 09ed7ac18e FIX: [STUDIO-4284] not set max height of liveview window
Change-Id: Ie00e6c30d37b0a308123c5f425ebeaf961000da8
Jira: STUDIO-4284,STUDIO-4258
2023-11-01 09:33:21 +08:00
chunmao.guo bf6924de18 FIX: prefer local tunnel for P1P liveview
Change-Id: Ia4f52a8bd2b8bcf20740b2c7043e437d56a4a5b1
2023-11-01 09:33:21 +08:00
chunmao.guo 6b5ba84075 ENH: [STUDIO-4029] ipcam compatible remake
Change-Id: Ic6cda7daa6a4e3b03fe645d8ae60f1e68a2c3864
2023-11-01 09:11:19 +08:00
chunmao.guo 0cd8d5cd78 FIX: input ip dialog not show for liveview
Change-Id: I422b89eae3c9b9049416f2460bacb4cc991ca605
2023-11-01 09:11:19 +08:00
chunmao.guo b09601777e FIX: log device version for media connect
Change-Id: I0eada63e3d8e25840a221263beac5a9104f43d0f
2023-11-01 09:11:19 +08:00
chunmao.guo 73c64535c7 FIX: not track dup error for user triggered liveview
Change-Id: I4b744caf14deca3cb6372f44e95aea131a45ec6a
2023-07-31 14:29:15 +08:00
chunmao.guo 86bd65f096 FIX: [STUDIO-3619] avoid quick play/stop when switch to device
Change-Id: I957dc1e06e227a721824fe1448bdb5b6a57cbe7e
2023-07-13 10:35:05 +08:00
chunmao.guo fe7a96ef15 FIX: test video loaded by width >= 320
Change-Id: I57d8f13b5317fdda3ff4cf9e6ff8b52755929c86
2023-07-07 17:52:43 +08:00
chunmao.guo dcbf1c805a FIX: [STUDIO-3539] not unlock media mutex before wait
Change-Id: Ife01aff0705623ab4bea5972bf245e57462338d5
2023-07-07 17:52:43 +08:00
chunmao.guo b50838b155 FIX: [STUDIO-3309] MediaCtrl: Stop before Load({})
Change-Id: Id7c96fdf7fd717725e94b9ae28b261963b8f64e7
2023-07-07 17:52:43 +08:00
chunmao.guo 699cc2cf44 FIX: [STUDIO-3329] not auto play liveview when not connected
Change-Id: I8a5ad388bc86598f963103eb9e1baa2538894fc1
2023-07-07 17:52:43 +08:00
chunmao.guo 8060299515 FIX: x1 tunnel mqtt version compatible
Change-Id: Iecaada75a625adad8ef4b61a3dae99afb441451a
2023-07-07 17:52:43 +08:00
chunmao.guo ac4f641222 FIX: media error message
Change-Id: I6fb9879b03fee6fab3b0aa2123cfe67c9b5916dc
2023-07-07 17:29:08 +08:00
chunmao.guo c14599a140 FIX: "Not supported on the current printer version"
Change-Id: Ib01fde05352d8f0dd91690cc941d14d983f12f9a
2023-07-07 17:29:08 +08:00
tao wang e1199884d8 ENH:optimize the color of text in dark mode
Change-Id: I458250cfa43115b882ea4362e0e5620d8c5f8fb8
2023-07-07 17:25:51 +08:00
chunmao.guo a12e1f2568 FIX: sync from master
Change-Id: If8d11f0778d540e7f16ce022150bc531d42f6bd9
2023-07-07 17:25:51 +08:00
chunmao.guo e4d4ac01d6 FIX: rstp proto mode & tutk state
Change-Id: I3d8b4a278426644bb716f18d7b8259032d22e444
2023-07-07 17:25:51 +08:00
chunmao.guo 3dc94b6f12 FIX: [STUDIO-2940] prefer use remote tunnel for liveview
Change-Id: I23708989e6d5ab38724e5da2cff2fe9d648bf730
2023-07-07 17:25:51 +08:00
chunmao.guo 5a7aa74e62 ENH: printer compatible for tunnel protos
Change-Id: Ic409ad967da43ad696b75a6c97e90e1f70e7610d
2023-07-07 17:25:51 +08:00
chunmao.guo d8517991e4 FIX: [STUDIO-2767] retry with remote tunnel when local failed
Change-Id: Id0172239d752508227729e81bee6c1a6ff4d3e9d
2023-07-07 17:25:51 +08:00
maosheng.wei 92d764e9ee NEW: [STUDIO-2769] Split developer mode
Divide developer mode into display parameters and other development
options

Change-Id: I8666991f3e5580c1abb46f36567651893e8fba4a
2023-07-07 17:25:51 +08:00
chunmao.guo c58baa6b16 FIX: error log reduce
Change-Id: I836ba41eefb3a8c12a57a22d208ee7d60140e345
2023-07-07 17:25:51 +08:00
chunmao.guo f90974cea7 FIX: only send error log for user triggered live view
Change-Id: Ie2ff3b95d17bb060e203a51dce30c662e63320b6
2023-04-17 15:39:02 +08:00
chunmao.guo 0ea0d7e456 FIX: not report liveview failure on stop
Change-Id: I1cce2bde58e3c8ca7a0dbda905552cd37789d203
2023-04-17 15:39:02 +08:00
chunmao.guo 9f3a89320b FIX: [STUDIO-1033] rm webview script handler on webview destory
Change-Id: If1465ba6bf997bf17b8a33bc33d0f20d34fcbdc7
2023-04-17 15:39:02 +08:00
Stone Li 6827b41eb3 NEW: add track events for debugging network
Change-Id: I671f91b4af00277236ca71014f8d667109756d00
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-04-17 15:39:02 +08:00
chunmao.guo a401c0fa2e FIX: [STUDIO-2340] [STUDIO-2297] handle linux gstreamer error
Change-Id: Iadc6dcb9d7a9f2c5d1ce9cf979bbbfbd0f805d19
2023-04-17 15:39:02 +08:00
chunmao.guo fba36c6a41 FIX: not play p1p's livelive when upgrading
Change-Id: Ibc52b1ec0bc40fda8adf6d049c0dcdffebb8dbd0
2023-02-22 20:09:17 +08:00
chunmao.guo 4b8f197e1d FIX: show ip/code dialog no-delay on user triggered failure
Change-Id: If9f469f3379de972a51bf581d41c379e8f982bb9
2023-02-22 20:09:17 +08:00
chunmao.guo 7a266ca36a FIX: use shmget according to bambu_source
Change-Id: Ic791498d4ef1bb012953783222b21e8a0394e3b8
(cherry picked from commit 2893425cdfb688e1b96a38186abef1450f530685)
2023-02-08 10:57:24 +08:00
Joshua Wise ef4ee43bd4 Linux: MediaPlayCtrl: make playback more reliable with wxUSE_GSTREAMER_PLAYER for systems that have that 2023-02-01 16:24:44 +08:00
tao wang 6948fb7546 FIX:fixed input ip dlg cant skip next step when playing liveview
Change-Id: I43c804babfc5e386f1218c9546acbf612d07703c
2023-02-01 16:24:44 +08:00
chunmao.guo bea48a08d6 FIX: not play liveview when device is busy downloading
Change-Id: I48dc1c28fc78d69bfd37d1b531aa7daf5e6e4cbd
2023-02-01 16:24:44 +08:00
tao wang faa918d872 ENH:update the title text of the enter ip address
Change-Id: I308b72cfa1dfcd138c3314f60db0556adae805dc
2023-02-01 16:24:44 +08:00
tao wang 9a8f832498 ENH:Update IP address input process
Change-Id: Iaf1c187dac117ba10ac16045049a346f7c2b9478
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-02-01 16:24:44 +08:00
chunmao.guo 143f9cfe99 ENH: request lan ip if liveview failed with lan tunnel (2)
Change-Id: Ie40c31b8c3600dc30228d931013cc0e12a6b1a78
2023-02-01 16:24:44 +08:00
chunmao.guo f28c9198a7 ENH: request lan ip if liveview failed with lan tunnel
Change-Id: Ib987ce684873869e5abc71da9bad8600479c7146
2023-02-01 16:24:44 +08:00
Joshua Wise 43a7f88c6c Add support for Bambu Lab X1 series live video stream on Linux.
wxWidgets on Linux uses GStreamer as its back-end for wxMediaCtrl, which
doesn't have a bambu: URI handler.  On Windows, this is handled by a Windows
Media subsystem plugin, and on Mac, this is handled with a BambuPlayer
class.  Luckily, the libBambuSource.so binary that is distributed with the
network plugin package already contains support for receiving h.264 data
from the network, and the API is the same as is used by the tiny
bambusource.exe binary on Windows; we glue this into a GStreamer source
plugin that registers a URI handler for bambu:.

To make this work, we make a few additional changes elsewhere.  GStreamer
seems to have trouble rendering an Xv overlay onto a 32bpp X visual, but
Bambu Slicer seems to request a 32bpp visual for some background
transparency in the Notebook; it doesn't seem to use it in an interesting
way on Linux, though, so we remove that request for transparency to allow
Bambu Studio to render to a 24bpp visual.  The media controller
infrastructure also makes a few assumptions about when sizing information
can be queried from a wxMediaCtrl backend that do not hold true on Linux; we
either fix those assumptions, or fake them out, as needed.  We also make a
few changes needed to successfully compile C.

This has only been tested with the GStreamer backend for wxWidgets --
notably, not the GStreamer-play backend (these are, astonishingly, two
different things!).  If you find that this seems not to work, consider
*un*installing the libgstreamer-plugins-bad1.0-dev package and then
rebuilding wxWidgets.
2023-01-12 14:56:04 +08:00
chunmao.guo 5066cc1736 FIX: label color
Change-Id: I1de550178601fab8844fac9aabf9728233a965bb
2023-01-10 19:08:26 +08:00
chunmao.guo 2da79a3ff0 FIX: [STUDIO-1754] use boost limit_handles on posix platform
Change-Id: I074373eccefaec16cb163c5b645d169c258c0253
2023-01-10 19:08:26 +08:00
chunmao.guo 41f5fabc2e FIX: open media play 2 seconds later when switch device
Change-Id: I58d0cdc7581c7d0ef8b9081d1909b6d813406dd8
2023-01-10 19:08:26 +08:00
Zhaofeng Li 93bfa10d4e MediaPlayCtrl: Add missing string_file header 2022-12-16 22:51:07 -05:00
chunmao.guo 8d8b5c910c FIX: [STUDIO-1754] limit_handles has bugs on posix, not use
Change-Id: If65ac7196dfc02cb4ba37473127ecf48f3254049
2022-12-15 04:38:15 -05:00