Coder Social home page Coder Social logo

web's People

Contributors

akrilla avatar atn avatar aznmandown avatar darnfish avatar dependabot-preview[bot] avatar dependabot[bot] avatar fossabot avatar imgbot[bot] avatar jedayoshi avatar lnneth avatar minkintn avatar nootthepenguin avatar pantotone avatar plusreed avatar simonx22 avatar soliel avatar theessem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

web's Issues

User hover title is inaccurate

The message shown in the user hover title is inaccurate based on the actual state of the user. See below for examples.

This user does not currently have the controller
Screenshot 2019-10-18 at 22 55 16

I cannot currently steal the controller
Screenshot 2019-10-18 at 22 55 12

The computed property that shows this is located here.

If room is deleted, people that aren't on it don't get removed

Basically, I joined with two accounts. In one of them, I went back to /home, with its controls.

With my main account, I deleted the room, and it was normal, but in the other account, which was in /home...

not okay!
this doesn't gets updated, even if you join (which will tell you it doesn't exists) and going back. also gets stuck leaving the room:
F
not catching it..

Refreshing fixes it, but is not the correct behaviour.

Portal animation not working

The fancy animation when a VM is running is no longer working. All I see is this even though the VM is running:

image

JSmpeg leaks when not being able to connect

Those screenshots should explain themselves.

with only Cryb open
it even froze developer tools with the flooding...

Seems to be spawning it indefinitely, and failing to connect anywhere, without even cleaning correctly.

Destroying the past object and also adding ratelimits for connections would help on this.

Basic way of getting this: Stop all of Cryb while you're already using a VM in a room.

Special Keys are mapped after US-Keyboard

I'm from germany and have a german keyboard. However, the VM only get's the keycode and has to figure out the input itself and thus special characters that the US Keyboard doesn't have don't work (ÄÖÜ) and all the special characters like @%&/... are mapped to different keys.
Because of this, you also can't paste stuff into the VM. Which might be crucial for some to log in.

My idea would be to handle the input on the client and only send the parsed input (the actual letters or symbols) to the VM.

Localisation

I think we should work on trying to move all public strings to a directory, maybe l18n/en_US.json that contains all strings that are displayed to the client, so we can work on localisation for users in different languages, etc. Thoughts?

JSMpeg takes data as "garbage" with audio

vendors.app.js:606 warn JSMpeg: Possible garbage data. Skipping.
value @ vendors.app.js:606
vendors.app.js:606 warn JSMpeg: Possible garbage data. Skipping.
value @ vendors.app.js:606
wasm-0002793e:22 Uncaught RuntimeError: memory access out of bounds
    at wasm-function[21]:0x121f
    at wasm-function[20]:0xee4
    at wasm-function[19]:0xdbb
    at wasm-function[18]:0xccb
    at MPEG1WASM.decode (https://cryb.app/js/jsmpeg.min.js:3:20525)
    at Player.updateForStreaming (https://cryb.app/js/jsmpeg.min.js:1:8886)
    at Player.update (https://cryb.app/js/jsmpeg.min.js:1:8758)

Pretty much of this - and might be the cause of audio choking.

User icons appear twice

In some cases the user icon for a user appears twice. Unknown if this occurs for just the client or everyone in the room, or if the clients icon can only be shown twice or anyones icon can appear twice.

image

Add information/animation if stream is currently not up

As of right now, if stream is not happening, all you'll get is a white box. A way of detecting if JSMpeg is decoding stuff or not, and then add an animation such as Loading, or information to hang on or report an issue, could be done for this.

Invite only

I think it's a good idea if there would be a mode where it's invite only for private instances

Dark favicon

By default, the favicon is black which means that it's pretty much invisible if you have dark mode enabled on Google Chrome and other browsers. One solution would be to either change the favicon's color to white or add a white shape around the icon. Google for example is doing that.

image

Emoji support

Something like Discord and other platforms have. For example, typing :tada: would bring up this emoji: 🎉

Correctly dispose of JWT after they have expired.

When a VM fails for some reason and a user gets disconnected and reconnected to aperture. The browser continues making requests to connect with ALL JWT tokens it has received during the time it's been open.

Refreshing the tab sometimes breaks the video player

If I refresh the tab with an active VM I sometimes get this issue:

image

And all I'm able to see is this:

image

Even though the VM is up and running. The only solution is to go back to /home and return to the room from there.

JSMpeg randomly fails

This happens sometimes. All I'm able to see is a white screen. Restarting the VM fixes this issue.
image

Room aren't synced

Seems to be an issue with WebSockets. No new chat messages, people entering the room, or the state of the VM spinning up.

If jsmpeg etc. hasn't loaded, viewer will try to use it and then crash

If for example, we've not used Cryb before, and get invited to a room and we're joining, and jsmpeg.min.js hasn't loaded, it will try to use it anyway and then crash as JSMpeg is not defined.

In any case, and to prevent more issues, we should wait until all resources have been loaded in order to start stuff.

Handle better failures in general

On logging, this would lead to a blank page without any error:

Also I think we should define better errors as of like, why authentication api-side fails.

Dark mode support

Dark mode support for other pages would be nice. We can use the prefers-color-scheme CSS feature. I'm interested to work on this so I'll see what I can do later

Move config/brand.js to .env.example

Like the title is saying, it would be good to move the brand stuff to .env.example so users can simply tpye git pull to get the newest changes without any errors due to local changes.

Make a invite button in the menu

If someone joined the room, the invite at the bottom disappears. I think it would be nice to have a button that will copy the link in the menu in case you need the link again.
image

Ability to close a room

The host should have the ability to close the room and kick everyone out. Right now, the host can only leave it and the other people will still be inside the room.

Logout not working

If you try to logout, nothing will happen - more like, it'll raise an error.

Smaller player sizes does not take up full size

It'd be better if smaller player sizes, such as 640x480 took up the full height and/or width based on the browser size of the player area. See below for an example of what the player currently looks like now at 640x480 👇

image

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.