Failed to execute 'getStats' on 'RTCPeerConnection' on Twilio JS 1.4.16 - javascript

I'm using Twilio on an Electron app, currently the chrome version it uses is 56. I've upgraded my twilio version from 1.3 to 1.4.16. When I start an audio call, everything goes fine, however I get an error on console that might be related to RTC statistics. That's the error:
Uncaught (in promise) TypeError: Failed to execute 'getStats' on 'RTCPeerConnection': No function was found that matched the signature provided.
at getStatistics (twilio.js:5011)
at RTCMonitor.getSample (twilio.js:3716)
at RTCMonitor._fetchSample (twilio.js:3732)
I couldn't find any clue about that, searching on google.

Related

XMLHttpRequest error in ReactNative Debug mode

I delete my android emulator and create a new one after this when i build my react native project and active debug mode this error appears on emulator but i dont have any problems with Previous emulator :
Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://localhost:8083/create_session'.
and this on browser's console :
Must first create RPC session with a valid host
what should i do?

Error while login into AWS through google in react native

I working on AWS login through google. I'm following this link https://github.com/patw0929/react-native-cognito-login-example but I'm getting problem with AWS. I have added the lib for aws-sdk-react-native-core as in the link But I'm getting error while running the app.
java:45: error: method does not override or implement a method from a supertype
#Override
^
Note: C:\Users\krishna21\Awsslogin\node_modules\aws-sdk-react-native-core\android\src\main\java\com\amazonaws\reactnative\core\BackgroundRunner.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':aws-sdk-react-native-core:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
I have added aws-sdk-react-native-core manually.
John,
1. First of all, the library which you are using is old and try using AWS Amplify instead, which is far superior in features and it been tested for security and errors.
2. In AWS Federated Login can be done in 2 ways, one using Cognito User
Pool as well as using Cognito Identity Pool. I hope you are using
Cognito Identity Pool.
3. Please add the Google Client ID in Edit identity pool->Authentication providers->Google+
4. Whitelist the domain which you are hitting in Google Developer
account.
Full documention is here https://itnext.io/google-sign-in-using-aws-amplify-and-amazon-cognito-69cc3bf219ad
https://aws.amazon.com/blogs/mobile/amplify-framework-adds-authentication-features-and-enhancements-for-ios-and-android-mobile-sdks/

Google signin error in react-native version 0.57.8

I want to implement google authentication in my react-native application but even i have followed the documentation it gives me strange error:
RNGoogleSigninPackage.java:25: error:
method does not override or implement a method from a supertype
#Override
^
1 error
:react-native-google-signin:compileReleaseJavaWithJavac FAILED
In IOS it works everything perfect but when i try in windows 10 it gives me the error also i have tried to delete #Override from file RNGoogleSigninPackage.java:25 then the build is successful but the application doesn't start in simulator.

Web AppBuilder for ARCGIS unknown error : [TypeError: must start with number, buffer, array or string]

I am trying to log in my arcgis web appbuilder version 2.5 but its getting failed by showing some error ([TypeError: must start with number, buffer, array or string]) in my terminal. see below image..
When I log in using arcgis web appbuilder version 2.3. Its successful.
I think this may be an issue with your OS and Node.js version not jiving with the npm package versions that the proxy server is using (see server/package.json) - I would recommend opening an issue with Esri Support to try to get to the bottom of the specific issue.

Eclipse with Webclipse - JS debugger doesn't stop at breakpoints

I'm using Eclipse 4.5 and I've installed Webclipse 2015 CI 8 and Tomcat 8.0. I'm trying to debug an example. But the debugger doesn't stop at a breakpoint. It runs through the whole file and shows
Uncaught TypeError: $(...)[methodToCall] is not a function
at doExceptions (http://localhost:8080/Webclipse-JSDebug-WebApp-Example/:180:42)
at (http://localhost:8080/Webclipse-JSDebug-WebApp-Example/:181:6)
Failed to load resource: the server responded with a status of 404 (Not Found)
Uncaught TypeError: $(...)[methodToCall] is not a function
at doExceptions (http://localhost:8080/Webclipse-JSDebug-WebApp-Example/:180:42)
at (http://localhost:8080/Webclipse-JSDebug-WebApp-Example/:181:6)
What did I do wrong?
I've installed Webclipse 2016 and I've got the same problem. Anybody knows why?
I'm not positive about the exceptions, however, a possible reason for skipping the breakpoints would be if you right clicked the project and chose debug as -> debug on server. Instead, select debug as -> JavaScript in JavaEE Web Application. This should start the server and open the application in chrome, pausing at the breakpoints.

Categories

Resources