getDefaultInputProcessAdaptor
function getDefaultInputProcessAdaptor(tryNativeAPI, targetFrameRate): InputProcessAdaptor;
Get the supported InputProcessAdaptor based on feature detection and preference provided
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
tryNativeAPI | boolean | true | Whether or not to try to use the Native MediaStreamTrackProcessor APIs |
targetFrameRate | number | FRAME_RATE | The target frame rate to use when fallback implementation of video frame extraction rate |