Description
streamlit-webrtc is a Streamlit component for real-time video and audio streams. It lets you build Python apps that process a live camera or microphone feed in the browser, for example object detection, OpenCV filters, one-way video streaming and audio processing. The README's examples include real-time speech-to-text, which it says is self-contained and needs no external API, real-time video style transfer, and a pose-estimation demo that uses MediaPipe. It notes that video chat apps can be made in about 100 lines of Python, although there is no online demo for that one. The quick tutorial creates an app.py file that calls webrtc_streamer() with a unique key, then runs Streamlit and opens localhost:8501. Pressing START starts the stream, and the browser asks for camera and microphone permission. Camera and microphone toggle buttons appear beside Start and Stop, and you can hide them with media_toggle_controls=False. The repository also includes sample pages with a wide range of usage examples, and it is open source on GitHub.…
Highlights
- Real-time video and audio streams in Streamlit
- Object detection, OpenCV filter and style transfer examples
- Speech-to-text example with no external API
- Camera and microphone toggle controls
Ratings & Reviews
No ratings yet
Be the first to rate Streamlit Webrtc.
People also visit
Api.video-reactnative-live-stream
React Native RTMP live stream client. Made with by api.video
Electroncapture
Playback video in a frameless electron app for screen-sharing and window capture
Nightwatcher
Web-based IP camera viewer for fast, simple streaming in any browser
Streamlit Webrtc FAQ
What is streamlit-webrtc?
A Streamlit component for processing real-time video and audio from the browser in a Python app.
What do I need to try it?
Python and Streamlit, plus a browser that lets you allow camera and microphone access when you press START, as the tutorial describes.
Can it do speech-to-text?
Yes. The README's speech-to-text example converts your voice to text in real time and says it does not depend on any external API.
Can I hide the toggle buttons?
Yes. Set media_toggle_controls=False in webrtc_streamer() to remove the camera and microphone toggles.
What are the best Streamlit Webrtc alternatives?
Popular alternatives to Streamlit Webrtc include Api.video-reactnative-live-stream, TUIRoomKit and Electroncapture. See all Streamlit Webrtc alternatives




.png?auto=compress&fit=max&w=128)

