Created
August 6, 2018 04:38
-
-
Save imaustink/7a31eacbae79cf2b2a69eb8dd06c449e to your computer and use it in GitHub Desktop.
user-media-selector view
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<video srcObject:from="previewStream" autoplay muted></video> | |
<label> | |
Video | |
<select value:bind="selectedVideoDevice"> | |
{{#each(videoDevices)}} | |
<option value="{{deviceId}}">{{label}}</option> | |
{{/each}} | |
<option value="">None</option> | |
</select> | |
</label> | |
<label> | |
Audio | |
<select value:bind="selectedAudioDevice"> | |
{{#each(audioDevices)}} | |
<option value="{{deviceId}}">{{label}}</option> | |
{{/each}} | |
<option value="">None</option> | |
</select> | |
</label> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment