"Fossies" - the Fresh Open Source Software Archive

Member "jitsi-meet-7309/react/features/face-landmarks/actionTypes.ts" (31 May 2023, 1083 Bytes) of package /linux/misc/jitsi-meet-7309.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) TypeScript source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /**
    2  * Redux action type dispatched in order to add real-time faceLandmarks to timeline.
    3  *
    4  * {
    5  *      type: ADD_FACE_LANDMARKS,
    6  *      faceLandmarks: FaceLandmarks
    7  * }
    8  */
    9 export const ADD_FACE_LANDMARKS = 'ADD_FACE_LANDMARKS';
   10 
   11 /**
   12  * Redux action type dispatched in order to clear the faceLandmarks buffer for webhook in the state.
   13  *
   14  * {
   15  *      type: CLEAR_FACE_LANDMARKS_BUFFER
   16  * }
   17 */
   18 export const CLEAR_FACE_LANDMARKS_BUFFER = 'CLEAR_FACE_LANDMARKS_BUFFER';
   19 
   20 /**
   21  * Redux action type dispatched in order to update coordinates of a detected face.
   22  *
   23  * {
   24  *      type: UPDATE_FACE_COORDINATES,
   25  *      faceBox: Object({ left, bottom, right, top }),
   26  *      participantId: string
   27  * }
   28  */
   29 export const UPDATE_FACE_COORDINATES = 'UPDATE_FACE_COORDINATES';
   30 
   31 /**
   32  * Redux action type dispatched in order to signal new face coordinates were obtained for the local participant.
   33  *
   34  * {
   35  *      type: NEW_FACE_COORDINATES,
   36  *      faceBox: Object({ left, bottom, right, top }),
   37  *      participantId: string
   38  * }
   39  */
   40  export const NEW_FACE_COORDINATES = 'NEW_FACE_COORDINATES';