Code Monkey home page Code Monkey logo

Comments (9)

fippo avatar fippo commented on May 9, 2024

easy optimization: if the focus leaves and you're the only person remaining in the chat, you become the focus.

from jitsi-meet.

fippo avatar fippo commented on May 9, 2024

that optimization probably means you can just reuse the list_members from the muc module.

from jitsi-meet.

emcho avatar emcho commented on May 9, 2024

so just writing down what i had in mind:

  1. Upon entry every person checks if there are other participants there before him.
  2. If !1 they become focus
  3. If 1 they just become a participant but they also somehow record the number of people that were there before them.
  4. Everytime someone leaves they check if that participant was there before them and if so they remove it from the list recorded in 3 and go back to one.

If list_members records things in order of joining and is guaranteed to be the same for everyone, then the members preceding a participant in there can be used as the list from "3".

from jitsi-meet.

fippo avatar fippo commented on May 9, 2024

it's easier. You become the new focus if you're list_members[0]. Oh well, i don't think we record self-presence in list_members yet... mh!

from jitsi-meet.

fippo avatar fippo commented on May 9, 2024

just committed said strategy, thanks @emcho for the suggestion. We just need a little information message for the user now... @yanas?

from jitsi-meet.

emcho avatar emcho commented on May 9, 2024

@fippo I was about to post the same comment :)

from jitsi-meet.

yanas avatar yanas commented on May 9, 2024

Sure, I'll take care of the message.

from jitsi-meet.

fippo avatar fippo commented on May 9, 2024

Didn't we fix this? At least I haven't heard any complaints.

from jitsi-meet.

fippo avatar fippo commented on May 9, 2024

ah, we fixed that long ago. Let's close it.

from jitsi-meet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.