Re: [mediacapture-main] Does applyConstraints() wait for motor?

@fluffy Regardless of when the promise returns, what should getSettings() return when there's a discrepancy between configured setting and actual physical setting? E.g.

Time | What happened | Applied constraints | Physical motor position | getSettings() returns
-----|--------------|-----------------|-------------------------|---------------------
0 | Starting condition |{pan: {exact: 30}} |  30 | 30
1 | applyConstraints({pan: {exact: 60}) called | {pan: {exact: 30}} |  30 | 30
2 | motor moves | {pan: {exact: 30}}   |  40 (violation) | ?
3 | motor moves | {pan: {exact: 30}}   |  50 (violation) | ?
4 | applyConstraints({pan: {exact: 60}) resolves |{pan: {exact: 60}}   | 60 | 60


-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/470#issuecomment-310921337 using your GitHub account

Received on Sunday, 25 June 2017 19:02:51 UTC