Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
Change meetLowLevel architecture to be available outside template
Browse files Browse the repository at this point in the history
  • Loading branch information
alimtunc committed Jul 4, 2023
1 parent aa5468f commit da7cdba
Show file tree
Hide file tree
Showing 5 changed files with 284 additions and 292 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ module.exports = {
meet: 'writable',
meetLowLevel: 'writable',
meetHighLevel: 'writable',
jitsiMeetJS: 'writable',
zoneManager: 'writable',
notificationMessage: 'writable',
nippleManager: 'writable',
Expand Down
4 changes: 0 additions & 4 deletions core/client/lemverse.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,6 @@ Template.lemverse.onCreated(function () {
const meetingRoomService = meetingRoom.getMeetingRoomService()
if (user.profile.shareScreen) meetingRoomService.shareScreen()
else meetingRoomService.unshareScreen()
} else if (user.profile.shareScreen) {
await userStreams.createScreenStream()
userStreams.screen(true)
userProximitySensor.callProximityStartedForAllNearUsers()
} else {
userStreams.screen(false)
}
Expand Down
2 changes: 1 addition & 1 deletion core/client/user-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ userManager = {
this.controlledCharacter.running = hotkeys.isPressed('shift')
this.controlledCharacter.moveDirection = this.inputVector

if (meetLowLevel && !Session.get('menu')) {
if (jitsiMeetJS && !Session.get('menu')) {
const nearUsersCount = guestAllowed(permissionTypes.talkToUsers)
? userProximitySensor.nearUsersCount()
: userProximitySensor.nearNonGuestUsers().length
Expand Down
Loading

0 comments on commit da7cdba

Please sign in to comment.