diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2016-01-02 16:26:14 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2016-01-02 16:26:14 +0300 |
commit | 0130530ca338b8329983fd2ac766a0a7b556c94f (patch) | |
tree | 3f141ce69a8a430bdc968ed5012bf0bf5243a22f /package.json | |
parent | e36e0d50909e698e31633a584bf1792b3bc523cf (diff) |
New API: WebTorrent.WEBRTC_SUPPORT
Detect native WebRTC support in the environment.
```js
if (WebTorrent.WEBRTC_SUPPORT) {
// webrtc support!
} else {
// fallback
}
```
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json index 39d13b3..32c0337 100644 --- a/package.json +++ b/package.json @@ -56,6 +56,7 @@ "re-emitter": "^1.0.0", "render-media": "^2.0.0", "run-parallel": "^1.0.0", + "simple-peer": "^5.11.6", "simple-sha1": "^2.0.0", "speedometer": "^1.0.0", "stream-to-blob-url": "^1.0.0", |