Client-server sockets voice chat
To get a local copy up and running follow these simple steps.
-
Local
- Clone the repo
git clone https://github.com/whiteRa2bit/voicechat
- Create venv
python3 -m venv venv . venv/bin/activate
- Install requirements
pip3 install -r requirements.txt
- Clone the repo
-
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