Improvements to android multiplayer

This commit is contained in:
Yousef Khadadeh 2026-05-16 18:59:21 +03:00
parent 10079768de
commit 533d54be82
7 changed files with 97 additions and 7 deletions

View file

@ -106,9 +106,8 @@ void NetLibrary::init_config(const std::filesystem::path& p2pConfigPath) {
void NetLibrary::init_websocket() {
if(alreadyInitialized)
return;
// Not sure why, but TLS verification fails on mac
// Should be fixed later, but for now this is fine, as the signaling server doesn't have
// critical information
// TLS verification fails on mac and android due to incorrect cert location
// Should be fixed later
#if defined(__APPLE__) || defined(__ANDROID__)
rtc::WebSocket::Configuration wsConfig;
wsConfig.disableTlsVerification = true;