From 2df324b12bf31e054b9ce8dc23af33c34f9d85bc Mon Sep 17 00:00:00 2001
From: John-Mark Gurney
Date: Fri, 24 Apr 2020 15:18:55 -0700
Subject: [PATCH] Get a minimal WebRTC app talking w/ a Python server... It
just plays audio received from the server currently (requires a
demo-instruct.wav file), but should have ICE working (cross nat), despite the
fact that aiortc doesn't follow the WebRTC API for Ice...
---
.gitignore | 1 +
dist/audiotest.html | 9 +-
dist/jamming.js | 585 +++++++++++++++++++++++++++++++++++++++-
package.json | 4 +-
server/Makefile | 13 +
server/requirements.txt | 2 +
server/server.py | 159 +++++++++++
src/index.js | 186 ++++++++++++-
8 files changed, 949 insertions(+), 10 deletions(-)
create mode 100644 server/Makefile
create mode 100644 server/requirements.txt
create mode 100644 server/server.py
diff --git a/.gitignore b/.gitignore
index 20a0489..da95289 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ node_modules
yarn-error.log
yarn.lock
.DS_Store
+server/p
diff --git a/dist/audiotest.html b/dist/audiotest.html
index 3b030f9..a9e7c2d 100644
--- a/dist/audiotest.html
+++ b/dist/audiotest.html
@@ -11,11 +11,14 @@
-
+
+
undefined
+
+