Demo Categories
The examples are organized into several categories:Audio Bots
Build voice-enabled applications with real-time audio processing:- Audio Examples: Send and receive RAW audio or WAV files
- Speech-to-Text: Integration with Google Cloud Speech and Deepgram
- Text-to-Speech: Generate voice from text using various TTS services
- PyAudio Integration: Work with real microphones and speakers
Video Applications
Create video experiences with custom rendering and processing:- GStreamer Media Player: Stream video files into meetings
- Object Detection: Real-time YOLO-based object detection
- GUI Applications: Native Gtk and Qt video renderers
- Image Streaming: Send static or dynamic images
Integrations
Connect Daily with popular services and frameworks:- OpenAI/DALL-E: Voice-to-image generation
- Deepgram: Advanced speech processing
- Google Cloud: Speech-to-Text and Text-to-Speech
- Flask/Celery: Multi-bot orchestration
Getting Started
Prerequisites
All demos are located in thedemos/ directory of the daily-python repository.
Setup
- Create a virtual environment (recommended):
- Install dependencies:
- Install daily-python:
The
daily-python package is not included in requirements.txt and must be installed separately.System Dependencies
Some demos require additional system libraries:- PyAudio: Requires the
portaudiolibrary - GStreamer: Requires GStreamer development libraries
- Gtk/Qt: Requires respective GUI toolkit libraries
requirements.txt if you don’t need those specific demos.
Running Demos
Each demo includes usage instructions in its header comments. Most demos follow this pattern:Example
Common Patterns
All demos demonstrate these core concepts:- Initialization: Calling
Daily.init()before using the SDK - Virtual Devices: Creating virtual microphones, speakers, and cameras
- Client Setup: Configuring and joining meetings with
CallClient - Event Handling: Using callbacks and event handlers for asynchronous operations
- Cleanup: Properly leaving meetings and releasing resources
Next Steps
- Browse Audio Bot Examples for voice applications
- Explore Video Applications for video streaming
- Check out Integration Examples for third-party services
- View the full source code on GitHub