Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: data race causing multiple initial events and crash with low net… #40

Merged
merged 2 commits into from
Jul 13, 2023

Conversation

atierian
Copy link
Member

@atierian atierian commented Jul 12, 2023

Issue #, if available:

Description of changes:
Adds some checks to prevent:

  • AVAssetWriter from being started multiple times (crash).
  • multiple initial client information events from being sent.

Work is being done on a separate branch experimental/dqectomy to remove the situations that require these checks. Considering that's a larger change and the urgency of the existing issues, that will go out in a future release.

Check points: (check or cross out if not relevant)

  • Added new tests to cover change, if needed
  • Build succeeds with all target using Swift Package Manager
  • All unit tests pass
  • Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
  • Documentation update for the change if required
  • PR title conforms to conventional commit style
  • If breaking change, documentation/changelog update with migration instructions

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@atierian atierian marked this pull request as ready for review July 13, 2023 14:50
@atierian atierian requested review from a team as code owners July 13, 2023 14:50
@phantumcode phantumcode merged commit 18c23bf into main Jul 13, 2023
@phantumcode phantumcode deleted the fix/multi-event-data-race branch July 13, 2023 15:42
phantumcode pushed a commit that referenced this pull request Jul 13, 2023
#40)

* fix: data race causing multiple initial events and crash with low network throughput

* invoke oncomplete
phantumcode added a commit that referenced this pull request Jul 20, 2023
* main:
  chore: update user agent string with correct library version (#42)
  fix: update no match timeout check from frame count to elapsed time (#41)
  fix: send client close frame (#39)
  fix: data race causing multiple initial events and crash with low net… (#40)
  chore: remove countdown from liveness session check (#36)
devedup pushed a commit to devedup/amplify-ui-swift-liveness that referenced this pull request Sep 12, 2023
aws-amplify#40)

* fix: data race causing multiple initial events and crash with low network throughput

* invoke oncomplete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants