jiti-meet/react/features/base/participants
Saúl Ibarra Corretgé 122ebe48c7 [RN] Cache avatars and provide a default in case load fails
Avatars are cached to the filesystem and loaded from there when requested again.
The cache is cleaned after a conference ends and on application startup
(defensive move).

In addition, implement a fully local avatar system, which is used as a fallback
when loading a remote avatar fails. It can also be forced using a prop.

The fully local avatars use a user icon as a mask and apply a background color
qhich is picked by hashing the URI passed to the avatar. If no URI is passed a
random color is chosen.

A grace period of 1 second is also implemented so a default local avatar will be
rendered if an Avatar component is mounted but has no URI. If a URI is specified
later on, it will be loaded and displayed. In case loading the remote avatar
fails, the locally generated one will be used.
2017-08-03 13:45:41 -05:00
..
components [RN] Cache avatars and provide a default in case load fails 2017-08-03 13:45:41 -05:00
actionTypes.js feat(display-name): convert to React (#1672) 2017-06-28 22:35:43 -05:00
actions.js feat(presence): display status in thumbnail and large video (#1828) 2017-07-31 18:33:22 -05:00
constants.js feat(display-name): convert to React (#1672) 2017-06-28 22:35:43 -05:00
functions.js Move ConferenceUrl.inviteURL into React and redux 2017-06-01 21:04:31 -05:00
index.js ref(avatar): Move Avatar and Participant view to base/participants 2017-03-02 16:57:43 -06:00
middleware.js feat(display-name): convert to React (#1672) 2017-06-28 22:35:43 -05:00
reducer.js Simplify, comply w/ coding style 2017-04-22 17:57:08 -05:00