Commit Graph

47 Commits

Author SHA1 Message Date
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
chunmao.guo
9a8c7ad1e0 ENH: help video play failure
Change-Id: I5f847547877a82d626bffb78488e5f3d20cc56d0
2022-09-29 11:16:43 +08:00
chunmao.guo
36978d7d23 FIX: device video/tunnel functions, add local video tunnel
Change-Id: I9da97406544c233d5ba6903857db6ad6f7f851e1
2022-09-29 11:16:43 +08:00
chunmao.guo
c8aeda091d FIX: only auto play live video on had started playing
Change-Id: Ic54bcb00ea312f08b4ec43123a031a0cffde5850
2022-09-13 19:42:32 +08:00
chunmao.guo
9a224726d4 FIX: media play error url
Change-Id: I7ade71a951fda4e5b2d6c632248d0868846f4e7f
2022-09-08 21:49:36 +08:00
chunmao.guo
ea7c52459b FIX: not keep restarting video on local error
Change-Id: I2f79208326f92931bec108a4609088788ceca998
2022-09-08 21:49:36 +08:00
chunmao.guo
8a3abe3485 FIX: stop video when not visible
Change-Id: Ibc5204084efec5381a7ede9face0519276592aa8
2022-09-02 13:16:54 +08:00
chunmao.guo
5735117de4 FIX: media play state conflict when switch device
Change-Id: I95680159a50b2085cb6de5b7cd612d6b444a6446
2022-09-02 12:52:18 +08:00
chunmao.guo
4ba537342b FIX: auto play live video
Change-Id: I32b14814bd0010fe47340709caed9ac7fa3edfd7
2022-09-02 12:52:18 +08:00
chunmao.guo
9e962c5bc0 FIX: wxWidgets asserts
Change-Id: I583edbde501c2bfe8adfa8fdb525479a379a4cb8
2022-08-26 09:25:59 +08:00
chunmao.guo
f1ff2f6ebe FIX: background color of title labels in sidebar
Change-Id: If71fdca36518129cdfdd1cdf939fb62592ec56c1
2022-08-26 09:25:59 +08:00
chunmao.guo
5a04bbb7b4 FIX: web view log
Change-Id: I8e28d7b8f5cfbc95428a3768b32f312a591e41c1
(cherry picked from commit fe623cb52a449ff7dffb10c9de8d7af9c7651f1e)
2022-08-05 16:11:42 +08:00
chunmao.guo
11f90a2c71 FIX: crash when no WMP
Change-Id: I9bab2e73da05125ee2ca24ac13456fbb82e91714
2022-08-05 16:11:42 +08:00
lane.wei
af0b3ddb28 Update the codes to 01.01.00.10 for the formal release
1. first formal version of macos
2. add the bambu networking plugin install logic
3. auto compute the wipe volume when filament change
4. add the logic of wiping into support
5. refine the GUI layout and icons, improve the gui apperance in lots of
   small places
6. serveral improve to support
7. support AMS auto-mapping
8. disable lots of unstable features: such as params table, media file download, HMS
9. fix serveral kinds of bugs
10. update the document of building
11. ...
2022-07-22 20:35:34 +08:00
lane.wei
f8756e6c89 Add the full source of BambuStudio
using version 1.0.10
2022-07-15 23:42:08 +08:00