question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can you get an interval blob before the callback has fired?

See original GitHub issue

If you set an timeSlice to, for example, 10 seconds and the user stops the recording after 12 seconds maybe, is there a way I can get the ‘2 second’ blob as this would be discarded due to the callback not firing?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:3
  • Comments:6

github_iconTop GitHub Comments

2reactions
keyhole425commented, Sep 11, 2019

@DevJhns This may not work for your scenario, but I ended up setting the timeslice to 1 second and joining all the blobs together on the server side using FFMPEG (making a request every 5 seconds as an example). It’s a non-trivial solution to the problem though

0reactions
DevJhnscommented, Sep 11, 2019

@keyhole425 thx for reply bro! Yeah, I also thought about that way, but was looking(hoping) for solution with this lib, less server resources, a bit simpler, etc seems it’s only way

Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript - Gathering information about the event loop in a web ...
It doesn't. One reason for that is: the callback will be scheduled to run once the executor is idle. Which it might be...
Read more >
click/timer.hh at master · kohler/click - GitHub
This constructor is most useful for a Timer that will be assigned a. * true callback later, using one of the Timer::assign() methods....
Read more >
Structured Streaming Programming Guide - Apache Spark
Every trigger interval (say, every 1 second), new rows get appended to the Input Table, which eventually updates the Result Table. Whenever the...
Read more >
Node.js v19.3.0 Documentation
See the contributing guide for directions on how to submit pull requests. ... then() / catch() will not have the before and after...
Read more >
Python3 Operator - SAP Help Portal
For example, you can set a callback that is called when you receive new data ... can also be used to wait for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found