Closed PikaJoyce closed 3 years ago
Hey @PikaJoyce , sorry if it wasn't clear, but we want to add the isSupported
flag in the SDK so that you can do something like
import { isSupported } from '@twilio/video-processors-sdk';
Then use that flag in your example app.
The isSupported
flag should return true if OffscreenCanvas
is available and you are not running on a mobile device. We should also add unit tests for this flag.
Going to close this for now :D
I've added a bootstrap modal to display whenever chrome is not the browser in use.
Here is the modal on Safari :
on Firefox :
I was originally using
Video.isSupported
but since we support multiple browsers on the SDK, and we only support chrome for video-processors, I am usingwindow.chrome
to do this check. However, this works on Microsoft Edge.Contributing to Twilio
Pull Request Details
Description
A description of what this PR does.
Burndown
Before review
npm test