mediasoup python client
Project description
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
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 Distribution
pymediasoup-1.5.0.tar.gz
(32.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pymediasoup-1.5.0.tar.gz.
File metadata
- Download URL: pymediasoup-1.5.0.tar.gz
- Upload date:
- Size: 32.1 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84ed013c12c3692d7229181319659a726f8ba7aa184c79f0e0f9b38ea24d70dd
|
|
| MD5 |
b66b0d07595cc24c991e8eb7ecce85c3
|
|
| BLAKE2b-256 |
8db816e832de4e434a7cd04c3238c34122382e5fdb8ce6ced65ecf2f73f010cb
|
File details
Details for the file pymediasoup-1.5.0-py3-none-any.whl.
File metadata
- Download URL: pymediasoup-1.5.0-py3-none-any.whl
- Upload date:
- Size: 43.4 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f363e291b60181226554fd4b6bb700b9eb631d48573bfe3d1de1e1fec9510a4
|
|
| MD5 |
772d4cbbf836b1a00ce6bf648709e897
|
|
| BLAKE2b-256 |
af55a42449cc6966064cd67c2fea937dc64f9b5efdb1f39ea1ea3a5d6ed9752c
|