
Security News
Security Community Slams MIT-linked Report Claiming AI Powers 80% of Ransomware
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.
Welcome to Sinch JS SDK, http://www.sinch.com
Copyright 2014-2017, Sinch AB (reg. no 556969-5397)
Should you encounter any bugs, glitches, lack of functionality or other problems using our SDK, please send us an email to dev@sinch.com. Your help in this regard is greatly appreciated.
Include Sinch JS SDK with:
  <script src="//cdn.sinch.com/latest/sinch.min.js"></script>
Read the user-guide for introduction and the reference docs for details
Look at the sample apps for inspiration
You can install Sinch RTC SDK in your project using Bower;
bower install sinch
Import the Sinch SDK in your website using
<script src="PATH_TO_BOWER_MODULES/sinch-rtc/sinch.min.js"></script>
Sinch is also available as a node package. Install Sinch RTC SDK using;
npm install sinch-rtc
Import Sinch SDK in your javascript using
var SinchClient = require('sinch-rtc');
var sinchClient = new SinchClient({
	applicationKey: 'YOUR KEY',
	capabilities: {messaging: true},
	onLogMessage: function(message) {
		console.log(message);
	}
	});
sinchClient.start(CREDENTIALS).then(function() {
		console.log('Success!');
	})
Applications developed with node package does not quite yet support Browserify, without some minor modifications.
Familiarise yourself with the user guide (documentation folder or online).
Have a look at the Sample App in the samples/ folder, where you'll find:
These sample apps demonstrate user management, session handling and more. The interesting stuff can be found in the .js files.
In order to get started follow these steps:
Have a look at the source code in IMsample.js, enable the onLogMessage callback if you're curious about the activity under the hood. It's a good way to have logging enabled during development for easy error tracking.
You can also activate session loading by enabling the if-statement on line 45, by removing "false" from the if-statement. The PSTN and AUTH sample application has this activated by default, please see the PSTNsample.js file for reference.
As for the PSTN sample app, you may have to load the application from a web server (can be local), depending on the security settings for WebRTC in your browser. Also, when trying PSTN calls please ensure you replace "MY_APPLICATION_KEY" with your actual key.
The user-guide is available in the docs/ folder. Open index.html and read about:
Reference documentation is available in docs/ folder. Read about:
FAQs
Sinch JS SDK for real time communication, voice and IM
The npm package sinch-rtc receives a total of 95 weekly downloads. As such, sinch-rtc popularity was classified as not popular.
We found that sinch-rtc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.