Add Automatic Intermittent Producer To Canary
Closed this issue · 0 comments
hassanctech commented
With the recently added automatic intermittent producer handling in PIC and Producer C, we should add a long running test for this in the Canary, the test is simple just putting frames and pausing (no API call just stop producing frames) alternating for 1 minute (or some other fixed pre-determined time) would be great. If possible I'd prefer something like this pseudocode:
while(true)
int i = random_int_in_range_1_10;
put_frames_for_i_mins;
int j = random_int_in_range_1_10;
sleep_for_j_mins;
end
This way we won't always stop/start on a key frame we'll regularly be testing those scenarios and make sure our SDK / back-end doesn't generate any errors.