Update major applications to support AntOS v2.0.x

This commit is contained in:
DanyLE
2023-01-01 01:54:04 +01:00
parent 695044704b
commit 7171a7eb3b
212 changed files with 2135 additions and 3806 deletions

View File

@ -8,5 +8,6 @@ This application reauires the **tunel plugin** and the **ant-tunnel v4l2 publish
on the server-side
## Change log
* v0.1.5-a: support AntOS 2.0.x
* v0.1.4-a: change app category
* v0.1.2-a: user worker for jpeg decoding

View File

@ -1,6 +1,9 @@
<afx-app-window apptitle="RemoteCamera" width="650" height="550" data-id="RemoteCamera">
<afx-vbox >
<afx-hbox data-height="30">
<div data-id="container">
<canvas data-id="player"></canvas>
</div>
<afx-hbox data-height="35">
<div data-width="10"></div>
<afx-label text="__(Resolution)" data-width="80"></afx-label>
<afx-list-view dropdown=true data-id="resoctl"></afx-list-view>
@ -12,10 +15,5 @@
<afx-list-view dropdown=true data-id="fpsctl"></afx-list-view>
<div data-width="10"></div>
</afx-hbox>
<div data-id="container">
<canvas data-id="player"></canvas>
</div>
</afx-vbox>
</afx-app-window>

83
RemoteCamera/build.json Normal file
View File

@ -0,0 +1,83 @@
{
"name": "RemoteCamera",
"targets": {
"init": {
"jobs": [
{
"name": "vfs-mkdir",
"data": [
"build",
"build/debug",
"build/release"
]
}
]
},
"coffee": {
"require": [
"coffee"
],
"jobs": [
{
"name": "coffee-compile",
"data": {
"src": [
"coffees/main.coffee"
],
"dest": "build/debug/main.js"
}
}
]
},
"uglify": {
"require": [
"terser"
],
"jobs": [
{
"name": "terser-uglify",
"data": [
"build/debug/main.js"
]
}
]
},
"copy": {
"jobs": [
{
"name": "vfs-cp",
"data": {
"src": [
"assets/scheme.html",
"js/decoder.js",
"package.json",
"README.md",
"css/main.css"
],
"dest": "build/debug"
}
}
]
},
"release": {
"require": [
"zip"
],
"depend": [
"init",
"coffee",
"uglify",
"copy"
],
"jobs": [
{
"name": "zip-mk",
"data": {
"src": "build/debug",
"dest": "build/release/RemoteCamera.zip"
}
}
]
}
}
}

View File

@ -8,5 +8,6 @@ This application reauires the **tunel plugin** and the **ant-tunnel v4l2 publish
on the server-side
## Change log
* v0.1.5-a: support AntOS 2.0.x
* v0.1.4-a: change app category
* v0.1.2-a: user worker for jpeg decoding

View File

@ -1,4 +1,3 @@
afx-app-window[data-id="RemoteCamera"] div[data-id="container"]
{
display: block;

View File

@ -7,7 +7,7 @@
"author": "",
"email": ""
},
"version":"0.1.4-a",
"version":"0.1.5-a",
"category":"Graphics",
"iconclass":"fa fa-camera",
"mimes":["none"],

View File

@ -1,6 +1,9 @@
<afx-app-window apptitle="RemoteCamera" width="650" height="550" data-id="RemoteCamera">
<afx-vbox >
<afx-hbox data-height="30">
<div data-id="container">
<canvas data-id="player"></canvas>
</div>
<afx-hbox data-height="35">
<div data-width="10"></div>
<afx-label text="__(Resolution)" data-width="80"></afx-label>
<afx-list-view dropdown=true data-id="resoctl"></afx-list-view>
@ -12,10 +15,5 @@
<afx-list-view dropdown=true data-id="fpsctl"></afx-list-view>
<div data-width="10"></div>
</afx-hbox>
<div data-id="container">
<canvas data-id="player"></canvas>
</div>
</afx-vbox>
</afx-app-window>

View File

@ -7,7 +7,7 @@
"author": "",
"email": ""
},
"version":"0.1.4-a",
"version":"0.1.5-a",
"category":"Graphics",
"iconclass":"fa fa-camera",
"mimes":["none"],