A python client for Kurento Media Streamer
CONTENTS
SETUP
- Install Kurento
sudo docker run --name kms -d -p 8888:8888 kurento/kurento-media-server
- Install pyforkurento
pip install pyforkurento
- pyforkurento runs as an application server. You'll need to install relevant packages for the web or mobile client
For Node, Angular etc:
npm install kurento-utils
TODO: For vanilla Javascript:
[Optional] To use GStreamer filters:
sudo apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
[Optional] To develop custom filters:
sudo apt-get update && sudo apt-get install --yes kurento-media-server-dev
If you get the error: Unable to locate package kurento-media-server-dev try:
- Paste this link (https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/Kurento/kurento-media-server/tree/master/scaffold) to your browser
- Extract the downloaded folder to a location of choice
cdinto that folder then test using:
sh kurento-module-scaffold.sh TestKMSFilter ../custom_kurento_module opencv_filter
This SDK is not yet 'prod-ready' and was inspired by this abandoned project
SAMPLE USAGE
Before you start using pyforkurento and have a pretty good understanding of KMS, go through this refresher first
Read the complete documentation here: https://pyforkurento.readthedocs.io/en/latest/
CHANGELOG
This changelog loosely follows semantic versioning
0.1.7 5th Mar 2020
Improved
- Streaming speeds by reducing player endpoint latency
0.1.6 18th Feb 2020
Changed
create_endpoint()toadd_endpoint()
0.1.5 14th Feb 2020
Improved
- Documentation significantly, and hosted on readthedocs
0.1.4 13th Feb 2020
Improved
- Addition of event listeners to media elements
0.1.3 12th Feb 2020
Improved
- Creation of media elements in a media pipeline
Fixed
- Class inheritance structure
Added
- ImageOverlayFilter
0.0.2 5th Feb 2020
Fixed
- Class method parameters error
0.0.2 5th Feb 2020
Fixed
- Import error
0.0.1 5th Feb 2020
- Released a very basic version of the project under the name 'pyforkurento' with only the capability to:
- Create:
- Media Pipelines
- Player Endpoints
- WebRTC Endpoints
- Subscribe to ICE candidates events on a WebRTC Endpoint
- Create:
Metadata
Release files for pyforkurento 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyforkurento-0.1.7.tar.gz | 11.0 kB | Without provenance | Details for pyforkurento-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyforkurento-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for pyforkurento-0.1.7-py3-none-any.whl |
Total release size: 25.4 kB
Release files / pyforkurento-0.1.7.tar.gz
| Download URL | pyforkurento-0.1.7.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1a9757bd3e8bbdf0a4257146bb69df14e1f82227d2b863af41ede44300d4a77
|
|
BLAKE2b-256 checksum How to use checksums |
ef168955d9e066bd9f56bdb8286dfee076d5707aa916b63035428406cc90c33e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.9
|
Release files / pyforkurento-0.1.7-py3-none-any.whl
| Download URL | pyforkurento-0.1.7-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c05052df7e2278f719f3b9f9cb7a48616f5d1371f2519eee2f9669a392d4587b
|
|
BLAKE2b-256 checksum How to use checksums |
cbb52d2a841f8cbacca2f637aceec5935478e880c68b6090070a04d2d9b5a943
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.9
|
Security for pyforkurento 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.