Brandawg93 / homebridge-nest-cam_old

Use your Nest Cam as IP camera in HomeKit.
Apache License 2.0
89 stars 14 forks source link

Live stream is not live, just still grab every 30 secs #28

Open jonathancatt opened 6 years ago

jonathancatt commented 6 years ago

Having an issue with live streams not being live. It seems that even though FFMPEG is running it is only receiving a still frame every 30sec. Has the NEST API changed?

Running on Fedora with an Intel NUC.

djglisson2 commented 6 years ago

We were having this same problem until @KhaosT updated the plugin 6 hours ago (not long after you commented). Can't speak to Fedora, etc. but try updating the plugin now and see if it's doing any better for you.

jonathancatt commented 6 years ago

It definitely seems better, but I am getting a lot of dropped frames with a lot of latency. I was using a RaspberryPi setup but need to designate it for another project so moved over to an Intel NUC platform. It has a whole lot more horsepower than the Pi and even with ffmpeg is running it's only using about 50% of one core. Any other recommendations for troubleshooting? I.E is there a way to pull up the nest's feed independently? This way I can ensure the feed the NUC is getting is clean.

djglisson2 commented 6 years ago

I'm pretty happy with what I'm getting while running Homebridge on MacOS. There's about a 5 second delay, but given Homebridge and its plugins are essentially a workaround by definition, I'm not trying to be too terribly picky about it.

As far as getting at the independent feed, I just use the nest app or website as a comparative. But then, I'm not a proper developer, so... the possibility that there's another way is certainly out there, I suppose.

All this said, given the original issue is basically solved by the update, maybe moving the dropped frames, etc. conversation to a new thread so others can quickly/easily see and add to the conversation is the way to go. Might get you better, more specific feedback than I or anyone that sees the title of this thread can provide. Best of luck!