Skip to content

Commit

Permalink
fix(arena-user): add missing hasAvatar field for outside accessors
Browse files Browse the repository at this point in the history
  • Loading branch information
mwfarb committed Oct 21, 2024
1 parent 3484df0 commit 56cf44f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/camera/arena-user.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ async function enableChromeAEC(gainNode, spatialAudioOn) {
* @property {string} [displayName] - User display name.
* @property {boolean} [hasAudio=false] - Whether the user has audio on.
* @property {boolean} [hasVideo=false] - Whether the user has video on.
* @property {boolean} [hasAvatar=false] - Whether the user has face tracking on.
*
*/
AFRAME.registerComponent('arena-user', {
Expand All @@ -101,6 +102,7 @@ AFRAME.registerComponent('arena-user', {
displayName: { type: 'string', default: '' },
hasAudio: { type: 'boolean', default: false },
hasVideo: { type: 'boolean', default: false },
hasAvatar: { type: 'boolean', default: false },
jitsiQuality: { type: 'number', default: 100.0 },
resolution: { type: 'number', default: 180 },
pano: { type: 'boolean', default: false },
Expand Down

0 comments on commit 56cf44f

Please sign in to comment.