项目作者: whiteRa2bit

项目描述 :
Client-server sockets voice chat
高级语言: Python
项目地址: git://github.com/whiteRa2bit/voicechat.git
创建时间: 2021-04-03T13:07:14Z
项目社区:https://github.com/whiteRa2bit/voicechat

开源协议:

下载



Table of Contents




  1. About The Project


  2. Getting Started

  3. Usage

  4. Docs

  5. License

  6. Contact


About The Project

Client-server sockets voice chat

Getting Started

To get a local copy up and running follow these simple steps.

Installation

  • Local

    1. Clone the repo
      1. git clone https://github.com/whiteRa2bit/voicechat
    2. Create venv
      1. python3 -m venv venv
      2. . venv/bin/activate
    3. Install requirements
      1. pip3 install -r requirements.txt
  • Docker

    You can either build an image yourself or pull a ready one from Dockerhub

    • Build

      1. docker build -t whitera2bit/voicechat . -f dockerfiles/Dockerfile
    • Pull from Dockerhub

      1. docker pull whitera2bit/voicechat

Usage

First run server

  • If you used local setup:

    1. python server.py
  • If you used docker:

    1. docker run --name voicechat -t whitera2bit/voicechat /bin/bash
    2. python server.py

Then you can connect to a running server using:

  • If you used local setup:

    1. python client.py
  • If you used docker:

    1. docker exec -it voicechat /bin/bash
    2. python client.py

You will be asked to enter IP address and port of the running server

Docs

Task description at docs/task.pdf

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Pavel Fakanov - pavel.fakanov@gmail.com

Project Link: https://github.com/whiteRa2bit/voicechat