Developed based on Python and PyQt5, a fancy P2P online chat application.
Author: Zhaoxi Chen
Features:
- TCP Socket
- Sign in & Sign out
- Contacts
- Text messaging
- Friendly UI
- Media Call
- Threads management based on router-like producer-consumer mode
See report.pdf Latex source code at report.tex
- To central server connectiontool.py
- Basic listening socket listener.py
- Basic sending socket sender.py
- Thread manager router.py
- Main thread user.py
- Media sender clientMedia.py
- Media listener serverMedia.py
- Protocol data_type.py
- UI mainwindow.py
- Entrance main.py
Ubuntu 18.04 LTS
not support python2.
(sudo) pip3 install pyinstaller
(sudo) pip3 install PyQt5
(sudo) apt-get install portaudio19-dev python3-pyaudio
(sudo) apt-get install python-opencv
Choose One way to run the application.
cd path-to-project
chmod +x ./dist/main
./dist/main
cd path-to-project
python3 main.py
pyinstaller -F main.py