how to take a snapshot
See original GitHub issueBug Report
Describe the Bug
This is not really a bug, but forgive me that I could not find another place to open this for discussion… I am trying to make my code not only expose a livestream using your browser example which works fine, but also to make a regular snapshot. I am not sure how to approach this? Would you suggest adding another output to the sipSession that calls ffmpeg to save snapshots every X seconds? Or use the getSnapShot() function? I am not even sure what that will return.
To Reproduce
Steps to reproduce the behavior:
- Create an
ApiClient
- Attempt to …
- See error
Expected behavior
A clear and concise description of what you expected to happen.Screenshots/Logs
If applicable, add screenshots and log output to help explain your problem.Additional context
Add any other context about the problem here.Environment
- OS: [e.g. Raspbian]
- Node.js: [e.g. 12.14.1]
- NPM: [e.g 6.13.4]
- ring-client-api: [e.g 6.0.3]
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to take a screenshot
Android ; hold down at once, Volume Down, and, Power ; Where do I find my screenshots? ; Look for a Screenshots folder...
Read more >Take a screenshot or record your screen on your Android device
Take a screenshot · Open the screen that you want to capture. · Depending on your phone: Press the Power and Volume down...
Read more >Take a screenshot on your iPhone - Apple Support
How to take a screenshot on iPhone models with Touch ID and side button. Press the side button and the Home button at...
Read more >How to Take a Screenshot on Any Device - PCMag
Hit the Shift + Ctrl + Show windows, then select Screenshot and capture the full screen, part of the screen, or a specific...
Read more >8 ways to take a screenshot on Windows 10 and Windows 11
A screenshot of a Windows keyboard, with the Print Screen key highlighted. ... The easiest way to take a screenshot of your entire...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, that’s because Ring is odd about when you can fetch a snapshot. If you call
getSnapshot(true)
, it will return “stale” snapshots, as in they may not be from right that second.Snapshot limitations are detailed in https://github.com/dgreif/ring/wiki/Battery-Cam-Snapshots. You can call
getSnapshot(true)
while live streaming, but there is no guarantee that you will receive a snapshot that isn’t stale.