diff --git a/README.md b/README.md index 1462bbd..71385da 100644 --- a/README.md +++ b/README.md @@ -102,11 +102,11 @@ cd server go run ./warp-server ``` -## Web +## Web Player The web assets need to be hosted with a HTTPS server. If you're using a self-signed certificate, you will need to ignore the security warning in Chrome (Advanced -> proceed to localhost.warp.demo). This can be avoided by adding your certificate to the root CA but I'm too lazy to do that. ``` -cd client +cd player yarn install yarn serve ``` diff --git a/client/.gitignore b/player/.gitignore similarity index 100% rename from client/.gitignore rename to player/.gitignore diff --git a/client/Dockerfile b/player/Dockerfile similarity index 100% rename from client/Dockerfile rename to player/Dockerfile diff --git a/client/nginx/quic.video.conf b/player/nginx/quic.video.conf similarity index 100% rename from client/nginx/quic.video.conf rename to player/nginx/quic.video.conf diff --git a/client/nginx/run.sh b/player/nginx/run.sh similarity index 100% rename from client/nginx/run.sh rename to player/nginx/run.sh diff --git a/client/package-lock.json b/player/package-lock.json similarity index 100% rename from client/package-lock.json rename to player/package-lock.json diff --git a/client/package.json b/player/package.json similarity index 100% rename from client/package.json rename to player/package.json diff --git a/client/src/index.html b/player/src/index.html similarity index 100% rename from client/src/index.html rename to player/src/index.html diff --git a/client/src/init.ts b/player/src/init.ts similarity index 100% rename from client/src/init.ts rename to player/src/init.ts diff --git a/client/src/message.ts b/player/src/message.ts similarity index 100% rename from client/src/message.ts rename to player/src/message.ts diff --git a/client/src/mp4.ts b/player/src/mp4.ts similarity index 100% rename from client/src/mp4.ts rename to player/src/mp4.ts diff --git a/client/src/mp4box.all.js b/player/src/mp4box.all.js similarity index 100% rename from client/src/mp4box.all.js rename to player/src/mp4box.all.js diff --git a/client/src/player.css b/player/src/player.css similarity index 100% rename from client/src/player.css rename to player/src/player.css diff --git a/client/src/player.ts b/player/src/player.ts similarity index 100% rename from client/src/player.ts rename to player/src/player.ts diff --git a/client/src/segment.ts b/player/src/segment.ts similarity index 100% rename from client/src/segment.ts rename to player/src/segment.ts diff --git a/client/src/source.ts b/player/src/source.ts similarity index 100% rename from client/src/source.ts rename to player/src/source.ts diff --git a/client/src/stream.ts b/player/src/stream.ts similarity index 100% rename from client/src/stream.ts rename to player/src/stream.ts diff --git a/client/src/track.ts b/player/src/track.ts similarity index 100% rename from client/src/track.ts rename to player/src/track.ts diff --git a/client/src/types/webtransport.d.ts b/player/src/types/webtransport.d.ts similarity index 100% rename from client/src/types/webtransport.d.ts rename to player/src/types/webtransport.d.ts diff --git a/client/src/util.ts b/player/src/util.ts similarity index 100% rename from client/src/util.ts rename to player/src/util.ts diff --git a/client/tsconfig.json b/player/tsconfig.json similarity index 100% rename from client/tsconfig.json rename to player/tsconfig.json diff --git a/client/yarn.lock b/player/yarn.lock similarity index 100% rename from client/yarn.lock rename to player/yarn.lock