Skip to main content

getDefaultInputProcessAdaptor

function getDefaultInputProcessAdaptor(tryNativeAPI, targetFrameRate): InputProcessAdaptor;

Get the supported InputProcessAdaptor based on feature detection and preference provided

Parameters

ParameterTypeDefault valueDescription
tryNativeAPIbooleantrueWhether or not to try to use the Native MediaStreamTrackProcessor APIs
targetFrameRatenumberFRAME_RATEThe target frame rate to use when fallback implementation of video frame extraction rate

Returns

InputProcessAdaptor