awslabs / amazon-kinesis-video-streams-pic

Apache License 2.0
49 stars 47 forks source link

Add timerqueuekick and checkstatemachinetransition #221

Closed jdelapla closed 11 months ago

jdelapla commented 11 months ago

Description of changes: Add api to allow executing a timer handle immediately instead of waiting for the full duration.

Add api to allow checking current state machine getNextFn to see if state machine is ready to transition

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

codecov-commenter commented 11 months ago

Codecov Report

Attention: 14 lines in your changes are missing coverage. Please review.

Comparison is base (2da0d6c) 75.19% compared to head (933cf9b) 75.11%.

:exclamation: Current head 933cf9b differs from pull request most recent head 01859a3. Consider uploading reports for the commit 01859a3 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #221 +/- ## =========================================== - Coverage 75.19% 75.11% -0.09% =========================================== Files 52 52 Lines 10203 10225 +22 =========================================== + Hits 7672 7680 +8 - Misses 2531 2545 +14 ``` | [Files](https://app.codecov.io/gh/awslabs/amazon-kinesis-video-streams-pic/pull/221?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs) | Coverage Δ | | |---|---|---| | [src/state/src/State.c](https://app.codecov.io/gh/awslabs/amazon-kinesis-video-streams-pic/pull/221?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs#diff-c3JjL3N0YXRlL3NyYy9TdGF0ZS5j) | `95.87% <ø> (+0.37%)` | :arrow_up: | | [src/utils/src/TimerQueue.c](https://app.codecov.io/gh/awslabs/amazon-kinesis-video-streams-pic/pull/221?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs#diff-c3JjL3V0aWxzL3NyYy9UaW1lclF1ZXVlLmM=) | `43.70% <0.00%> (-2.40%)` | :arrow_down: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.