PyMediasoup
mediasoup python client
Install
pip3 install pymediasoup
Development
Use uv for local development and CI parity.
uv sync --group dev
uv run flake8 . --exclude=.venv,.git,__pycache__ --count --select=E9,F63,F7,F82 --show-source --statistics
uv run flake8 . --exclude=.venv,.git,__pycache__ --count --exit-zero --max-complexity=24 --max-line-length=127 --statistics
uv run python -m unittest
Build and publish:
uv build
uv publish
Usage
PyMediasoup API design is similar to the official mediasoup-client
from pymediasoup import Device
from pymediasoup import AiortcHandler
# Create a device
# In order to generate the correct parameters, here should contain all the tracks you want to use
tracks = []
device = Device(handlerFactory=AiortcHandler.createFactory(tracks=tracks))
LICENSE
MIT
Metadata
Release files for pymediasoup 1.5.0
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 | |
|---|---|---|---|---|
| pymediasoup-1.5.0.tar.gz | 32.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pymediasoup-1.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 75.5 kB
Release files / pymediasoup-1.5.0.tar.gz
| Download URL | pymediasoup-1.5.0.tar.gz |
|---|---|
| Size | 32.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84ed013c12c3692d7229181319659a726f8ba7aa184c79f0e0f9b38ea24d70dd
|
|
BLAKE2b-256 checksum How to use checksums |
8db816e832de4e434a7cd04c3238c34122382e5fdb8ce6ced65ecf2f73f010cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pymediasoup-1.5.0-py3-none-any.whl
| Download URL | pymediasoup-1.5.0-py3-none-any.whl |
|---|---|
| Size | 43.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f363e291b60181226554fd4b6bb700b9eb631d48573bfe3d1de1e1fec9510a4
|
|
BLAKE2b-256 checksum How to use checksums |
af55a42449cc6966064cd67c2fea937dc64f9b5efdb1f39ea1ea3a5d6ed9752c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for pymediasoup 1.5.0
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.