Giter Club home page Giter Club logo

Comments (7)

farao avatar farao commented on June 15, 2024 1

avatar is what I mean by "logo". In any case I think colors might help a lot. I just though that choosing a name makes the whole interface more complex (and we need to find space to display the name), that's why I suggested avatar+color.

from palava-web.

farao avatar farao commented on June 15, 2024

To draft a possible solution:

  1. implement a function that takes some "seed value" and based on that chooses a color and a logo (where to take the logos from would be part of this question). If logos are downloaded (and not generated) they would go into an own folder under src/assets/ I guess. This function could for now be added to src/components/Peer.vue.
  2. in src/components/Peer.vue, look how the other <button>s are implemented (those are the buttons that appear on the videos) and add one for the generated logo (using the function from 1. - maybe until now with a random seed or so).
  3. Research if we can get from the peerconnection the public key (I guess we can take it from "peerconnection.currentLocalDescription" (for the user) and "peerconnection.currentRemoteDescription" (for the other participants)). Then take the public key (or its hash) as the seed for the logo/color chooser.

from palava-web.

farao avatar farao commented on June 15, 2024

Maybe first it could be only a logo or only a color - then the probably not so easy step to apply a color to the logo would be out of the way

from palava-web.

thammi avatar thammi commented on June 15, 2024

Encryption keys are not persistent to prevent fingerprinting.

from palava-web.

farao avatar farao commented on June 15, 2024

Hm, ok, makes sense! I guess then we should probably use a hash of different information like the user agent. Or is it bad to allow users to recognise other people by this (e.g. if you chat 2 times with the same person/device) and we should just make it completely random?

from palava-web.

thammi avatar thammi commented on June 15, 2024

Fingerprinting without the direct knowledge of the user and the ability to circumvent doesn't seem right to me. We could store a random value in local storage to keep the identity (gives user the ability to clear it and interacts well with browsers private mode). This mechanismwould probably need a method to prevent spoofing of that value (can't just send that value directly as it could just be copied).

I personally would prefer not to include such a non-obvious way to track the user and user a random non-persistent seed or a name that can be changed by the user.

from palava-web.

janlelis avatar janlelis commented on June 15, 2024

Possible solutions are:

1. let a user choose a name (and probably generate one for those who don't choose one)

2. choose some other identifier - I propose to have a combination of a logo and a color.

I would also prefer option 1 for now, generate a random name. Could also be something more sophisticated, like a random avatar.

Also note, currently all peer colors are random for every participants, everyone sees different colors. We could implement a mechanism to map a specific colors to the peers. If we do so, this should be accompanied by a name or avatar, since relying only on colors is bad accessibility-wise.

from palava-web.

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.