A WebRTC based tool to support low latency audio conferencing. This is targeted to allow musicians to be able to jam together.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

41 строка
724 B

  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Audio Test</title>
  7. <!-- <link rel="stylesheet" type="text/css" href="css/styles.css"> -->
  8. </head>
  9. <body>
  10. <p>
  11. <div id="constatus">undefined</div>
  12. <audio id="audioSink" autoplay></audio>
  13. </p>
  14. <script type="text/javascript" src="jamming.js"></script>
  15. <script type="text/javascript">
  16. //runPage()
  17. /* parameters */
  18. var params = {
  19. sampleRate: 8000,
  20. frameSize: 100, /* in ms */
  21. };
  22. window.AudioContext = window.AudioContext || window.webkitAudioContext;
  23. //var audioContext = new AudioContext();
  24. recconf = {
  25. samplerRate: 8000,
  26. numChannels: 1,
  27. }
  28. </script>
  29. </body>
  30. </html>