Cast image or stream to chrome cast

can domeone please help me. I like to stream a image or live stream from my HIKvision camera. ut it wont work


I get a client error from the cast node. and this message
image

[
    {
        "id": "56eb78660c7523a3",
        "type": "hikvisionUltimateAlarm",
        "z": "e2ac21260485d461",
        "name": "Hoved dør",
        "topic": "",
        "server": "e96bc0f54981d83d",
        "reactto": "linedetection",
        "devicetype": 0,
        "filterzone": "0",
        "alarmfilterduration": 0,
        "alarmfilterperiod": 0,
        "channelID": "0",
        "x": 160,
        "y": 780,
        "wires": [
            [
                "671f28c9c910e69f",
                "db88c33c0b306487"
            ],
            []
        ]
    },
    {
        "id": "5bfde092763d51ad",
        "type": "debug",
        "z": "e2ac21260485d461",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 550,
        "y": 880,
        "wires": []
    },
    {
        "id": "671f28c9c910e69f",
        "type": "delay",
        "z": "e2ac21260485d461",
        "name": "1 besked /min.",
        "pauseType": "rate",
        "timeout": "5",
        "timeoutUnits": "seconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "minute",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": true,
        "allowrate": false,
        "outputs": 1,
        "x": 340,
        "y": 860,
        "wires": [
            [
                "5bfde092763d51ad"
            ]
        ]
    },
    {
        "id": "b1a22a4151abc7f4",
        "type": "image",
        "z": "e2ac21260485d461",
        "name": "",
        "width": "160",
        "data": "payload",
        "dataType": "msg",
        "thumbnail": false,
        "active": true,
        "pass": false,
        "outputs": 0,
        "x": 700,
        "y": 720,
        "wires": []
    },
    {
        "id": "e16c043751ac3119",
        "type": "debug",
        "z": "e2ac21260485d461",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "statusVal": "",
        "statusType": "auto",
        "x": 510,
        "y": 660,
        "wires": []
    },
    {
        "id": "2d1e82d47c76e0d0",
        "type": "debug",
        "z": "e2ac21260485d461",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 730,
        "y": 660,
        "wires": []
    },
    {
        "id": "eaa7bce95398a555",
        "type": "inject",
        "z": "e2ac21260485d461",
        "name": "",
        "props": [
            {
                "p": "url",
                "v": "https://admin:vejbrony1@192.168.1.64:8000/streaming/channels/101",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "x": 150,
        "y": 600,
        "wires": [
            [
                "5e84e891ae762b50"
            ]
        ]
    },
    {
        "id": "db88c33c0b306487",
        "type": "hikvisionUltimatePicture",
        "z": "e2ac21260485d461",
        "name": "",
        "topic": "",
        "server": "e96bc0f54981d83d",
        "channelID": "1",
        "rotateimage": "0",
        "heightimage": "",
        "widthimage": "",
        "qualityimage": "100",
        "cropimage": "",
        "textoverlay": "hej pølse mand",
        "textoverlayXY": "0,0",
        "textoverlayWH": "0,0",
        "textoverlayFont": "FONT_SANS_32_WHITE",
        "urlImageCurrentIndex": 0,
        "x": 340,
        "y": 760,
        "wires": [
            [
                "2d1e82d47c76e0d0",
                "b1a22a4151abc7f4",
                "5c8990caf08808ea"
            ],
            []
        ]
    },
    {
        "id": "5e84e891ae762b50",
        "type": "cast-to-client",
        "z": "e2ac21260485d461",
        "name": "",
        "url": "",
        "contentType": "image",
        "message": "",
        "language": "en",
        "ip": "192.168.1.5",
        "port": "8009",
        "volume": "",
        "x": 360,
        "y": 600,
        "wires": [
            []
        ]
    },
    {
        "id": "5c8990caf08808ea",
        "type": "base64",
        "z": "e2ac21260485d461",
        "name": "",
        "action": "",
        "property": "payload",
        "x": 340,
        "y": 680,
        "wires": [
            [
                "5e84e891ae762b50",
                "e16c043751ac3119"
            ]
        ]
    },
    {
        "id": "e96bc0f54981d83d",
        "type": "Hikvision-config",
        "host": "192.168.1.64",
        "port": "37777",
        "name": "IP CAMERA",
        "authentication": "digest",
        "protocol": "http",
        "heartbeattimerdisconnectionlimit": "2",
        "deviceinfo": "{\"DeviceInfo\":{\"$\":{\"version\":\"2.0\",\"xmlns\":\"http://www.hikvision.com/ver20/XMLSchema\"},\"deviceName\":\"IP CAMERA\",\"deviceID\":\"fa07c000-860f-11b5-8456-d4e8539f2f1f\",\"deviceDescription\":\"IPCamera\",\"deviceLocation\":\"hangzhou\",\"systemContact\":\"Hikvision.China\",\"model\":\"DS-2CD2346G2-ISU/SL\",\"serialNumber\":\"DS-2CD2346G2-ISU/SL20211110AAWRJ05673442\",\"macAddress\":\"d4:e8:53:9f:2f:1f\",\"firmwareVersion\":\"V5.7.1\",\"firmwareReleasedDate\":\"build 211009\",\"encoderVersion\":\"V7.3\",\"encoderReleasedDate\":\"build 210909\",\"bootVersion\":\"V1.3.4\",\"bootReleasedDate\":\"100316\",\"hardwareVersion\":\"0x0\",\"deviceType\":\"IPCamera\",\"telecontrolID\":\"88\",\"supportBeep\":\"false\",\"supportVideoLoss\":\"false\",\"firmwareVersionInfo\":\"B-R-G5-0\"}}"
    }
]

I was sure the cast node needs a http URL.

So you could serve the image via http-in ~ http-request nodes & send the URL endpoint to the cast device.

See the cook-book for making http endpoints

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.