What is the reason for the unsynchronized sound an...
# ask-ai
a
What is the reason for the unsynchronized sound and image in the room flow exported by egress
t
Thanks for reaching out, 徐旭. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Could you provide more details about the issue? For example: • Are you using a specific platform or setup for egress? • Does the issue occur consistently or only in certain scenarios? • What format or settings are you using for the exported room flow? This information will help us investigate the problem further.
a
rtmp
t
Hey there! Thanks for bringing up the RTMP details. We're really eager to help you get to the bottom of this, and some extra info from you would be super helpful. • Could you tell me about the encoder or streaming software you're using? • Is this happening with every stream, or just some specific ones? • Have you noticed anything interesting, like the delay seeming to grow over time? • What are your current audio and video settings looking like (things like bitrate and resolution)? The more you can share, the better we can track down what's causing this sync issue. I'm here to help and we'll figure this out together!
a
When multiple egress export streams are being processed simultaneously, it may occur
t
Hey there! Thanks for sharing more details. I really want to get to the bottom of this, so could you help me out with a few quick questions? 😊 • When this hiccup happens, roughly how many egress streams are running at the same time? • Is this sync issue happening across all streams, or just a few specific ones? • I'm curious about what your system looks like when this is going on - could you tell me about the resource usage (like CPU and memory)? • Have you already tried any troubleshooting tricks, like cutting back on the number of streams or tweaking some settings? The more you can share, the better we can track down what's going on and get things running smoothly for you!
a
Server 16c 16g, simultaneously exporting RTMP streams for 3 rounds of egress. The encoding configuration is as follows: "requestType": "room_composite", "exportType": "stream", "room": "c2895650893e44417b9592682d7fbee 8b", "request": {"RoomComposite": {"room_name": "c2895650893e44417b9592682d7fbee 8b", "layout": "speaker", "Output": {"Stream": {"urls":[“ rtmp://192.168.20.126:1935/9730a06/ {c24...1c1}"]}},"Options":{"Advanced":{"width":1920,"height":1080,"framerate":30,"video_codec":1,"video_bitrate":3000,"key_frame_interval":3}},
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!