Closed chrisguttandin closed 1 year ago
I've noticed that the usage of isConfigSupported() in the example is probably not as intended. So far the assertion only checks if isConfigSupported() returns a truthy value which is always the case.
isConfigSupported()
I've changed the code to match the usage here: https://github.com/w3c/webcodecs/blob/34e21cb731360339b249ceeb6234129a011b92c9/samples/capture-to-file/encode-worker.js#L38-L39
Please let me know if there is anything I should change.
tidoust marked as non substantive for IPR from ash-nazg.
I've noticed that the usage of
isConfigSupported()
in the example is probably not as intended. So far the assertion only checks ifisConfigSupported()
returns a truthy value which is always the case.I've changed the code to match the usage here: https://github.com/w3c/webcodecs/blob/34e21cb731360339b249ceeb6234129a011b92c9/samples/capture-to-file/encode-worker.js#L38-L39
Please let me know if there is anything I should change.