Commit Graph

53 Commits

Author SHA1 Message Date
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
chunmao.guo e8d796211d FIX: copy BambuSource.dll for camera use
Change-Id: If311e2827eda655bf7cd7294f9c0749f1dd7b545
2022-12-15 04:38:15 -05:00
chunmao.guo 90275620d6 FIX: [STUDIO-1614] hide home webview before loaded
Change-Id: I5182e3058575c3e542813b3c380fe6dcfd11c037
(cherry picked from commit e4684cf43ee0cd11beb2cc6dea35900218d0ca98)
2022-12-15 04:38:15 -05:00
Stone Li 00dfd1e765 ENH: modify diff for github
Change-Id: I3a441dbfa3167de3cee9fdafe62f7860fcb6891c
Signed-off-by: Stone Li <stone.li@bambulab.com>
2022-12-15 04:38:15 -05:00
chunmao.guo 941df8ba8b FIX: camera stream tool file permission problem
Change-Id: I77781d158da62c95fda0abb72e49f89340c316cb
2022-12-15 04:38:15 -05:00
tao wang 6f1040f0df FIX:fixed some issues for dark mode
Change-Id: I6b2b75507cf8a72672cce39cf7d8af8773723c22
2022-12-15 04:38:15 -05:00
tao.jin 8f330d8b82 FIX: remove abnormal ui toggle in camerapopup
Change-Id: Id8b2b8f3be4a43e74e1e211b7bfb747b5552ca1d
2022-12-15 04:38:15 -05:00
chunmao.guo 38fb9dcec5 FIX: [STUDIO-1476] Media play ingore stop state when initing
Change-Id: Ie4c743be3fb1bdd095f627faed855bde57ef637a
2022-12-15 04:38:15 -05:00
tao.jin e217baad50 ENH: refine display of camera state and add setting
Change-Id: I85f02565e1581fde9a6c161f4fbed0283fda208f
2022-12-15 04:38:15 -05:00
chunmao.guo 73242280ef FIX: MediaPlayCtrl crash on switch language
Change-Id: If69bd42f586e6e15387ffe387c820480cbf750dd
2022-12-15 04:38:15 -05:00
chunmao.guo fc7b1cf9fe FIX: [STUDIO-1401] C11 has not access code now
Change-Id: I31a8e45290f98455ff2703f70e20f5427e8c22ab
2022-12-15 04:38:15 -05:00
chunmao.guo e44e1c1f19 FIX: video error message when lan ip missing
Change-Id: I5adaa89e2631a4e7853d806a53f41da927cc0ea7
2022-12-15 04:33:48 -05:00
chunmao.guo 4d4fcc1780 NEW: management camera video stream in device panel
Change-Id: I39634af900071cc5c01a88100457880a513e416f
2022-12-15 04:33:48 -05:00
chunmao.guo 84a4622fdf FIX: Media playing state & detect play end
Change-Id: I378da3f104120110b8032a355a22a89ebe69a0fb
2022-10-20 19:34:37 +08:00
chunmao.guo 17076cc1bd FIX: hyperlink style and size of status label in media panel
Change-Id: I06431002ef7c86f6992c4c3cc48932503e2aab00
2022-10-20 19:34:37 +08:00
chunmao.guo e87860e033 FIX: live_view: check camera exist and show ttcode request error
Change-Id: I036006ec4efddf0a5801a6b1d304c9e81555a284
2022-10-20 19:34:37 +08:00
chunmao.guo 70de37d1ae ENH: help video play failure
Change-Id: I5f847547877a82d626bffb78488e5f3d20cc56d0
2022-09-29 11:16:43 +08:00
chunmao.guo b21b4aec95 FIX: device video/tunnel functions, add local video tunnel
Change-Id: I9da97406544c233d5ba6903857db6ad6f7f851e1
2022-09-29 11:16:43 +08:00
chunmao.guo 4d6ec7cd34 FIX: only auto play live video on had started playing
Change-Id: Ic54bcb00ea312f08b4ec43123a031a0cffde5850
2022-09-13 19:42:32 +08:00
chunmao.guo 5f1138f022 FIX: media play error url
Change-Id: I7ade71a951fda4e5b2d6c632248d0868846f4e7f
2022-09-08 21:49:36 +08:00
chunmao.guo b2b2bc2a9c FIX: not keep restarting video on local error
Change-Id: I2f79208326f92931bec108a4609088788ceca998
2022-09-08 21:49:36 +08:00
chunmao.guo 4601022aaa FIX: stop video when not visible
Change-Id: Ibc5204084efec5381a7ede9face0519276592aa8
2022-09-02 13:16:54 +08:00
chunmao.guo 2ecdf43ca1 FIX: media play state conflict when switch device
Change-Id: I95680159a50b2085cb6de5b7cd612d6b444a6446
2022-09-02 12:52:18 +08:00
chunmao.guo cf1ed35011 FIX: auto play live video
Change-Id: I32b14814bd0010fe47340709caed9ac7fa3edfd7
2022-09-02 12:52:18 +08:00
chunmao.guo 66c89c62e2 FIX: wxWidgets asserts
Change-Id: I583edbde501c2bfe8adfa8fdb525479a379a4cb8
2022-08-26 09:25:59 +08:00
chunmao.guo 43cd7c8315 FIX: background color of title labels in sidebar
Change-Id: If71fdca36518129cdfdd1cdf939fb62592ec56c1
2022-08-26 09:25:59 +08:00
chunmao.guo cc1fb36a22 FIX: web view log
Change-Id: I8e28d7b8f5cfbc95428a3768b32f312a591e41c1
(cherry picked from commit fe623cb52a449ff7dffb10c9de8d7af9c7651f1e)
2022-08-05 16:11:42 +08:00