Skip to main content

No project description provided

Project description

streamlit-webrtc

Tests Frontend Tests

PyPI PyPI - Python Version PyPI - License PyPI - Downloads

GitHub Sponsors

Buy Me A Coffee

Demo movie

Example Open in Streamlit

You can try out the sample app using the following commands.

$ pip install streamlit-webrtc opencv-python-headless matplotlib pydub
$ streamlit run https://raw.githubusercontent.com/whitphx/streamlit-webrtc-example/main/app.py

You can also try it out on Streamlit Sharing.

The deployment of this sample app is managed in this repository: https://github.com/whitphx/streamlit-webrtc-example/.

API

Currently there is no documentation about the interface. See the example app.py for the usage. The API is not finalized yet and can be changed without backward compatiblity in the future releases until v1.0.

For users since versions <0.20

VideoTransformerBase and its transform method have been marked as deprecated in v0.20.0. Please use VideoProcessorBase#recv() instead. Note that the signature of the recv method is different from the transform in that the recv has to return an instance of av.VideoFrame or av.AudioFrame. See the samples in app.py.

Resources

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

streamlit-webrtc-0.27.0.tar.gz (867.7 kB view details)

Uploaded Source

Built Distribution

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

streamlit_webrtc-0.27.0-py3-none-any.whl (880.0 kB view details)

Uploaded Python 3

File details

Details for the file streamlit-webrtc-0.27.0.tar.gz.

File metadata

  • Download URL: streamlit-webrtc-0.27.0.tar.gz
  • Upload date:
  • Size: 867.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.8.11 Linux/5.8.0-1039-azure

File hashes

Hashes for streamlit-webrtc-0.27.0.tar.gz
Algorithm Hash digest
SHA256 d4684fd65679f86007f0ff99436e93a36efefaf47038744fc03a18cf25655f56
MD5 592d580f54ca52e7fb5ccd0fc5d38c17
BLAKE2b-256 af4e3e2d31702ca53975adff45af4888d6d82058fb9018cd9501d15de6767a3c

See more details on using hashes here.

File details

Details for the file streamlit_webrtc-0.27.0-py3-none-any.whl.

File metadata

  • Download URL: streamlit_webrtc-0.27.0-py3-none-any.whl
  • Upload date:
  • Size: 880.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.8 CPython/3.8.11 Linux/5.8.0-1039-azure

File hashes

Hashes for streamlit_webrtc-0.27.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c07779188a6ef3bd1be78502cc7fbedc04e4635c8a6a0a95d70598b2843cba75
MD5 4231424300101ad6fc62c655d9f8bf23
BLAKE2b-256 10f2b8ab4c2bfdd9c2df325a8549047a15a28e62a570b9d5fd5f10e584fbe08e

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