Skip to main content

Unofficial Python wrapper of MediaMTX

Project description

MediaMTX-py

This is an unofficial Python wrapper for MediaMTX

How to use

Execute pip install git+https://github.com/yt-koike/MediaMTX-py to install this package.

After installation, you can use MediaMTX like as follows.

from mediamtx import MediaMTX
mtx = MediaMTX() # In __init__(), the MediaMTX binary will be downloaded
yaml = mtx.get_yaml() # Get mediamtx.yml
yaml["paths"][name] = {"source": url}
mtx.set_yaml(yaml) # Set mediamtx.yml
mtx.start() # Start MediaMTX on another thread
mtx.stop() # Stop the MediaMTX on the thread

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

mediamtx_py-0.0.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file mediamtx_py-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: mediamtx_py-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for mediamtx_py-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 83dba2f27866255d88e8471db33b37c9eab893dded7f3031c03107b3d5e7b165
MD5 225c4a7010fb13ccbfab301eca78520b
BLAKE2b-256 ae5fd11ce8dd8f062b0c212851fc0d488a1d43926b0eb93bc9ae142e39031682

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