I'm glad you're exploring how to stream audio into a LiveKit room! LiveKit supports audio streaming via Ingress, which can accept input from RTMP, WHIP, SRT, or media files served over HTTP. If your tool, BUTT (Broadcast Using This Tool), supports custom RTMP destinations, you can definitely use it to stream audio to a LiveKit room by setting it up to send the stream to a LiveKit Ingress endpoint.
Here’s a simple way to get started:
1. Create an Ingress in LiveKit using the API or SDK to get an RTMP URL and stream key.
2. Set up BUTT to broadcast to this RTMP endpoint using the URL and key you received.
If it turns out that BUTT doesn’t support RTMP output, no worries! You might consider using a relay tool like FFmpeg to convert your stream to RTMP so LiveKit can ingest it smoothly.
Could you please let me know if BUTT allows you to configure a custom RTMP server and stream key? That way, I can guide you through the exact setup you’ll need. I’m here to help every step of the way!
Sources:
Stream import | LiveKit docs |
Encoder configuration | LiveKit docs |
Stream music over WebRTC using React and WebAudio