Skip to content
Projetos

jack-hoo/LiveRoomDemo_Client

Ver no GitHub

Sobre

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

Design e mídia

Como estes números são medidos

O que você pode fazer

  • 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

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
-1
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

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

Explore projetos relacionados

Carregando…