基于Vue3 + WebRTC + Node + SRS搭建的直播间 https://live.hsslive.cn

shuisheng 5a0f0d16a3 feat: 搭建页面 пре 2 година
.husky b520caa724 feat: init пре 2 година
.vscode b520caa724 feat: init пре 2 година
public b520caa724 feat: init пре 2 година
script 95fe2cc419 feat: 阶段完成 пре 2 година
src 5a0f0d16a3 feat: 搭建页面 пре 2 година
.browserslistrc b520caa724 feat: init пре 2 година
.commitlintrc.js b520caa724 feat: init пре 2 година
.editorconfig b520caa724 feat: init пре 2 година
.eslintignore b520caa724 feat: init пре 2 година
.eslintrc.js b520caa724 feat: init пре 2 година
.gitattributes b520caa724 feat: init пре 2 година
.gitignore b520caa724 feat: init пре 2 година
.lintstagedrc.js b520caa724 feat: init пре 2 година
.npmrc b520caa724 feat: init пре 2 година
.prettierignore b520caa724 feat: init пре 2 година
.prettierrc.js b520caa724 feat: init пре 2 година
.versionrc.js b520caa724 feat: init пре 2 година
README.md 95fe2cc419 feat: 阶段完成 пре 2 година
babel.config.js b520caa724 feat: init пре 2 година
build.sh b520caa724 feat: init пре 2 година
handleGiteeJenkins.js b520caa724 feat: init пре 2 година
package.json d55b0e7467 feat: 优化 пре 2 година
postcss.config.js b520caa724 feat: init пре 2 година
tsconfig.json 5a0f0d16a3 feat: 搭建页面 пре 2 година
windi.config.ts b520caa724 feat: init пре 2 година

README.md

简介

billd 直播间

安装依赖

pnpm install

项目运行

pnpm run start

script/constant.ts 里的 outputStaticUrl 如果是'/'的话,默认就运行在 http://localhost:8000/,如果 8000 端口被占用了,会自动递增+1 script/constant.ts 里的 outputStaticUrl 如果是'/aaa/'的话,默认就运行在 http://localhost:8000/aaa/,如果 8000 端口被占用了,会自动递增+1

项目启动完成后,终端会打印调试地址,不必担心调试地址是什么~

项目打包

pnpm run build

billd 依赖

更新 billd:

pnpm i billd-utils@latest billd-scss@latest billd-html-webpack-plugin@latest billd-deploy@latest
包名 版本
billd-utils npm
billd-scss npm
billd-html-webpack-plugin npm
  • billd-scss,已在 sass-loader 里配置了 additionalData: @use 'billd-scss/src/index.scss' as *;
  • billd-html-webpack-plugin,已在 webpack 配置里使用了该插件