Skip to content

Commit

Permalink
DetectRTC updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
muaz-khan committed Oct 5, 2018
1 parent f9223ad commit 7d34e4a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions DetectRTC/README.md
Original file line number Diff line number Diff line change
@@ -1,3 1,5 @@
<a href="https://github.com/muaz-khan/DetectRTC"><img alt="DetectRTC" src="https://webrtcweb.com/DetectRTC/icon.png" /> DetectRTC.js</a>

# DetectRTC | Is WebRTC Supported In Your Browser?

[![npm](https://img.shields.io/npm/v/detectrtc.svg)](https://npmjs.org/package/detectrtc) [![downloads](https://img.shields.io/npm/dm/detectrtc.svg)](https://npmjs.org/package/detectrtc) [![Build Status: Linux](https://travis-ci.org/muaz-khan/DetectRTC.png?branch=master)](https://travis-ci.org/muaz-khan/DetectRTC) <a href="https://www.browserstack.com"><img src="https://webrtcweb.com/browserstack.svg" height="20px" /></a>
Expand All @@ -22,6 24,8 @@ if (DetectRTC.hasSpeakers === false && (DetectRTC.browser.name === 'Chrome' || D
}
```

<a target="_blank" href="https://chrome.google.com/webstore/detail/detectrtc/infnkpmpcmmofkmndpheeplkcghgdjbf">![Try it now in CWS](https://raw.github.com/GoogleChrome/chrome-app-samples/master/tryitnowbutton.png "Click here to install this extension from the Chrome Web Store")</a>

## What is this?

A tiny JavaScript library that can be used to detect WebRTC features e.g. system having speakers, microphone or webcam, screen capturing is supported, number of audio/video devices etc.
Expand Down
9 changes: 8 additions & 1 deletion DetectRTC/index.html
Original file line number Diff line number Diff line change
@@ -1,4 1,4 @@
<script>window.demoVersion = '2018.05.05';</script>
<script>window.demoVersion = '2018.09.15';</script>

<!--
> Muaz Khan - www.MuazKhan.com
Expand Down Expand Up @@ -115,6 115,13 @@ <h1>

<div class="github-stargazers"></div>

<section class="experiment" style="padding: 10px 20px; text-align: center;">
<a href="https://chrome.google.com/webstore/detail/detectrtc/infnkpmpcmmofkmndpheeplkcghgdjbf" target="_blank">
<img alt="DetectRTC" src="https://webrtcweb.com/DetectRTC/icon.png" style="width: 20px;vertical-align: middle;margin-right: 3px;">
DetectRTC Google Chrome Extension
</a>
</section>

<section class="experiment" id="detectrtc-output">
<button id="generate-image" style="float:right;">Open as Image</button>
<h2 id="welcome">DetectRTC!</h2>
Expand Down

0 comments on commit 7d34e4a

Please sign in to comment.