Hello Kevin,
I'm trying to connect to my rtsp stream of my camera with your node and display it on the UI but no image can be displayed can you please help me with the configuration Mfg EIKSEU
[
{
"id": "bb0ae6e2ee973bf8",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": "",
"env": []
},
{
"id": "98b9f9b22fb5970c",
"type": "inject",
"z": "bb0ae6e2ee973bf8",
"name": "Start stream",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": "1",
"topic": "",
"payload": "true",
"payloadType": "bool",
"x": 108,
"y": 125,
"wires": [
[
"2d2883315a2105e0"
]
]
},
{
"id": "9104b81dfc826dfe",
"type": "inject",
"z": "bb0ae6e2ee973bf8",
"name": "Stop stream",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "false",
"payloadType": "bool",
"x": 99,
"y": 175.00000190734863,
"wires": [
[
"2d2883315a2105e0"
]
]
},
{
"id": "2d2883315a2105e0",
"type": "switch",
"z": "bb0ae6e2ee973bf8",
"name": "",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "true"
},
{
"t": "false"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 219,
"y": 157.9999885559082,
"wires": [
[
"30ba4b55e701d510"
],
[
"40bce3d55e7b83f1"
]
]
},
{
"id": "40bce3d55e7b83f1",
"type": "function",
"z": "bb0ae6e2ee973bf8",
"name": "stop",
"func": "msg = {\n kill:'SIGHUP',\n payload : 'SIGHUP' \n}\n\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"x": 239,
"y": 206.9999885559082,
"wires": [
[
"30ba4b55e701d510"
]
]
},
{
"id": "30ba4b55e701d510",
"type": "exec",
"z": "bb0ae6e2ee973bf8",
"command": " ffmpeg -loglevel quiet -rtsp_transport tcp -i rtsp://10.0.0.152:554/Streaming/Channels/101 -reset_timestamps 1 -an -c:v copy -f mp4 -movflags +frag_keyframe+empty_moov+default_base_moof pipe:1",
"addpay": false,
"append": "",
"useSpawn": "true",
"timer": "",
"winHide": false,
"oldrc": false,
"name": "Camera",
"x": 408,
"y": 177.9999885559082,
"wires": [
[
"066b40f05b1eaeb0"
],
[],
[
"066b40f05b1eaeb0"
]
]
},
{
"id": "a36b32a3eafd508a",
"type": "debug",
"z": "bb0ae6e2ee973bf8",
"name": "debug 2",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 864.6666870117188,
"y": 159.33333206176758,
"wires": []
},
{
"id": "066b40f05b1eaeb0",
"type": "mp4frag",
"z": "bb0ae6e2ee973bf8",
"name": "",
"outputs": 2,
"basePath": "07a6a2f836edcca1",
"serveHttp": "false",
"serveIo": "false",
"hlsPlaylistSize": "10",
"hlsPlaylistExtra": "5",
"autoStart": "true",
"preBuffer": 1,
"timeLimit": 10000,
"repeated": "true",
"statusData": "playlist",
"x": 577.6666870117188,
"y": 131,
"wires": [
[
"a36b32a3eafd508a"
],
[
"bc8535c8dc20cffe"
]
]
},
{
"id": "bc8535c8dc20cffe",
"type": "ui_mp4frag",
"z": "bb0ae6e2ee973bf8",
"name": "",
"group": "8d62c605dcb2294c",
"order": 0,
"width": "12",
"height": "6",
"readyPoster": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiB0ZXh0LXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiB2aWV3Qm94PSIwIDAgODAwMCA2MDAwIj48dGV4dCBmaWxsPSIjMGYwIiBzdHJva2Utd2lkdGg9IjAiIGR4PSIwIiBkeT0iMCIgZm9udC1mYW1pbHk9IiZxdW90O2UyY3B1d3p4YldsMTo6OlJvYm90byZxdW90OyIgZm9udC1zaXplPSI2MDAiIGZvbnQtd2VpZ2h0PSI3MDAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKCAxMDExLjI0IDMyMDQuODgpIj48dHNwYW4geT0iMCIgc3Ryb2tlLXdpZHRoPSIwIiBmb250LXdlaWdodD0iNzAwIj48IVtDREFUQVsKVmlkZW8gUGxheWJhY2sgUmVhZHkKXV0+PC90c3Bhbj48L3RleHQ+PC9zdmc+Cg==",
"errorPoster": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiB0ZXh0LXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiB2aWV3Qm94PSIwIDAgODAwMCA2MDAwIj48dGV4dCBmaWxsPSJyZWQiIHN0cm9rZS13aWR0aD0iMCIgZHg9IjAiIGR5PSIwIiBmb250LWZhbWlseT0iJnF1b3Q7ZW42OXdhSUtnN0MxOjo6Um9ib3RvJnF1b3Q7IiBmb250LXNpemU9IjYwMCIgZm9udC13ZWlnaHQ9IjcwMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoIDExODMuOTYgMzIwNC44OCkiPjx0c3BhbiB5PSIwIiBzdHJva2Utd2lkdGg9IjAiIGZvbnQtd2VpZ2h0PSI3MDAiPjwhW0NEQVRBWwpWaWRlbyBQbGF5YmFjayBFcnJvcgpdXT48L3RzcGFuPjwvdGV4dD48L3N2Zz4K",
"hlsJsConfig": "{\"liveDurationInfinity\":true,\"liveBackBufferLength\":5,\"maxBufferLength\":10,\"manifestLoadingTimeOut\":1000,\"manifestLoadingMaxRetry\":10,\"manifestLoadingRetryDelay\":500}",
"autoplay": "true",
"unload": "true",
"threshold": 0.1,
"controls": "true",
"muted": "true",
"players": [
"socket.io",
"hls.js",
"hls",
"mp4"
],
"x": 664.6666870117188,
"y": 196.9999885559082,
"wires": [
[]
]
},
{
"id": "8d62c605dcb2294c",
"type": "ui_group",
"name": "Kameras",
"tab": "7af2d9c8.0a9148",
"order": 1,
"disp": true,
"width": "12",
"collapse": false,
"className": ""
},
{
"id": "7af2d9c8.0a9148",
"type": "ui_tab",
"name": "RTSP",
"icon": "dashboard",
"order": 13,
"disabled": false,
"hidden": false
}
]