Commit Graph

64 Commits

Author SHA1 Message Date
chunmao.guo
421c60b248 FIX: [STUDIO-3539] not unlock media mutex before wait
Change-Id: Ife01aff0705623ab4bea5972bf245e57462338d5
2023-07-07 17:52:43 +08:00
chunmao.guo
9a164ec6db FIX: [STUDIO-3309] MediaCtrl: Stop before Load({})
Change-Id: Id7c96fdf7fd717725e94b9ae28b261963b8f64e7
2023-07-07 17:52:43 +08:00
chunmao.guo
e961e5d2ac FIX: [STUDIO-3329] not auto play liveview when not connected
Change-Id: I8a5ad388bc86598f963103eb9e1baa2538894fc1
2023-07-07 17:52:43 +08:00
chunmao.guo
0aaf69331b FIX: x1 tunnel mqtt version compatible
Change-Id: Iecaada75a625adad8ef4b61a3dae99afb441451a
2023-07-07 17:52:43 +08:00
chunmao.guo
aa136f5a69 FIX: media error message
Change-Id: I6fb9879b03fee6fab3b0aa2123cfe67c9b5916dc
2023-07-07 17:29:08 +08:00
chunmao.guo
ebba56137b FIX: "Not supported on the current printer version"
Change-Id: Ib01fde05352d8f0dd91690cc941d14d983f12f9a
2023-07-07 17:29:08 +08:00
tao wang
62cedc816f ENH:optimize the color of text in dark mode
Change-Id: I458250cfa43115b882ea4362e0e5620d8c5f8fb8
2023-07-07 17:25:51 +08:00
chunmao.guo
e5cbca504a FIX: sync from master
Change-Id: If8d11f0778d540e7f16ce022150bc531d42f6bd9
2023-07-07 17:25:51 +08:00
chunmao.guo
73e59c6696 FIX: rstp proto mode & tutk state
Change-Id: I3d8b4a278426644bb716f18d7b8259032d22e444
2023-07-07 17:25:51 +08:00
chunmao.guo
c8cd8cf24b FIX: [STUDIO-2940] prefer use remote tunnel for liveview
Change-Id: I23708989e6d5ab38724e5da2cff2fe9d648bf730
2023-07-07 17:25:51 +08:00
chunmao.guo
e7b00c67f3 ENH: printer compatible for tunnel protos
Change-Id: Ic409ad967da43ad696b75a6c97e90e1f70e7610d
2023-07-07 17:25:51 +08:00
chunmao.guo
5a835063d6 FIX: [STUDIO-2767] retry with remote tunnel when local failed
Change-Id: Id0172239d752508227729e81bee6c1a6ff4d3e9d
2023-07-07 17:25:51 +08:00
maosheng.wei
290ceadb21 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
d99c1b7b9f FIX: error log reduce
Change-Id: I836ba41eefb3a8c12a57a22d208ee7d60140e345
2023-07-07 17:25:51 +08:00
chunmao.guo
88d1103a6e FIX: only send error log for user triggered live view
Change-Id: Ie2ff3b95d17bb060e203a51dce30c662e63320b6
2023-04-17 15:39:02 +08:00
chunmao.guo
068a112110 FIX: not report liveview failure on stop
Change-Id: I1cce2bde58e3c8ca7a0dbda905552cd37789d203
2023-04-17 15:39:02 +08:00
chunmao.guo
635a5b33e0 FIX: [STUDIO-1033] rm webview script handler on webview destory
Change-Id: If1465ba6bf997bf17b8a33bc33d0f20d34fcbdc7
2023-04-17 15:39:02 +08:00
Stone Li
f0be573b48 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
b1df377007 FIX: [STUDIO-2340] [STUDIO-2297] handle linux gstreamer error
Change-Id: Iadc6dcb9d7a9f2c5d1ce9cf979bbbfbd0f805d19
2023-04-17 15:39:02 +08:00
chunmao.guo
377f344319 FIX: not play p1p's livelive when upgrading
Change-Id: Ibc52b1ec0bc40fda8adf6d049c0dcdffebb8dbd0
2023-02-22 20:09:17 +08:00
chunmao.guo
c8b0f94f7c FIX: show ip/code dialog no-delay on user triggered failure
Change-Id: If9f469f3379de972a51bf581d41c379e8f982bb9
2023-02-22 20:09:17 +08:00
chunmao.guo
803f413eab 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
6308df2df9 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
13580c4caa 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
9940b9b77f FIX: not play liveview when device is busy downloading
Change-Id: I48dc1c28fc78d69bfd37d1b531aa7daf5e6e4cbd
2023-02-01 16:24:44 +08:00
tao wang
64dd0ad772 ENH:update the title text of the enter ip address
Change-Id: I308b72cfa1dfcd138c3314f60db0556adae805dc
2023-02-01 16:24:44 +08:00
tao wang
e68bcf4048 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
d4c445310b ENH: request lan ip if liveview failed with lan tunnel (2)
Change-Id: Ie40c31b8c3600dc30228d931013cc0e12a6b1a78
2023-02-01 16:24:44 +08:00
chunmao.guo
39f2c6693c ENH: request lan ip if liveview failed with lan tunnel
Change-Id: Ib987ce684873869e5abc71da9bad8600479c7146
2023-02-01 16:24:44 +08:00
Joshua Wise
6f8341695e 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
5f0b7f1ddf FIX: label color
Change-Id: I1de550178601fab8844fac9aabf9728233a965bb
2023-01-10 19:08:26 +08:00
chunmao.guo
2ccf538ba9 FIX: [STUDIO-1754] use boost limit_handles on posix platform
Change-Id: I074373eccefaec16cb163c5b645d169c258c0253
2023-01-10 19:08:26 +08:00
chunmao.guo
95c615e69e FIX: open media play 2 seconds later when switch device
Change-Id: I58d0cdc7581c7d0ef8b9081d1909b6d813406dd8
2023-01-10 19:08:26 +08:00
Zhaofeng Li
bd6db4f691 MediaPlayCtrl: Add missing string_file header 2022-12-16 22:51:07 -05:00
chunmao.guo
f08f81da46 FIX: [STUDIO-1754] limit_handles has bugs on posix, not use
Change-Id: If65ac7196dfc02cb4ba37473127ecf48f3254049
2022-12-15 04:38:15 -05:00
chunmao.guo
02aa0e48b2 FIX: copy BambuSource.dll for camera use
Change-Id: If311e2827eda655bf7cd7294f9c0749f1dd7b545
2022-12-15 04:38:15 -05:00
chunmao.guo
60f58ad910 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
845ef75e2d 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
74fa529e2e FIX: camera stream tool file permission problem
Change-Id: I77781d158da62c95fda0abb72e49f89340c316cb
2022-12-15 04:38:15 -05:00
tao wang
34c66abd09 FIX:fixed some issues for dark mode
Change-Id: I6b2b75507cf8a72672cce39cf7d8af8773723c22
2022-12-15 04:38:15 -05:00
tao.jin
8916d27b2b FIX: remove abnormal ui toggle in camerapopup
Change-Id: Id8b2b8f3be4a43e74e1e211b7bfb747b5552ca1d
2022-12-15 04:38:15 -05:00
chunmao.guo
e573bc56ed FIX: [STUDIO-1476] Media play ingore stop state when initing
Change-Id: Ie4c743be3fb1bdd095f627faed855bde57ef637a
2022-12-15 04:38:15 -05:00
tao.jin
c1b62d70ef ENH: refine display of camera state and add setting
Change-Id: I85f02565e1581fde9a6c161f4fbed0283fda208f
2022-12-15 04:38:15 -05:00
chunmao.guo
ddda00c52e FIX: MediaPlayCtrl crash on switch language
Change-Id: If69bd42f586e6e15387ffe387c820480cbf750dd
2022-12-15 04:38:15 -05:00
chunmao.guo
1a96d6d82f FIX: [STUDIO-1401] C11 has not access code now
Change-Id: I31a8e45290f98455ff2703f70e20f5427e8c22ab
2022-12-15 04:38:15 -05:00
chunmao.guo
8ff112449b FIX: video error message when lan ip missing
Change-Id: I5adaa89e2631a4e7853d806a53f41da927cc0ea7
2022-12-15 04:33:48 -05:00
chunmao.guo
a6d3bcfb1f NEW: management camera video stream in device panel
Change-Id: I39634af900071cc5c01a88100457880a513e416f
2022-12-15 04:33:48 -05:00
chunmao.guo
99bc56bdb4 FIX: Media playing state & detect play end
Change-Id: I378da3f104120110b8032a355a22a89ebe69a0fb
2022-10-20 19:34:37 +08:00
chunmao.guo
6044e612a3 FIX: hyperlink style and size of status label in media panel
Change-Id: I06431002ef7c86f6992c4c3cc48932503e2aab00
2022-10-20 19:34:37 +08:00
chunmao.guo
5fe1400177 FIX: live_view: check camera exist and show ttcode request error
Change-Id: I036006ec4efddf0a5801a6b1d304c9e81555a284
2022-10-20 19:34:37 +08:00