This message was deleted.
# ask-ai
s
This message was deleted.
t
Thanks for reaching out, Priyanshu. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hey there! Just wanted to share some details about the WebSocket stream from TrackEgress — it uses raw PCM data in this format: • Format:
pcm_s16le
(that's signed 16-bit little-endian PCM) • Content-Type:
audio/x-raw
Sample Rate: Usually 48kHz • Channels: 2 (stereo) If you want to decode this stream using ffmpeg, here’s the input command you’d use:
Copy code
ffmpeg -f s16le -ac 2 -ar 48000 -i pipe:0
These flags tell ffmpeg to expect raw PCM input with stereo sound at 48kHz. If you have any questions or need a hand with this, just let me know — I’m happy to help! Sources: Track Egress | LiveKit Docs | README.md | Universal Egress