Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(ios) fix crash on WebSocket errors
Saúl Ibarra Corretgédd184763ff23
diff --git a/patches/react-native+0.61.5-jitsi.2.patch b/patches/react-native+0.61.5-jitsi.2.patchindex e30727d10b..c9bb0e8c1f 100644--- a/patches/react-native+0.61.5-jitsi.2.patch+++ b/patches/react-native+0.61.5-jitsi.2.patch@@ -1,3 +1,22 @@+diff --git a/node_modules/react-native/Libraries/WebSocket/RCTWebSocketModule.m b/node_modules/react-native/Libraries/WebSocket/RCTWebSocketModule.m+index d9387c4..a487da0 100644+--- a/node_modules/react-native/Libraries/WebSocket/RCTWebSocketModule.m++++ b/node_modules/react-native/Libraries/WebSocket/RCTWebSocketModule.m+@@ -165,10 +165,10 @@ - (void)webSocket:(RCTSRWebSocket *)webSocket didFailWithError:(NSError *)error+ NSNumber *socketID = [webSocket reactTag];+ _contentHandlers[socketID] = nil;+ _sockets[socketID] = nil;+- [self sendEventWithName:@"websocketFailed" body:@{+- @"message": error.localizedDescription,+- @"id": socketID+- }];++ NSDictionary *body =++ @{@"message" : error.localizedDescription ?: @"Undefined, error is nil",++ @"id" : socketID ?: @(-1)};++ [self sendEventWithName:@"websocketFailed" body:body];+ }++ - (void)webSocket:(RCTSRWebSocket *)webSocketdiff --git a/node_modules/react-native/React/CxxBridge/RCTCxxBridge.mm b/node_modules/react-native/React/CxxBridge/RCTCxxBridge.mmindex bd48f44..d243ed0 100644--- a/node_modules/react-native/React/CxxBridge/RCTCxxBridge.mm