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.4.0.tar.gz
(32.3 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.4.0.tar.gz.
File metadata
- Download URL: pymediasoup-1.4.0.tar.gz
- Upload date:
- Size: 32.3 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 |
cc5e59c26d921814dbe04788b2a19f2608c92379a87a702140d620594fd9b8de
|
|
| MD5 |
21f08e197c163e7b52878e12d0debc53
|
|
| BLAKE2b-256 |
4b21ff3948070fc52119d7c27a87f4ad32b3d3d470bda30d155e53fb1dd0d937
|
File details
Details for the file pymediasoup-1.4.0-py3-none-any.whl.
File metadata
- Download URL: pymediasoup-1.4.0-py3-none-any.whl
- Upload date:
- Size: 43.5 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 |
a0a8ad778589c69161bbb42f9ad033b3c368b955ca2bb54be939dd52781d6eae
|
|
| MD5 |
1ac515c39be92db8030fd02f0001c2b9
|
|
| BLAKE2b-256 |
8d2314ceb97f479dbe708ef08f9c31fc0de78aa00af3fa6b37ee1b9fcfd23290
|