Parcourir la 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.
master
Lyubo Marinov il y a 7 ans
Parent
révision
d3a1f7d4f7
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1
    1
      package-lock.json
  2. 1
    1
      package.json

+ 1
- 1
package-lock.json Voir le fichier

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

+ 1
- 1
package.json Voir le fichier

63
     "react-native-locale-detector": "github:jitsi/react-native-locale-detector#cc76092fc4335488a28a9529c8b50afae2c3ecdc",
63
     "react-native-locale-detector": "github:jitsi/react-native-locale-detector#cc76092fc4335488a28a9529c8b50afae2c3ecdc",
64
     "react-native-prompt": "1.0.0",
64
     "react-native-prompt": "1.0.0",
65
     "react-native-vector-icons": "4.4.2",
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
     "react-redux": "5.0.6",
67
     "react-redux": "5.0.6",
68
     "redux": "3.7.2",
68
     "redux": "3.7.2",
69
     "redux-thunk": "2.2.0",
69
     "redux-thunk": "2.2.0",

Chargement…
Annuler
Enregistrer