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 server side network adaptation the default when creating VideoPriorityBasedPolicy #2889

Merged
merged 4 commits into from
May 8, 2024

Conversation

hensmi-amazon
Copy link
Contributor

Issue #: None

Description of changes: We are no longer iterating on the priority policy without server side network adaptation. So it makes sense that it is the default.

Testing:
Confirmed that SSNA is used when not configured.

Can these tested using a demo application? Please provide reproducible step-by-step instructions.
N/A no behavior is changed.

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 a review from a team as a code owner May 3, 2024 20:37
@@ -20,7 +20,9 @@ export default class PaginationManager<Type> {
}

remove(toRemove: Type) {
this.all.splice(this.all.indexOf(toRemove));
if (this.all.includes(toRemove)) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Some unrelated pagination fixes here

/** [[VideoAdaptiveProbePolicy]] wraps [[VideoPriorityBasedPolicy]] with customized behavior to automatically
* assign a high preference to content share.
*
* @deprecated This class is not compatible with latest priority policy features (i.e. server side network adaptation),
Copy link
Contributor

Choose a reason for hiding this comment

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

  1. Since we are trying to help the builder with the documenation, probably a link to follow when we say "can be done trivially by the application" would be helpful.
  2. This seems like a good detail for changelog entry as a build can understand the change better.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will update!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

actually i misunderstood a comment i wrote before/how this is used (when simulcast is enabled but a policy is not set). I don't need to deprecate this yet.

devalevenkatesh
devalevenkatesh previously approved these changes May 6, 2024
if (attendeesToShow.includes(videoTile.attendeeId)) {
videoTile.show(false);
} else if (this.tileIndexToTileId[index] !== this.findContentTileId()) { // Always show content
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This breaks because of the local content that automatically makes a tile. It doesn't really need to make UX decisions like this (not like UX eng ever assisted with demo) so simpler is better IMO

@hensmi-amazon hensmi-amazon merged commit 5354ada into main May 8, 2024
10 checks passed
@hensmi-amazon hensmi-amazon deleted the ssna-default branch May 8, 2024 19:52
hensmi-amazon added a commit that referenced this pull request May 8, 2024
… `VideoPriorityBasedPolicy` (#2889)"

This reverts commit 5354ada.
hensmi-amazon added a commit that referenced this pull request May 10, 2024
… `VideoPriorityBasedPolicy` (#2889)" (#2892)

This reverts commit 5354ada.
hensmi-amazon added a commit that referenced this pull request Jun 7, 2024
…creating `VideoPriorityBasedPolicy` (#2889)" (#2892)"

This reverts commit 56ea0b7.
hensmi-amazon added a commit that referenced this pull request Jun 7, 2024
…creating `VideoPriorityBasedPolicy` (#2889)" (#2892)"

This reverts commit 56ea0b7.
hensmi-amazon added a commit that referenced this pull request Jun 25, 2024
…creating `VideoPriorityBasedPolicy` (#2889)" (#2892)" (#2904)

This reverts commit 56ea0b7.
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