Skip to main content

lightweight python interface for generating rtp streams using vpx codecs

Project description

vpx-rtp-py

PyPI version

a creatively named python library for encoding/decoding video rtp streams using cffi bindings to libvpx, loosely forked / slimmed down from aiortc.

narrowly constructed for the use cases of Tutor Intelligence, but feel free to post an issue or PR if relevant to you.

install steps

be sure you have libvpx installed on your computer, otherwise vpx-rtp-py will not work (even if installed via pip). to do so:

# ubuntu
sudo apt install libvpx-dev
# mac
brew install libvpx

then install via pypi:

pip install vpx-rtp-py

limitations

  • does not really support RTCP or anything special/bidirectional (eg packet loss acknowledgement, retransmission packets)
  • does not support SSL
  • only supports vp8 and vp9 video encoding
  • pypi pre-built wheels only support linux + x86_64 + python 3.10. if you want to add support for other platforms, feel free to update our cd.yml in a PR.

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

vpx_rtp_py-0.4.0.tar.gz (14.3 kB view hashes)

Uploaded Source

Built Distribution

vpx_rtp_py-0.4.0-cp310-cp310-manylinux_2_35_x86_64.whl (93.2 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.35+ x86-64

Supported by

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