সাম্প্রতিক ডকুমেন্টেশন কার্যক্রম
সমস্ত কার্যকলাপ দেখুনপৃষ্ঠা | তারিখ | মন্তব্য |
---|---|---|
MediaDevices.getUserMedia() |
Switched the two examples around, as constraints were not likely to work with the polyfill. | |
MediaDevices.getUserMedia() |
let p = foo(); p.then(() => {}); p.catch(() => {}); is an anti-pattern we should avoid. Each line returns a promise, and line 2 leaves an uncaught rejection. Instead chain head to tail. | |
MediaDevices.getUserMedia() |
Avoid terms that imply the promise-returning API can throw exceptions, which it can't. On failure, it returns a rejected promise with the (poorly-named) DOMException error object. | |
MediaStream |
||
MediaStream() |