jack-hoo/LiveRoomDemo_Client
Tentang
自己动手打造一个直播间(视频直播、聊天室、弹幕、多端适配)
Desain dan mediaYang dapat Anda lakukan
- HLS live playback via vue-video-player + videojs-contrib-hls
- WebSocket chat room over STOMP (vue-stomp)
- Bullet-screen comments synced with the chat (vue2-barrage)
- Live online-viewer list and visitor history
Pertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- -1
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliLiveRoomDemo — Client
The mobile front-end of a live-streaming room demo, built with Vue 2: HLS playback, a STOMP-over-WebSocket chat room, bullet-screen comments and live viewer statistics.
中文文档请看 README.zh-CN.md — it is the primary documentation and covers setup, configuration and the Node version requirement in detail.
Features
- HLS live playback via
vue-video-player+videojs-contrib-hls - WebSocket chat room over STOMP (
vue-stomp) - Bullet-screen comments synced with the chat (
vue2-barrage) - Live online-viewer list and visitor history
- Mobile-first UI built on Vonic
⚠️ Node version requirement
This project's build chain is frozen at webpack 2 + node-sass 4.x, which means it
only installs on Node 8.x. node-sass@4 ships no prebuilt binary for Node 9 or
newer, so npm install fails before the build even starts.
nvm install 8
nvm use 8
npm install
npm run dev
The framework and build toolchain were deliberately left untouched during the 2026 cleanup, to keep the project as it originally was. See README.zh-CN.md for the full rationale and the options if you want to modernise it.
Quick start
nvm use 8
npm install
# point the client at your backend and stream, then:
npm run dev # dev server on http://localhost:8080, proxying /LiveDemo to :8085
npm run build # production bundle in dist/
The backend lives in
LiveRoomDemo_Server and must be
running for the chat room to work. Configuration lives in config/prod.env.js —
see README.zh-CN.md.
Related repositories
- LiveRoomDemo_Server — Spring Boot backend
Contributing
Issues and pull requests are welcome. Please read CONTRIBUTING.md first.
License
MIT © jack-hoo
Jelajahi proyek terkait
Memuat…