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

Make index ingestion and metrics resubscribe pausing occur on connection as well #1937

Merged
merged 5 commits into from
Jan 20, 2022

Conversation

hensmi-amazon
Copy link
Contributor

Issue #: #1448 (rerolling #1932)

Description of changes: See #1932. Fixed an ordering issues, and added some comments as well. Found related simulcast bug #1934 while testing.

Testing:
See #1932

Checklist:

  1. Have you successfully run npm run build:release locally?
    y

  2. Do you add, modify, or delete public API definitions? If yes, has that been reviewed and approved?
    n

  3. Do you change the wire protocol, e.g. the request method? If yes, has that been reviewed and approved?
    n

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

@hensmi-amazon hensmi-amazon requested review from ltrung and a team January 14, 2022 02:30
@@ -113,6 +113,9 @@ export default class JoinAndReceiveIndexTask extends BaseTask {
);
});
this.context.logger.info(`received first index ${JSON.stringify(indexFrame)}`);
// We currently don't bother ingesting this into the same places as `ReceiveVideoStreamIndexTask` as we synchronously attempt a first subscribe
// after this task completes and the state isn't quite in the right place to make it work without some refactoring. However that
// means that we will always have an initial subscribe without any received videos.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sometimes you gotta pick your battles 😒

ltrung
ltrung previously approved these changes Jan 19, 2022
@ltrung ltrung merged commit 4d779e4 into main Jan 20, 2022
@ltrung ltrung deleted the harden-pausing-2 branch January 20, 2022 02:05
bjason pushed a commit that referenced this pull request Jan 26, 2022
…ion as well (#1937)

Co-authored-by: Trung Le <58827450+ltrung@users.noreply.github.com>
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