Python module to, stream videos via authenticated sessions using FastAPI
Project description
Video Streaming
Video streaming using FastAPI
Env Variables
Mandatory
- USERNAME: Any username of choice.
- PASSWORD: Any password of choice.
- VIDEO_SOURCE: Source path for videos.
Optional
- IP_HOSTED: Boolean flag to specify if the API is hosted via public IP
- VIDEO_HOST: IP address to host the video. Defaults to
127.0.0.1
- VIDEO_PORT: Port number to host the application. Defaults to
8000
- WEBSITE: Website to add to CORS configuration.
- WORKERS: Number of workers to spin up the
uvicorn
server. Defaults to 1.
IP_HOSTED
is typically set toTrue
if port forwarding is used to expose the API- This will allow the application to host the API on local IP instead of
localhost
(ifVIDEO_HOST
isNone
)- This can also be done by specifying the local IP for the env var
VIDEO_HOST
manually
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for stream_localhost-0.0.0b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d97dd0933c6541c3108489616fe05800f4a8922258f6a326f7618c0ce045b85 |
|
MD5 | 3f0492980782cda22da23034aa5be088 |
|
BLAKE2b-256 | 2823be6161c221653d18b95214488847c2193d3d781dee3120b33606ba775d34 |