-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
I cannot get a live video in my home app, all other switches are working connecting to my Xiaofang camera using MQTT.
I already tried with "disableStream": false, and "disableStream": true,
Here is my config:
{
"platform": "Dafang",
"mqtt": {
"hostBroker": false,
"port": 1883,
"host": "XXX.XXX.XXX.XXX",
"debug": true
},
"cameras": [
{
"cameraName": "Oprit",
"cameraRTSPStreamUrl": "rtsp://XXX.XXX.XXX.XXX:8554/unicast",
"mqttTopic": "thuis/dafang/#",
"disableStream": false,
"folder": "/home/media/defang/",
"recordingDirectoryPathFormat": "MMM-D-YY",
"recordingFilenameFormat": "DD_MM_YYYY_ HH_mm_ss",
"accessories": [
{
"name": "Beweging sensor",
"type": "richMotionSensor",
"threshold": 300000
},
{
"name": "Nachtzicht",
"type": "nightVisionSwitch"
},
{
"name": "Video opname",
"type": "recordVideo"
},
{
"name": "Afbeelding opname",
"type": "captureImage"
},
{
"name": "Opslag wissen",
"type": "clearStorage"
},
{
"name": "Reset stream",
"type": "resetFFMPEG"
},
{
"name": "Beweging detectie",
"type": "motionDetection"
},
{
"name": "RTSP",
"type": "rtspSwitch"
},
{
"name": "Herstarten",
"type": "restartSwitch"
}
],
"videoConfig": {
"source": "-rtsp_transport tcp -i rtsp://XXX.XXX.XXX.XXX:8554/unicast",
"stillImageSource": "-rtsp_transport http -i rtsp://XXX.XXX.XXX.XXX:8554/unicast -vframes 1 -r 1",
"maxStreams": 5,
"maxWidth": 1280,
"maxHeight": 720,
"maxFPS": 25,
"vcodec": "h264",
"debug": true
}
}
]
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels