React Api Reference
    Preparing search index...

    Class PreCallTestError

    Error thrown via Promise rejection from VideoSDK.runPreCallTest, and surfaced inside the resolved result for any phase (camera, microphone, network) that fails.

    Index

    Constructors

    Properties

    Constructors

    Properties

    code: string

    Stable SDK error code.

    Code Description
    ERROR_CAMERA_NOT_FOUND Please ensure your camera is connected and turned on, and that the camera driver is installed and up-to-date.
    ERROR_CAMERA_ACCESS_DENIED_OR_DISMISSED Oops! It seems like camera access was denied or dismissed. To proceed, kindly grant access through your browser settings.
    ERROR_CAMERA_IN_USE The camera is being used by another application. Please close any programs utilizing the camera, such as video conferencing tools, screen recording software, or other browsers. Restart your browser and attempt again.
    ERROR_CAMERA_CONSTRAINT_NOT_SATISFIED The camera cannot satisfy the requested constraints (resolution, frame rate, etc.).
    ERROR_WEBCAM_TRACK_ENDED Webcam track has ended or the webcam is disconnected. Please ensure your webcam is properly connected and try restarting it.
    ERROR_VIDEO_SOURCE_INITIATION_FAILED Unable to initiate video source. Please verify browser settings for video permissions.
    ERROR_INVALID_CUSTOM_VIDEO_TRACK The provided videoTrack is invalid. Pass a MediaStream containing a live video track.
    ERROR_MICROPHONE_NOT_FOUND Please ensure your microphone is connected and turned on.
    ERROR_MICROPHONE_ACCESS_DENIED_OR_DISMISSED Oops! It seems like microphone access was denied or dismissed. To proceed, kindly grant access through your browser settings.
    ERROR_MICROPHONE_IN_USE The microphone is being used by another application. Please close any programs utilizing the microphone, such as video conferencing tools, screen recording software, or other browsers. Restart your browser and attempt again.
    ERROR_MICROPHONE_CONSTRAINT_NOT_SATISFIED The microphone cannot satisfy the requested constraints (sample rate, channels, etc.).
    ERROR_MICROPHONE_TRACK_ENDED Microphone track has ended or the microphone is disconnected. Please check your microphone connection and try again.
    ERROR_AUDIO_SOURCE_INITIATION_FAILED Unable to initiate audio source.
    ERROR_INVALID_CUSTOM_AUDIO_TRACK The provided audioTrack is invalid. Pass a MediaStream containing a live audio track.
    ERROR_PRECALL_TEST_ALREADY_RUNNING A pre-call test is already running. Stop the active test before starting a new one.
    ERROR_PRECALL_INVALID_CONFIG Invalid configuration passed to runPreCallTest.
    ERROR_PRECALL_INVALID_TOKEN Authentication token is missing, empty, or invalid.
    ERROR_PRECALL_MEDIA_CHECK_FAILED Pre-call test cannot continue — neither camera nor microphone could be acquired.
    ERROR_PRECALL_TEST_FAILED The pre-call network test could not be completed. Please try again.
    message: string

    Message paired with code — matches the description column above.