Created bool _recording var and Stopwatch stopwatch object
Compressed methods by splitting the contents and housing them in new ones
Introduced a while loop for the recorder function
Changed logic values
Moved DateTime getExportedTime() above @override
Created delay Future and forced break for delay
To break out of endless loop
Data is being sent roughly within 4-5 seconds periodically after initiation of recorder function
How To Test:
Required: Zookeeper, Kafka, Spring-boot, port-forwarding with UserService and SessionHandler running. (additionally used docker compose in windows powershell.
Obtain an emulator or mobile device
Run recorder.dart
Press the microphone icon.
The timer has been configured to the point where it resets at 60 and the timer has been set to record up to 99 hours.
What I Did:
How To Test: