blackuy / react-native-twilio-video-webrtc

Twilio Video (WebRTC) for React Native
https://www.twilio.com/docs/video
MIT License
608 stars 403 forks source link

video not connected #555

Open AftabUfaq opened 3 years ago

AftabUfaq commented 3 years ago

Steps to reproduce

  1. Please Run this example
  2. example

Expected behavior

users must connected on the video call

Actual behavior

some times the video must be connected and some time through this error

[TypeError: Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.]

 "dependencies": {
    "@fawazahmed/react-native-read-more": "^2.1.1",
    "@react-native-async-storage/async-storage": "^1.15.5",
    "@react-native-clipboard/clipboard": "^1.8.2",
    "@react-native-community/cli": "^5.0.1-alpha.2",
    "@react-native-community/datetimepicker": "^3.4.2",
    "@react-native-community/masked-view": "^0.1.10",
    "@react-native-community/push-notification-ios": "^1.8.0",
    "@react-native-firebase/app": "^11.2.0",
    "@react-native-firebase/messaging": "^11.2.0",
    "@react-navigation/bottom-tabs": "^5.11.8",
    "@react-navigation/drawer": "^5.12.4",
    "@react-navigation/native": "^5.9.3",
    "@react-navigation/stack": "^5.14.3",
    "@stripe/react-stripe-js": "^1.4.0",
    "@stripe/stripe-js": "^1.13.2",
    "axios": "^0.21.1",
    "intl": "^1.2.5",
    "jwt-decode": "^3.1.2",
    "lodash": "^4.17.21",
    "moment": "^2.29.1",
    "react": "17.0.1",
    "react-native": "0.64.0",
    "react-native-add-calendar-event": "^4.0.0",
    "react-native-app-badge": "^0.1.5",
    "react-native-auto-height-image": "^3.2.4",
    "react-native-calendar-events": "^2.2.0",
    "react-native-calendars": "^1.1254.0",
    "react-native-chart-kit": "^6.11.0",
    "react-native-check-box": "^2.1.7",
    "react-native-confetti-cannon": "^1.5.2",
    "react-native-currency-input": "^1.0.1",
    "react-native-date-picker": "^3.2.10",
    "react-native-device-info": "^8.0.7",
    "react-native-dotenv": "^2.5.5",
    "react-native-dropdown-picker": "^4.0.2",
    "react-native-eject": "^0.1.2",
    "react-native-elements": "^3.3.2",
    "react-native-email-link": "^1.11.3",
    "react-native-event-listeners": "^1.0.7",
    "react-native-gesture-handler": "^1.10.3",
    "react-native-image-picker": "^3.3.2",
    "react-native-inappbrowser-reborn": "^3.5.1",
    "react-native-keep-awake": "^4.0.0",
    "react-native-keyboard-aware-scroll-view": "^0.9.4",
    "react-native-keyboard-spacer": "^0.4.1",
    "react-native-linear-gradient": "^2.5.6",
    "react-native-localize": "^2.1.4",
    "react-native-material-menu": "^1.2.0",
    "react-native-mime-types": "^2.3.0",
    "react-native-modal": "^11.10.0",
    "react-native-notifications": "^3.4.2",
    "react-native-payments": "^0.8.4",
    "react-native-picker-select": "^8.0.4",
    "react-native-popup-menu": "^0.15.11",
    "react-native-ratings": "^7.6.1",
    "react-native-reanimated": "^2.0.1",
    "react-native-responsive-screen": "^1.4.2",
    "react-native-safe-area-context": "^3.2.0",
    "react-native-screens": "^2.18.1",
    "react-native-sensitive-info": "^5.5.8",
    "react-native-share": "^6.0.1",
    "react-native-snap-carousel": "^3.9.1",
    "react-native-splash-screen": "^3.2.0",
    "react-native-step-indicator": "^1.0.3",
    "react-native-stripe-checkout-webview": "^0.0.12",
    "react-native-svg": "^12.1.1",
    "react-native-svg-charts": "^5.4.0",
    "react-native-swipe-gestures": "^1.0.5",
    "react-native-toast-message": "^1.4.9",
    "react-native-twilio-video-webrtc": "github:blackuy/react-native-twilio-video-webrtc",
    "react-native-vector-icons": "^8.1.0",
    "react-native-video": "^5.1.0-alpha8",
    "react-native-webview": "^11.4.4",
    "react-redux": "^7.2.3",
    "redux": "^4.0.5",
    "redux-thunk": "^2.3.0",
    "rn-fetch-blob": "^0.12.0"
  },
  "devDependencies": {
    "@babel/core": "^7.13.10",
    "@babel/runtime": "^7.13.10",
    "@react-native-community/eslint-config": "^2.0.0",
    "babel-jest": "^26.6.3",
    "eslint": "^7.22.0",
    "jest": "^26.6.3",
    "metro-react-native-babel-preset": "^0.65.2",
    "patch-package": "^6.4.7",
    "react-test-renderer": "17.0.1"
  },
slycoder commented 3 years ago

Do you have a stack trace?