Client-server sockets voice chat
Client-server sockets voice chat
To get a local copy up and running follow these simple steps.
Local
git clone https://github.com/whiteRa2bit/voicechat
python3 -m venv venv
. venv/bin/activate
pip3 install -r requirements.txt
Docker
You can either build an image yourself or pull a ready one from Dockerhub
Build
docker build -t whitera2bit/voicechat . -f dockerfiles/Dockerfile
Pull from Dockerhub
docker pull whitera2bit/voicechat
First run server
If you used local setup:
python server.py
If you used docker:
docker run --name voicechat -t whitera2bit/voicechat /bin/bash
python server.py
Then you can connect to a running server using:
If you used local setup:
python client.py
If you used docker:
docker exec -it voicechat /bin/bash
python client.py
You will be asked to enter IP address and port of the running server
Task description at docs/task.pdf
Distributed under the MIT License. See LICENSE
for more information.
Pavel Fakanov - pavel.fakanov@gmail.com
Project Link: https://github.com/whiteRa2bit/voicechat