Closed Bug 1445891 Opened 6 years ago Closed 6 years ago

ApplyConstraints should never reject after internal failures

Categories

(Core :: WebRTC: Audio/Video, enhancement, P3)

60 Branch
enhancement

Tracking

()

RESOLVED INVALID

People

(Reporter: pehrsons, Unassigned)

References

Details

Per bug 1438134 comment 11.

Today ApplyConstraints can be rejected with InternalError when failing to stop or start the device that is being reconfigured.

Per spec the only error it is allowed to be rejected with is OverconstrainedError.

Should an internal error occur we should instead resolve the promise and end the track.

Consider adding telemetry to track these errors.
Rank: 25
Priority: -- → P3
See bug 1438134 comment 17.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.