Skip to main content

mediasoup python client

Project description

PyMediasoup

Python Pypi License

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pymediasoup-1.5.0-py3-none-any.whl (43.4 kB view details)

Uploaded Python 3

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

Hashes for pymediasoup-1.5.0.tar.gz
Algorithm Hash digest
SHA256 84ed013c12c3692d7229181319659a726f8ba7aa184c79f0e0f9b38ea24d70dd
MD5 b66b0d07595cc24c991e8eb7ecce85c3
BLAKE2b-256 8db816e832de4e434a7cd04c3238c34122382e5fdb8ce6ced65ecf2f73f010cb

See more details on using hashes here.

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

Hashes for pymediasoup-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f363e291b60181226554fd4b6bb700b9eb631d48573bfe3d1de1e1fec9510a4
MD5 772d4cbbf836b1a00ce6bf648709e897
BLAKE2b-256 af55a42449cc6966064cd67c2fea937dc64f9b5efdb1f39ea1ea3a5d6ed9752c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page