mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-25 02:09:50 +02:00
Update major applications to support AntOS v2.0.x
This commit is contained in:
@ -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
|
||||
|
@ -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
83
RemoteCamera/build.json
Normal 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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@ -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
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
afx-app-window[data-id="RemoteCamera"] div[data-id="container"]
|
||||
{
|
||||
display: block;
|
||||
|
@ -7,7 +7,7 @@
|
||||
"author": "",
|
||||
"email": ""
|
||||
},
|
||||
"version":"0.1.4-a",
|
||||
"version":"0.1.5-a",
|
||||
"category":"Graphics",
|
||||
"iconclass":"fa fa-camera",
|
||||
"mimes":["none"],
|
||||
|
@ -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>
|
Binary file not shown.
@ -7,7 +7,7 @@
|
||||
"author": "",
|
||||
"email": ""
|
||||
},
|
||||
"version":"0.1.4-a",
|
||||
"version":"0.1.5-a",
|
||||
"category":"Graphics",
|
||||
"iconclass":"fa fa-camera",
|
||||
"mimes":["none"],
|
||||
|
Reference in New Issue
Block a user