|
Babel
1
The voip software that only works on your local network
|
This is the epitech r-type catch up project called babel responsible for allowing two clients to speak to one another.
Install the required dependencies.
Clone the repository.
Run the RUN_ME.sh script to compile the program
babel_client binary will be located in the build directory as well as in the same folder from which you ran the RUN_ME.sh script.Install the required dependencies using Homebrew.
Clone the repository.
Run the RUN_ME.sh script to compile the program
babel_client binary will be located in the build directory as well as in the same folder from which you ran the RUN_ME.sh script.Install the required dependencies using vcpkg.
Clone the repository.
Create a build directory and navigate into it.
Run CMake to configure the project and generate the Visual Studio solution.
epitech-ratrappage-babel.sln) in Visual Studio.Build > Build Solution from the menu.babel_client.exe binary will be located in the build directory.Navigate to the directory containing the babel_client binary.
Run the program with the desired options.
Navigate to the directory containing the babel_client binary.
Run the program with the desired options.
Navigate to the directory containing the babel_client binary.
Run the program with the desired options.
-p <port>: Set the port to connect to (default: 9000).-i <ip>: Set the IP to connect to (default: 0.0.0.0).-r: Set the client to receiver mode.-s: Set the client to sender mode.-d: Enable debug mode.-l: Enable log mode.-m <maxRounds>: Set the maximum number of rounds, 0 = endless.-e: Enable echo mode for the user prompt.-a: Display all boot screens.-h, --help: Display the help message.-mono: Set the program to mono mode.-so: Set the program to sender only mode.-ro: Set the program to receiver only mode.-v: Display the program's version.--packet-delay, -pd, -packet-delay, --pd, -packetdelay, --packetdelay: Set the delay between packets in milliseconds.To start the program as a sender on port 9000 with IP 127.0.0.1:
To start the program as a receiver on the same port and ip (in another terminal instance):
Once both instances are running, you should be able to hear the audio being picked up by your computer's mic come out of your computers speakers with a slight delay (due to it being recorded, encoded, sent, received, decoded, played in real time).
If you wish to visualise the data being sent in between the programs, you can add the -l -d flags, you will not be able to obtain sound that will bedicernable (due to the lag induced by the logger), but you will be able to visualise the raw data being exchanged between both clients.