Skip to content

applyConstraints() could be more useful #1017

@eladalon1983

Description

@eladalon1983

applyConstraints() returns a promise.

  • If the track is "ended", the promise is resolved.
  • Otherwise, the promise is either...
    • ...rejected if there is a problem.
    • ...resolved if no problem is detected.

While this is somewhat useful, it might be more useful to specify that the promise is only resolved after the new set of constraints has taken effect, and all new frames emitted by the track are guaranteed to be subject to the new set of constraints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions