Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MABelanger/jslib-html5-camera-photo
/ functions
Functions
77 in github.com/MABelanger/jslib-html5-camera-photo
⨍
Functions
77
◇
Types & classes
6
↓ 17 callers
Function
resolveApp
config/paths.js:10
↓ 6 callers
Function
gum
(candidate, device)
others/snippets/resolutionScan.js:168
↓ 4 callers
Function
getClientEnvironment
(publicUrl)
config/env.js:60
↓ 4 callers
Method
startCamera
(idealCameraDevice, idealResolution)
src/demo/AppReact.js:17
↓ 3 callers
Function
captureResults
(status)
others/snippets/resolutionScan.js:240
↓ 3 callers
Method
getIdealConstraints
(idealCameraDevice, idealResolution)
src/lib/CameraPhoto/MediaServices/MediaServices.js:79
↓ 3 callers
Method
getNavigatorMediaDevices
()
src/lib/CameraPhoto/MediaServices/MediaServices.js:44
↓ 3 callers
Method
stopCamera
()
src/lib/CameraPhoto/CameraPhoto.js:191
↓ 2 callers
Method
_enumerateCamerasPromise
()
src/lib/CameraPhoto/CameraPhoto.js:88
↓ 2 callers
Function
_getHasTouchEvents
()
src/lib/CameraPhoto/MediaServices/helper.js:47
↓ 2 callers
Method
_getStreamDevice
(idealCameraDevice, idealResolution)
src/lib/CameraPhoto/CameraPhoto.js:24
↓ 2 callers
Function
_getStringWithPlatform
()
src/lib/CameraPhoto/MediaServices/helper.js:39
↓ 2 callers
Method
_gotStream
(stream)
src/lib/CameraPhoto/CameraPhoto.js:108
↓ 2 callers
Method
_setSettings
(stream)
src/lib/CameraPhoto/CameraPhoto.js:76
↓ 2 callers
Method
getDataUri
(sizeFactor)
src/demo/AppReact.js:27
↓ 2 callers
Function
getIsIOS
()
src/lib/CameraPhoto/MediaServices/helper.js:83
↓ 2 callers
Function
getPublicUrl
config/paths.js:25
↓ 2 callers
Method
startCameraMaxResolution
(idealCameraDevice = '')
src/lib/CameraPhoto/CameraPhoto.js:159
↓ 1 callers
Function
_dataURItoBlob
(dataURI)
src/lib/plugins/downloadPhoto.js:3
↓ 1 callers
Function
_downloadImageFileFomBlob
(blob, prefixName, imageNumber)
src/lib/plugins/downloadPhoto.js:43
↓ 1 callers
Function
_getDebugPlatformInfo
()
src/lib/CameraPhoto/MediaServices/helper.js:102
↓ 1 callers
Function
_getFileExtention
(blobType)
src/lib/plugins/downloadPhoto.js:26
↓ 1 callers
Function
_getFileName
(prefixName, imageNumber, blobType)
src/lib/plugins/downloadPhoto.js:36
↓ 1 callers
Method
_getStreamDeviceMaxResolution
(idealCameraDevice)
src/lib/CameraPhoto/CameraPhoto.js:39
↓ 1 callers
Function
_getValidImgParam
(imageType, imageCompression)
src/lib/CameraPhoto/MediaServices/helper.js:22
↓ 1 callers
Function
_padWithZeroNumber
(number, width)
src/lib/plugins/downloadPhoto.js:19
↓ 1 callers
Method
_setVideoSrc
(stream)
src/lib/CameraPhoto/CameraPhoto.js:66
↓ 1 callers
Function
_validateImgParam
(imageType, imageCompression)
src/lib/CameraPhoto/MediaServices/helper.js:3
↓ 1 callers
Function
build
(previousFileSizes)
scripts/demo.js:88
↓ 1 callers
Function
build
(previousFileSizes)
scripts/buildNpm.js:88
↓ 1 callers
Function
build
(previousFileSizes)
scripts/buildHtml.js:88
↓ 1 callers
Function
clickRows
()
others/snippets/resolutionScan.js:309
↓ 1 callers
Function
createAllResolutions
(minHeight, maxHeight)
others/snippets/resolutionScan.js:399
↓ 1 callers
Function
downloadPhoto
(dataUri, prefixName = 'photo', imageNumber = 0)
src/lib/plugins/downloadPhoto.js:54
↓ 1 callers
Function
ensureSlash
(path, needsSlash)
config/paths.js:14
↓ 1 callers
Method
enumerateCameras
()
src/lib/CameraPhoto/CameraPhoto.js:118
↓ 1 callers
Method
getCameraSettings
()
src/lib/CameraPhoto/CameraPhoto.js:114
↓ 1 callers
Function
getDataUri
(canvas, imageType, imageCompression)
src/lib/CameraPhoto/MediaServices/helper.js:65
↓ 1 callers
Function
getImageSize
(videoWidth, videoHeight, sizeFactor)
src/lib/CameraPhoto/MediaServices/helper.js:51
↓ 1 callers
Method
getMaxResolutionConstraints
(idealCameraDevice = '', numberOfMaxResolutionTry)
src/lib/CameraPhoto/MediaServices/MediaServices.js:118
↓ 1 callers
Function
getServedPath
(appPackageJson)
config/paths.js:34
↓ 1 callers
Method
getWindowURL
()
src/lib/CameraPhoto/MediaServices/MediaServices.js:35
↓ 1 callers
Function
hasConstraints
(idealCameraDevice, idealResolution)
src/lib/CameraPhoto/MediaServices/helper.js:78
↓ 1 callers
Function
showCameraSettings
()
src/demo/AppSimpleVanillaJs.js:93
↓ 1 callers
Function
startCameraIdMaxResolution
(deviceId)
src/demo/AppSimpleVanillaJs.js:153
↓ 1 callers
Method
stopCamera
()
src/demo/AppReact.js:31
Method
FACING_MODES
()
src/lib/CameraPhoto/MediaServices/MediaServices.js:162
Method
IMAGE_TYPES
()
src/lib/CameraPhoto/MediaServices/MediaServices.js:166
Function
before
(app)
config/webpackDevServer.config.js:89
Method
componentDidMount
()
src/demo/AppReact.js:11
Method
constructor
(videoElement)
src/lib/CameraPhoto/CameraPhoto.js:12
Method
constructor
(props, context)
src/demo/AppReact.js:6
Function
createWebpackConfig
(options)
config/webpack.config.browser.js:5
Function
displayVideoDimensions
()
others/snippets/resolutionScan.js:215
Function
errorCallback
(error)
others/snippets/resolutionScan.js:49
Function
exportTableToCSV
($table, filename)
others/snippets/resolutionScan.js:445
Function
getCacheKey
()
config/jest/cssTransform.js:10
Method
getDataUri
(userConfig)
src/lib/CameraPhoto/CameraPhoto.js:171
Method
getDataUri
(videoElement, config)
src/lib/CameraPhoto/MediaServices/MediaServices.js:11
Function
gotDevices
(deviceInfos)
others/snippets/resolutionScan.js:33
Function
gotStream
(mediaStream)
others/snippets/resolutionScan.js:201
Function
isIOS
()
others/snippets/detectIos.js:3
Function
isIpadOS
()
others/snippets/detectIos.js:13
Method
isSupportedFacingMode
()
src/lib/CameraPhoto/MediaServices/MediaServices.js:74
Function
logger
(message)
config/webpack.config.html.prod.js:305
Function
process
()
config/jest/cssTransform.js:7
Function
process
(src, filename)
config/jest/fileTransform.js:9
Method
render
()
src/demo/AppReact.js:41
Function
showDebugPlatformInfo
()
src/demo/AppSimpleVanillaJs.js:180
Function
showSwitchCameraButtons
()
src/demo/AppSimpleVanillaJs.js:111
Method
startCamera
(idealCameraDevice, idealResolution)
src/lib/CameraPhoto/CameraPhoto.js:148
Function
startCameraDefaultAll
()
src/demo/AppSimpleVanillaJs.js:33
Function
startCameraDefaultResolution
()
src/demo/AppSimpleVanillaJs.js:47
Function
startCameraMaxResolution
()
src/demo/AppSimpleVanillaJs.js:166
Function
stopCamera
()
src/demo/AppSimpleVanillaJs.js:143
Function
takePhoto
()
src/demo/AppSimpleVanillaJs.js:62
Function
takePhotoAndDownload
()
src/demo/AppSimpleVanillaJs.js:77