Comparing version 3.1.0 to 3.2.0
{ | ||
"name": "rtc-core", | ||
"description": "Core definitions and functions for the rtc.io suite", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"dependencies": { | ||
@@ -9,9 +9,10 @@ "detect-browser": "^1.0.0" | ||
"devDependencies": { | ||
"freeice": "^2.1.0", | ||
"peerpair": "^1.0.0", | ||
"tape": "^2", | ||
"zuul": "^1" | ||
"testling": "^1.7.0" | ||
}, | ||
"scripts": { | ||
"gendocs": "gendocs > README.md", | ||
"test": "zuul -- test/all.js" | ||
"test": "testling -x ./.travis/start-$BROWSER.sh" | ||
}, | ||
@@ -33,3 +34,6 @@ "main": "index.js", | ||
}, | ||
"homepage": "https://github.com/rtc-io/rtc-core" | ||
"homepage": "https://github.com/rtc-io/rtc-core", | ||
"testling": { | ||
"files": "test/all.js" | ||
} | ||
} |
@@ -30,2 +30,18 @@ # rtc-core | ||
### `rtc-core/genice` | ||
Respond appropriately to options that are passed to packages like | ||
`rtc-quickconnect` and trigger a `callback` (error first) with iceServer | ||
values. | ||
The function looks for either of the following keys in the options, in | ||
the following order or precedence: | ||
1. `ice` - this can either be an array of ice server values or a generator | ||
function (in the same format as this function). If this key contains a | ||
value then any servers specified in the `iceServers` key (2) will be | ||
ignored. | ||
2. `iceServers` - an array of ice server values. | ||
### `rtc-core/reset` | ||
@@ -32,0 +48,0 @@ |
@@ -5,1 +5,2 @@ require('./detect'); | ||
require('./wait-connected'); | ||
require('./genice'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27525
25
328
77
4