Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera stops streaming in Home App after a few seconds. #46

Open
PaRkThEcAr opened this issue Jan 10, 2020 · 2 comments
Open

Camera stops streaming in Home App after a few seconds. #46

PaRkThEcAr opened this issue Jan 10, 2020 · 2 comments

Comments

@PaRkThEcAr
Copy link

PaRkThEcAr commented Jan 10, 2020

Hey all, so here is the issue i am having.

I have 2 cameras, each set up and ready to go. they both work nearly perfectly outside of the issue where the cameras both stop streaming after a few seconds. ill go over the hardware/software

2 Wyze Cam V2 cameras running the latest DAFANG HACKS firmware,

Plug in is 1.5.1

HB is latest running on macOS Mojave 10.14.6

here is my config:
"platform": "Dafang",
"mqtt": {
"hostBroker": true,
"port": 1883,
"debug": false,
"mongoUrl": "mongodb://localhost:27017/homebridge-dafang"
},
"cameras": [
{
"cameraName": "Family Room Dafang",
"cameraRTSPStreamUrl": "rtsp://NOTFORU/unicast",
"mqttTopic": "Family Room/Family Room Dafang/#",
"folder": "SUPERSECRET",
"accessories": [
{
"name": "Motion Sensor",
"type": "richMotionSensor",
"threshold": 10000
},
{
"name": "Motion Detection Switch",
"type": "motionDetection"
},
{
"name": "Night Vision Switch",
"type": "nightVisionSwitch"
},
{
"name": "FR Auto Night Vision Switch",
"type": "autoNightVisionSwitch"
},
{
"name": "Record Video",
"type": "recordVideo"
},
{
"name": "Capture Image",
"type": "captureImage"
},
{
"name": "Reset Streaming",
"type": "resetFFMPEG"
}
],
"videoConfig": {
"source": "-rtsp_transport tcp -i rtsp://NOPEEKINunicast",
"stillImageSource": "-i rtsp://ISAIDNOPEEKIN/unicast -vframes 1 -r 1",
"maxStreams": 5,
"maxWidth": 1280,
"maxHeight": 720,
"maxFPS": 15,
"maxBitrate": 300,
"packetSize": 1128,
"debug": true,
"audio": true
}
},
{
"cameraName": "Office Camera Dafang",
"cameraRTSPStreamUrl": "rtsp://NOU/unicast",
"mqttTopic": "Office/Office Camera Dafang/#",
"folder": "AGAINNOTFORU",
"accessories": [
{
"name": "Office Dafang Motion",
"type": "richMotionSensor",
"threshold": 10000
},
{
"name": "OF Motion Detection Switch",
"type": "motionDetection"
},
{
"name": "OF Night Vision Switch",
"type": "nightVisionSwitch"
},
{
"name": "OF Auto Night Vision Switch",
"type": "autoNightVisionSwitch"
},
{
"name": "OF Record Video",
"type": "recordVideo"
},
{
"name": "OF Capture Image",
"type": "captureImage"
}
],
"videoConfig": {
"source": "-rtsp_transport tcp -i rtsp://NOU/unicast",
"stillImageSource": "-i rtsp://YUDODIS/unicast -vframes 1 -r 1",
"maxStreams": 5,
"maxWidth": 1280,
"maxHeight": 720,
"maxFPS": 15,
"maxBitrate": 300,
"packetSize": 1128,
"debug": true,
"audio": true
}
}
]

if needs be, you can reference the issue in this video i uploaded
https://share.icloud.com/photos/0sSFiKXEWJBxQxJY71PFD4Q6Q

it should more accurately illustrate the issue i am having. there doesnt seem to be any information found in the FFMPEG debug option in Homebridge-dafang, so i wont be posting that.

@afbenevides
Copy link

Hi, have you resolved your problem. I have same behaviour here. It works on home.app on OSX but not on iOS. Still image works on both.

@PaRkThEcAr
Copy link
Author

@afbenevides , unfortunately, i have unable to solve the issue myself :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants