Skip to content

Commit

Permalink
Merge pull request #2 from canwdev/dev-kvm
Browse files Browse the repository at this point in the history
Dev kvm
  • Loading branch information
canwdev authored Dec 21, 2024
2 parents 102df56 + 7e1eab6 commit 71967d9
Show file tree
Hide file tree
Showing 37 changed files with 3,321 additions and 825 deletions.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Web MediaDevices Player

用于播放系统【视频/音频】输入设备的网页应用,使用了 [Media Capture and Streams API](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia) 技术。
用于播放【视频/音频】输入设备的网页应用,使用了 [Media Capture and Streams API](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia) 技术。

- 网页版:https://canwdev.github.io/web-mediadevices-player/
- Tauri 打包的客户端:[Releases](https://github.com/canwdev/web-mediadevices-player/releases)
Expand All @@ -10,7 +10,13 @@
- HDMI to USB 采集卡查看
- Webcam 视频播放,桌面录屏
- 画面截图,录制为 webm 格式
- v1.1.5 新增功能
- [CH9329](https://one-kvm.mofeng.run/ch9329_hid/) KVM 键鼠控制,参考: [webusbkvm](https://github.com/kkocdko/kblog/blob/master/source/toys/webusbkvm/README.md)
- 支持相对鼠标、绝对鼠标、快捷键、ASCII文本发送
- 视频画面二维码扫描

![screenshot](screenshot-2.jpg)
![screenshot](screenshot-3.jpg)
![screenshot](screenshot.png)

提示:
Expand Down Expand Up @@ -51,7 +57,13 @@ Main purposes:
- View HDMI to USB capture card
- Play webcam videos, desktop screen recording
- Capture screenshots and record in webm format
- v1.1.5 New features
- [CH9329](https://one-kvm.mofeng.run/ch9329_hid/) KVM keyboard and mouse control, ref: [webusbkvm](https://github.com/kkocdko/kblog/blob/master/source/toys/webusbkvm/README.md)
- Supports relative mouse, absolute mouse, hotkeys, and ASCII text sending.
- Video screen QR code scanning

![screenshot](screenshot-2.jpg)
![screenshot](screenshot-3.jpg)
![screenshot](screenshot.png)

Tips:
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Web MediaDevices Player</title>

</head>
<body>
<div id="app"></div>
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web-mediadevices-player",
"version": "1.1.4",
"version": "1.1.5",
"private": true,
"type": "module",
"scripts": {
Expand All @@ -17,12 +17,14 @@
"dependencies": {
"@tauri-apps/api": "^1.5.3",
"@vueuse/core": "^10.10.0",
"jsqr": "^1.4.0",
"moment": "^2.30.1",
"pinia": "^2.1.7",
"pinia-plugin-persistedstate": "^3.2.1",
"sass": "^1.77.4",
"vue": "^3.4.21",
"vue-router": "^4.3.0"
"vue-router": "^4.3.0",
"web-serial-polyfill": "^1.0.15"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.8.0",
Expand Down
Binary file added screenshot-2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshot-3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "web-mediadevices-player",
"version": "1.1.4"
"version": "1.1.5"
},
"tauri": {
"allowlist": {
Expand Down
Loading

0 comments on commit 71967d9

Please sign in to comment.