One-Way Communication(live stream)
Chat application but it’s a one way messaging system
This is blog explain how to steaming the message using redis. The Redis is a python library to streaming message with publisher and subscriber. This is a one way chat, don’t have the reply option in this application.
Sender only send a message to receiver and it’s doesn’t receive a message from any receiver.
Receiver only receive a message and it’s doesn’t send a message to any sender.
Full source code GitHub link is here.
Instructions of the setup:
Installing Steps:
sudo apt-get install redis-server
pip install redis
pip install flask
pip install flask_cors
Running Steps:
Clone the repository from my github.
git clone https://github.com/ManivannanMurugavel/live-streaming-oneway-communication.git
Go to the live-streaming-oneway-communication directory
python app.py
Open the browser and the url
http://localhost/live-streaming-oneway-communication
Create a new sender and receiver and send the message
Demo video:
Do you have any questions or queries, comment it below.