-
Notifications
You must be signed in to change notification settings - Fork 0
/
index_talk.html
92 lines (80 loc) · 3.36 KB
/
index_talk.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!doctype html>
<html lang="en">
<head>
<title>Free Speech Codec (Speex)</title>
<meta name="description" content="Speex codec in Javascript">
<meta name="author" content="Joao Martins">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link rel="stylesheet" href="public/css/style.css">
<script src="https://cdn.jsdelivr.net/npm/gun/gun.js"></script>
</head>
<body>
<div class="wrapper">
<header>
<h1>speex.js</h1>
<p>A Free Codec For Free Speech</p>
<p class="view"><a href="http://github.com/jpemartins/speex.js">View the Project on GitHub <small>jpemartins/speex.js</small></a></p>
<ul>
<li><a href="https://github.com/jpemartins/speex.js/zipballmus/master">Download <strong>ZIP File</strong></a></li>
<li><a href="https://github.com/jpemartins/speex.js/tarball/master">Download <strong>TAR Ball</strong></a></li>
<li><a href="http://github.com/jpemartins/speex.js">Fork On <strong>GitHub</strong></a></li>
</ul>
</header>
<section>
<h2>Test microphone loopback for audio in real-time</h2>
<p>
<span class="bold">Microphone (PCM):</span>
<button id="flash-capture">Broadcast</button>
</p>
<div id="console" class="highlight">
<pre>
Encode times (in miliseconds): <span id="etimes"></span>
Decode time (in miliseconds): <span id="dtimes"></span>
Number of samples: <span id="nrsamples"></span>
</pre>
</div>
</section>
<footer>
<p>This project is maintained by <a href="http://github.com/jpemartins">João Martins</a></p>
<p><small>Original Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
</footer>
</div>
<script>
__MediaCaptureUI = {
stylesheet: "public/css/mediacapture.css",
swf: "public/assets/MediaCapture.swf",
timeout: 500
}
</script>
<!-- Dependencies -->
<script src="public/js/lib/xaudio.js"></script>
<script src="public/js/lib/pcmdata.min.js"></script>
<script src="public/js/lib/swfobject.js"></script>
<!-- Other Libraries/Polyfills -->
<script src="public/js/lib/usertiming.js"></script>
<script src="public/js/lib/bitstring.js"></script>
<script src="public/js/lib/mediacapture.js"></script>
<!-- Development
<script src="src/ogg.js"></script>
<script src="src/libspeexdsp.js"></script>
<script src="src/libspeex.js"></script>
<script src="src/util.js"></script>
<script src="src/types.js"></script>
<script src="src/speex.js"></script>
<script src="src/codec.js"></script>
<script src="src/decoder.js"></script>
<script src="src/encoder.js"></script>
-->
<!-- Production -->
<script src="dist/speex.min.js"></script>
<!-- For input/microphone handling and codec API usage -->
<script src="public/js/microphone.js"></script>
<script src="public/js/audio.js"></script>
<script src="public/js/application.js"></script>
<!-- DamSocket -->
<script src="public/js/damsocket.js"></script>
</body>
</html>