123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- /**
- * The errors for the JitsiTrack objects.
- */
-
- /**
- * Generic error for jidesha extension for Chrome.
- */
- export const CHROME_EXTENSION_GENERIC_ERROR
- = 'gum.chrome_extension_generic_error';
-
- /**
- * An error which indicates that the jidesha extension for Chrome is
- * failed to install.
- */
- export const CHROME_EXTENSION_INSTALLATION_ERROR
- = 'gum.chrome_extension_installation_error';
-
- /**
- * This error indicates that the attempt to start screensharing was initiated by
- * a script which did not originate in user gesture handler. It means that
- * you should to trigger the action again in response to a button click for
- * example.
- * @type {string}
- */
- export const CHROME_EXTENSION_USER_GESTURE_REQUIRED
- = 'gum.chrome_extension_user_gesture_required';
-
- /**
- * An error which indicates that user canceled screen sharing window
- * selection dialog in jidesha extension for Chrome.
- */
- export const CHROME_EXTENSION_USER_CANCELED
- = 'gum.chrome_extension_user_canceled';
-
- /**
- * An error which indicates that some of requested constraints in
- * getUserMedia call were not satisfied.
- */
- export const CONSTRAINT_FAILED = 'gum.constraint_failed';
-
- /**
- * A generic error which indicates an error occurred while selecting
- * a DesktopCapturerSource from the electron app.
- */
- export const ELECTRON_DESKTOP_PICKER_ERROR
- = 'gum.electron_desktop_picker_error';
-
- /**
- * An error which indicates a custom desktop picker could not be detected
- * for the electron app.
- */
- export const ELECTRON_DESKTOP_PICKER_NOT_FOUND
- = 'gum.electron_desktop_picker_not_found';
-
- /**
- * An error which indicates that the jidesha extension for Firefox is
- * needed to proceed with screen sharing, and that it is not installed.
- */
- export const FIREFOX_EXTENSION_NEEDED = 'gum.firefox_extension_needed';
-
- /**
- * Generic getUserMedia error.
- */
- export const GENERAL = 'gum.general';
-
- /**
- * An error which indicates that requested device was not found.
- */
- export const NOT_FOUND = 'gum.not_found';
-
- /**
- * An error which indicates that user denied permission to share requested
- * device.
- */
- export const PERMISSION_DENIED = 'gum.permission_denied';
-
- /**
- * An error which indicates that track has been already disposed and cannot
- * be longer used.
- */
- export const TRACK_IS_DISPOSED = 'track.track_is_disposed';
-
- /**
- * An error which indicates that track is currently in progress of muting or
- * unmuting itself.
- */
- export const TRACK_MUTE_UNMUTE_IN_PROGRESS = 'track.mute_unmute_inprogress';
-
- /**
- * An error which indicates that track has no MediaStream associated.
- */
- export const TRACK_NO_STREAM_FOUND = 'track.no_stream_found';
-
- /**
- * An error which indicates that requested video resolution is not supported
- * by a webcam.
- */
- export const UNSUPPORTED_RESOLUTION = 'gum.unsupported_resolution';
-
- /**
- * Indicates that the track is no receiving any data without reason(the
- * stream was stopped, etc)
- */
- export const NO_DATA_FROM_SOURCE = 'track.no_data_from_source';
|