Re: [mediacapture-transform] How does generator.mute change track states? (#81)

The POLA thing that worries me is this:

generator.muted = true;
<call into some other code that does generator.muted = false>

"where did my mute go? There was no muted event fired!"
People don't expect actions to have *no* effect. The only way to debug this would be to detect that generator.muted is now false when you expected it to be true. Is that enough?


-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/mediacapture-transform/issues/81#issuecomment-1063421450 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 9 March 2022 22:07:33 UTC