rvms-vue 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +44 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,44 @@
1
+ # rvms-vue
2
+
3
+ Vue 3 components for **RVMS (Video-MS)** — video player with MSE streaming and alarm panel.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install rvms-vue
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```vue
14
+ <script setup>
15
+ import { RvmsVideoPlayer } from 'rvms-vue';
16
+ </script>
17
+
18
+ <template>
19
+ <RvmsVideoPlayer
20
+ nvr-id="your-nvr-id"
21
+ device-id="101"
22
+ :show-alarms="true"
23
+ />
24
+ </template>
25
+ ```
26
+
27
+ ## Components
28
+
29
+ ### `RvmsVideoPlayer`
30
+
31
+ Full-featured video player with:
32
+ - H.264 / HEVC + audio codec auto-detection
33
+ - MSE (Media Source Extensions) streaming via WebSocket proxy
34
+ - Live and playback modes
35
+ - Alarm notification overlay
36
+ - Profile switching (main / sub / third)
37
+
38
+ ### `RvmsVideo`
39
+
40
+ Lightweight video component — same streaming engine without the alarm panel.
41
+
42
+ ## Example
43
+
44
+ See the full example in the [video-ms repository](https://github.com/humsyong/video-ms/tree/main/example).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rvms-vue",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "type": "module",
5
5
  "description": "RVMS (Video-MS) Vue 3 components — RvmsVideoPlayer, RvmsVideo",
6
6
  "main": "./dist/lib/index.js",