52 lines
1.1 KiB
JSON

{
"custom": {},
"params": {
"ipaddress": "192.168.25.24:8000"
},
"propConfig": {
"params.ipaddress": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 500
}
},
"root": {
"children": [
{
"custom": {
"sourceValid": false,
"statusMessage": "Connection failed: Connection reset"
},
"meta": {
"name": "VideoPlayer"
},
"position": {
"height": 500,
"width": 800
},
"propConfig": {
"props.source": {
"binding": {
"config": {
"expression": "\"http://\" + {view.params.ipaddress} + \"/cgi-bin/mjpeg?resolution\u003d800x500\u0026ts\u003d\" + toString(now(5000))\r\n"
},
"type": "expr"
}
}
},
"props": {
"liveFeed": true
},
"type": "ia.display.video-player"
}
],
"meta": {
"name": "root"
},
"type": "ia.container.coord"
}
}