Skip to content
Proyectos

jack-hoo/LiveRoomDemo_Client

Ver en GitHub

Acerca de

自己动手打造一个直播间(视频直播、聊天室、弹幕、多端适配)

Diseño y multimedia

Cómo se miden estas cifras

What you can do

  • 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

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

LiveRoomDemo — Client

License: MIT Vue Node

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

Contributing

Issues and pull requests are welcome. Please read CONTRIBUTING.md first.

License

MIT © jack-hoo

Explorar proyectos relacionados

Cargando…