Skip to content
المشاريع

jack-hoo/LiveRoomDemo_Client

عرض على GitHub

حول

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

التصميم والوسائط

كيف تُقاس هذه الأرقام

ما يمكنك فعله

  • 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

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
؜-١
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

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

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…