-
Notifications
You must be signed in to change notification settings - Fork 470
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
Conversation
…riorityBasedPolicy`
@@ -20,7 +20,9 @@ export default class PaginationManager<Type> { | |||
} | |||
|
|||
remove(toRemove: Type) { | |||
this.all.splice(this.all.indexOf(toRemove)); | |||
if (this.all.includes(toRemove)) { |
There was a problem hiding this comment.
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), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 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.
- This seems like a good detail for changelog entry as a build can understand the change better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will update!
There was a problem hiding this comment.
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.
45cd1ef
to
6e287b1
Compare
6e287b1
to
50c3b5c
Compare
deafb07
to
ed452df
Compare
if (attendeesToShow.includes(videoTile.attendeeId)) { | ||
videoTile.show(false); | ||
} else if (this.tileIndexToTileId[index] !== this.findContentTileId()) { // Always show content |
There was a problem hiding this comment.
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
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:
Have you successfully run
npm run build:release
locally?y
Do you add, modify, or delete public API definitions? If yes, has that been reviewed and approved?
n
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.