-
Hallo, Here is what I did so far
Can someone help me? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
This is a great place to ask 😄. First, it's important to know which type of camera you are using. If it is a camera equipped with a battery, you won't be able to pull a new snapshot while recording is in progress. See https://github.com/dgreif/ring/wiki/Snapshot-Limitations for details. Beyond that limitation, it's hard to say what the exact problem is. Regarding getting the snapshot in the |
Beta Was this translation helpful? Give feedback.
This is a great place to ask 😄. First, it's important to know which type of camera you are using. If it is a camera equipped with a battery, you won't be able to pull a new snapshot while recording is in progress. See https://github.com/dgreif/ring/wiki/Snapshot-Limitations for details.
Beyond that limitation, it's hard to say what the exact problem is.
pict
will be aBuffer
, and you should be able to send that as a response with express, but I don't work with express enough to know the right way to do that. Google should be able to provide a decent answer on that one 😉Regarding getting the snapshot in the
onNewDing
callback, you can addasync
to the callback likecamera.onNewDing.subscr…