We've implemented a catch all mechanism for all of the situations that were producing 0 byte recordings coming from the HTML5 desktop recorder.
Previously, when a 0 byte file was made, the user that made the recording had no idea.
Now the user experience is much better. After clicking the record button if no incoming data is detected:
- For the first 2 seconds the message Waiting for data... is shown and the recording counter does not start, because nothing is actual recording.
- After 2 seconds if there is still no incoming data, the message Device error: no audio or video data is shown and the UI is reset, so that you can retry to record.
- The failed recording is not saved.