From f6163e7a70ac535d308fbb9817751e22df3cf942 Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Wed, 6 Jul 2022 21:28:46 -0700 Subject: [PATCH] Rename client to player. --- README.md | 4 ++-- {client => player}/.gitignore | 0 {client => player}/Dockerfile | 0 {client => player}/nginx/quic.video.conf | 0 {client => player}/nginx/run.sh | 0 {client => player}/package-lock.json | 0 {client => player}/package.json | 0 {client => player}/src/index.html | 0 {client => player}/src/init.ts | 0 {client => player}/src/message.ts | 0 {client => player}/src/mp4.ts | 0 {client => player}/src/mp4box.all.js | 0 {client => player}/src/player.css | 0 {client => player}/src/player.ts | 0 {client => player}/src/segment.ts | 0 {client => player}/src/source.ts | 0 {client => player}/src/stream.ts | 0 {client => player}/src/track.ts | 0 {client => player}/src/types/webtransport.d.ts | 0 {client => player}/src/util.ts | 0 {client => player}/tsconfig.json | 0 {client => player}/yarn.lock | 0 22 files changed, 2 insertions(+), 2 deletions(-) rename {client => player}/.gitignore (100%) rename {client => player}/Dockerfile (100%) rename {client => player}/nginx/quic.video.conf (100%) rename {client => player}/nginx/run.sh (100%) rename {client => player}/package-lock.json (100%) rename {client => player}/package.json (100%) rename {client => player}/src/index.html (100%) rename {client => player}/src/init.ts (100%) rename {client => player}/src/message.ts (100%) rename {client => player}/src/mp4.ts (100%) rename {client => player}/src/mp4box.all.js (100%) rename {client => player}/src/player.css (100%) rename {client => player}/src/player.ts (100%) rename {client => player}/src/segment.ts (100%) rename {client => player}/src/source.ts (100%) rename {client => player}/src/stream.ts (100%) rename {client => player}/src/track.ts (100%) rename {client => player}/src/types/webtransport.d.ts (100%) rename {client => player}/src/util.ts (100%) rename {client => player}/tsconfig.json (100%) rename {client => player}/yarn.lock (100%) 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