# is-webrtc-supported

> Detect webrtc support in current environment

Latest version **0.0.2** (published 2015-07-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install is-webrtc-supported
pnpm add is-webrtc-supported
yarn add is-webrtc-supported
bun add is-webrtc-supported
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2015-07-18 |
| First published | 2015-07-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Andrew Joslin |
| Maintainers | andytjoslin |
| Keywords | detect webrtc support |

## Links

- npm: https://www.npmjs.com/package/is-webrtc-supported
- Repository: https://github.com/ajoslin/is-webrtc-supported
- Homepage: https://github.com/ajoslin/is-webrtc-supported#readme
- Issues: https://github.com/ajoslin/is-webrtc-supported/issues
- npm.io page: https://npm.io/package/is-webrtc-supported

## Dependencies (1)

- [global](https://npm.io/package/global.md) ^4.3.0

## Recent versions

- 0.0.2 (latest) — 2015-07-18
- 0.0.1 — 2015-07-14

## README

# is-webrtc-supported

> Detect webrtc support in current environment

Code originally taken from https://github.com/appearin/appearin-sdk, License MIT.

Call a function that returns true if the current environment supports getUserMedia, VP8, video elements, RTCPeerConnections, and ICE candidates.

## Install

```
$ npm install --save is-webrtc-supported
```


## Usage

```js
var isWebrtcSupported = require('is-webrtc-supported')

isWebrtcSupported() // => true/false
```

## API

#### `isWebrtcSupported([stunServer])` -> `boolean`

##### stunServer

*Optional*
Type: `string`

Url of a stun server to check. Defaults to `stun:stun.l.google.com:19302`.

You'll almost never need this parameter.

## License

MIT © [Telenor Digital AS](https://github.com/appearin/appearin-sdk/)

---
_Source: https://npm.io/package/is-webrtc-supported · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
