Browse Source

[iOS] Fix uncaught NSInvalidArgumentException in RTCPeerConnection's createAnswer

WebRTC used to report createAnswer (and createOffer) NSError with key
"error". But now the key's called "NSLocalizedDescription".

Additionally, NSMutableDictionary doesn't accept nil.
j8
Lyubo Marinov 7 years ago
parent
commit
d3a1f7d4f7
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      package-lock.json
  2. 1
    1
      package.json

+ 1
- 1
package-lock.json View File

@@ -9938,7 +9938,7 @@
9938 9938
       }
9939 9939
     },
9940 9940
     "react-native-webrtc": {
9941
-      "version": "github:jitsi/react-native-webrtc#806435b41fa152a8239ebeb7d002d1c6e979be86",
9941
+      "version": "github:jitsi/react-native-webrtc#7e54c61679f5a3d1ca5dcdf598f7a7c31f94a0bd",
9942 9942
       "requires": {
9943 9943
         "base64-js": "1.2.3",
9944 9944
         "event-target-shim": "1.1.1",

+ 1
- 1
package.json View File

@@ -63,7 +63,7 @@
63 63
     "react-native-locale-detector": "github:jitsi/react-native-locale-detector#cc76092fc4335488a28a9529c8b50afae2c3ecdc",
64 64
     "react-native-prompt": "1.0.0",
65 65
     "react-native-vector-icons": "4.4.2",
66
-    "react-native-webrtc": "github:jitsi/react-native-webrtc#806435b41fa152a8239ebeb7d002d1c6e979be86",
66
+    "react-native-webrtc": "github:jitsi/react-native-webrtc#7e54c61679f5a3d1ca5dcdf598f7a7c31f94a0bd",
67 67
     "react-redux": "5.0.6",
68 68
     "redux": "3.7.2",
69 69
     "redux-thunk": "2.2.0",

Loading…
Cancel
Save