-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch back to H.264 video, audio support in progress, switch InputSe…
…rver to .NET 4.7.1
- Loading branch information
Showing
24 changed files
with
1,746 additions
and
30 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Title</title> | ||
</head> | ||
<body> | ||
<script src="assets/js/lib/libopus.js"></script> | ||
<script src="assets/js/lib/opus.js"></script> | ||
<script src="assets/js/lib/xaudio.js"></script> | ||
<script src="assets/js/lib/ws-audio-api.js"></script> | ||
<script> | ||
var player = new WSAudioAPI.Player({ | ||
server: { | ||
host: 'wss://api.twitchplays.gg/switch/stream/audio', //websockets server addres. In this example - localhost | ||
} | ||
}); | ||
</script> | ||
<button onclick="window.testContext.resume();player.start()">Play stream</button> | ||
<button onclick="player.stop()">Stop playing</button> | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Title</title> | ||
</head> | ||
<body> | ||
<script src="assets/js/lib/libopus.js"></script> | ||
<script src="assets/js/lib/opus.js"></script> | ||
<script src="assets/js/lib/xaudio.js"></script> | ||
<script src="assets/js/lib/ws-audio-api.js"></script> | ||
<script> | ||
var streamer = new WSAudioAPI.Streamer({ | ||
server: { | ||
host: 'wss://api.twitchplays.gg/switch/stream/audio', //websockets server addres. In this example - localhost | ||
} | ||
}); | ||
</script> | ||
|
||
<button onclick="streamer.start()">Start stream</button> | ||
<button onclick="streamer.stop()">Stop stream</button> | ||
</body> | ||
</html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
$primary-color: #2ecc71; | ||
|
||
.volume-slider { | ||
width: 350px; | ||
height: 40px; | ||
position: relative; | ||
margin: 0 auto; | ||
|
||
i { | ||
position: absolute; | ||
top: 50%; | ||
transform: translate(0, -50%); | ||
color: #666; | ||
} | ||
|
||
i.fa-volume-down { | ||
margin-left: -8px; | ||
} | ||
|
||
i.fa-volume-up { | ||
margin-right: -8px; | ||
right: 0; | ||
} | ||
} | ||
|
||
.slider { | ||
position: absolute; | ||
left: 24px; | ||
margin: auto; | ||
height: 5px; | ||
width: 300px; | ||
background: #555; | ||
border-radius: 15px; | ||
top: 50%; | ||
transform: translate(0, -50%); | ||
|
||
.ui-slider-range-min { | ||
height: 5px; | ||
width: 300px; | ||
position: absolute; | ||
background: $primary-color; | ||
border: none; | ||
border-radius: 10px; | ||
outline: none; | ||
} | ||
|
||
.ui-slider-handle { | ||
width: 20px; | ||
height: 20px; | ||
border-radius: 20px; | ||
background: #FFF; | ||
position: absolute; | ||
margin-left: -8px; | ||
margin-top: -8px; | ||
cursor: pointer; | ||
outline: none; | ||
} | ||
} |
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
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
Oops, something went wrong.