Open pandamicro opened 1 year ago
I compiled libweboskcets v4 for windows and android to do some test work. And I found that some interfaces used in engine alreadly removed like lws_libuv_stop
, lws_uv_initloop
, lws_libuv_run
,LWS_CALLBACK_CHILD_WRITE_VIA_PARENT
, etc.
Some of struct like lws_context_creation_info
also changed their attribute usage.
So if we want to updrade libwebsockets to v4, refactor is necessary, which may be risky in small version like 3.7.x
@pandamicro @minggo
Ok, let's move it to v3.8.
Temporary insertion tasks (adaptation of WeChat applets, splashScreen refactoring, lots of legacy videoplay issues, etc.) affect the scheduling. And there is a certain risk in refactoring, so it will be moved to Next milestone.
We have been using libwebsockets v2.4 version as a library, it is using LGPL license with a Static Linking Exception license, so the static linking exception license is applied for us. But we notice that libwebsockets 4.0 have changed their base license to MIT which will be more aligned with Cocos engine's MIT license.
So it need to be evaluated for a version upgrade.
@minggo please assign this task for v3.7.1