Skip to content

A web application for streaming RTSP protocol on web browsers since direct RTSP streaming is not supported by browsers.

Notifications You must be signed in to change notification settings

codespirit7/rtsp-streaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Stream your rtsp stream on web browsers

Demonstration of setting up and running the project locally.

https://drive.google.com/file/d/1cRA0qPn6CAOlZtmRYcLemWf6Cj48qX9a/view?usp=sharing

Setting the project on local Machine.

  1. Cloning the git repo
git clone [email protected]:codespirit7/rtsp-streaming.git
  1. Change the directory to rtsp-streaming
cd rtsp-streaming
  1. Starting the flask server
#change the directory to my-env
cd my-env

#acivate the virtual environment
source "/path-to-present-working-directory/bin/activate"

#Now you will see (my-env) before the cmd path, stating you have activated the virtual environment

# installing all the dependecies
pip install -r requirements.txt

# configure the mongodb atlas url in app.py file, you can get your mongodb atlas url from https://www.mongodb.com/cloud
CONNECTION_STRING = "mongodb+srv://<username>:<password>@cluster0.wvcngti.mongodb.net/?retryWrites=true&w=majority"

# One more last thing , you have to create a "streamOutput" folder
mkdir streamOutput

#start the server
python3 app.py

# server will be running on  http://127.0.0.1:5000

  1. Starting the React server
#change the directory to client
cd client

# installing dependcies for the react
npm install

# start the server
npm run dev

# access the webpage on  http://localhost:5173/

About

A web application for streaming RTSP protocol on web browsers since direct RTSP streaming is not supported by browsers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published