Git Product home page Git Product logo

javavoicetextchatroom's Introduction

Hi there ๐Ÿ‘‹

javavoicetextchatroom's People

Contributors

haydencarlson avatar

Stargazers

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

Watchers

 avatar

Forkers

aiwongs sinoleu

javavoicetextchatroom's Issues

[Bug] Client who sent shouldn't receive

The client who's audio is transmitted shouldn't have their audio transmitted back to them.

Check if client connection ip == server client ip that packets get sent to.

Receive packets worker thread

Move logic for handling receive data into a worker thread. This free's up thread to receive new packets. Implement some sort of prepended identifier for handling different types of data.

Server logging

Add logs that write to disk for logging server output.

Refactor server

Refactor server to use thread for receiving multiple types of data.

Change username

Use TCP connection for changing username.
Broadcast changes to all clients

[Feature] Use one datagram socket for receiving

Right now there is a datagram socket on port 3000 for the initial packet that tells the server a new client has connected, and another socket on port 3001 for when audio gets sent.

Merge them into one socket, include meta data with each packet, and use case statement to handle how each meta data type is handled.

Example:

Initial client connection packet should include /c/
Then on the server if packet data contains /c/. Do new connection workflow...

Help

i need contact for you
thanks

Improve latency

As of testing there is about a 1-1.5 second delay from talking to hearing it out of speakers.

  • Look at modifying buffer size
  • Try to modify blocking code

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.