Skip to content

Commit

Permalink
Merge pull request #6 from Temasys/TWP-370-as-a-potentiel-plugin-user…
Browse files Browse the repository at this point in the history
…-i-wan

TWP-370: screensharing page update
  • Loading branch information
johache committed Mar 4, 2016
2 parents 1670cd7 + 3ea8873 commit d1ee431
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/content/getusermedia/screensharing/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<base target="_blank">

<title>getUserMedia</title>
<title>Screensharing</title>

<link rel="icon" sizes="192x192" href="../../../images/webrtc-icon-192x192.png">
<link href="//fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet" type="text/css">
Expand All @@ -32,17 +32,19 @@

<div id="container">

<h1><a href="//github.com/Temasys/Google-WebRTC-Samples" title="WebRTC samples homepage">WebRTC samples</a> <span>getUserMedia</span></h1>
<h1><a href="//github.com/Temasys/Google-WebRTC-Samples" title="WebRTC samples homepage">WebRTC samples</a> <span>Screensharing</span></h1>

<video id="gum-local" autoplay></video>

<div id="errorMsg"></div>

<p>Display the video stream from <code>getUserMedia()</code> in a video element.</p>
<p>Request for a screensharing sctream and display the video stream from <code>getUserMedia()</code> in a video element.</p>

<p>You might be asked to install an extension to your browser.</p>

<p>The <code>MediaStream</code> object <code>stream</code> passed to the <code>getUserMedia()</code> callback is in global scope, so you can inspect it from the console.</p>

<a href="https://github.com/Temasys/Google-WebRTC-Samples/tree/master/src/content/getusermedia/gum" title="View source for this page on GitHub" id="viewSource">View source on GitHub</a>
<a href="https://github.com/Temasys/Google-WebRTC-Samples/tree/master/src/content/getusermedia/screensharing" title="View source for this page on GitHub" id="viewSource">View source on GitHub</a>
</div>

<script src="https://cdn.temasys.com.sg/adapterjs/0.13.x/adapter.screenshare.js"></script>
Expand Down

0 comments on commit d1ee431

Please sign in to comment.