Skip to content

lightweight python interface for generating rtp streams using vpx codecs

License

Notifications You must be signed in to change notification settings

tutorintelligence/vpx-rtp-py

Repository files navigation

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.

About

lightweight python interface for generating rtp streams using vpx codecs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages