29 lines
443 B
JavaScript
29 lines
443 B
JavaScript
/**
|
|
* The set of facing modes for camera.
|
|
*
|
|
* @enum {string}
|
|
*/
|
|
export const CAMERA_FACING_MODE = {
|
|
ENVIRONMENT: 'environment',
|
|
USER: 'user'
|
|
};
|
|
|
|
/**
|
|
* The set of media types for a track.
|
|
*
|
|
* @enum {string}
|
|
*/
|
|
export const MEDIA_TYPE = {
|
|
AUDIO: 'audio',
|
|
VIDEO: 'video'
|
|
};
|
|
|
|
/**
|
|
* The set of video types for a video track.
|
|
* @enum {string}
|
|
*/
|
|
export const VIDEO_TYPE = {
|
|
CAMERA: 'camera',
|
|
DESKTOP: 'desktop'
|
|
};
|