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.4.0.tar.gz (32.3 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.4.0-py3-none-any.whl (43.5 kB view details)

Uploaded Python 3

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

Hashes for pymediasoup-1.4.0.tar.gz
Algorithm Hash digest
SHA256 cc5e59c26d921814dbe04788b2a19f2608c92379a87a702140d620594fd9b8de
MD5 21f08e197c163e7b52878e12d0debc53
BLAKE2b-256 4b21ff3948070fc52119d7c27a87f4ad32b3d3d470bda30d155e53fb1dd0d937

See more details on using hashes here.

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

Hashes for pymediasoup-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a0a8ad778589c69161bbb42f9ad033b3c368b955ca2bb54be939dd52781d6eae
MD5 1ac515c39be92db8030fd02f0001c2b9
BLAKE2b-256 8d2314ceb97f479dbe708ef08f9c31fc0de78aa00af3fa6b37ee1b9fcfd23290

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