When situation from title happens, the “callback” in overwolf.media.replays.capture (4th argument) is called with a success, but the captureFinishedCallback is never called (and propably no capture created)
Steps to reproduce:
pass in futureDuration -1 to overwolf.media.replays.capture
Either handle the -1 (and maybe negative values in general) gracefully, or give a warning for debugging purpose.
Took me a while to realise that’s the issue when implementing a workaround for conflicting captures.