Does Participant reconnection works in "Room Compo...
# ask-ai
c
Does Participant reconnection works in "Room Composite egress" in egress latest version of server-sdk-go? Currently using version 2.4.1 of server-sdk-go .. and reconnected participant is not getting mixed with existing participants.
t
Thanks for reaching out, shahi. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'm happy to share that participant reconnection is supported during Room Composite egress in LiveKit. The system is thoughtfully designed to handle participant disconnections and reconnections smoothly by keeping the egress session active through updates in the underlying signaling layer. So, when a participant reconnects, the session should continue seamlessly without interrupting the ongoing egress process. This feature is built into the core LiveKit infrastructure and doesn’t rely on the SDK version, which means it should work well with server-sdk-go version 2.4.1. If you’re noticing that reconnected participants aren’t mixing with existing ones, it might point to a specific implementation or configuration detail that we can look into together. Could you please share a bit more about your setup or any particular errors you’ve come across? That way, I can better assist you in figuring this out. Sources: pkg/rtc/room.go | README.md | RoomComposite Egress | LiveKit Docs
c
Getting lots of prints of this kind resetting track synchronizer {"nodeID": "NE_XPYQvsfhHRjo", "handlerID": "EGH_gMwvhAeHdnRh", "clusterID": "", "egressID": "EG_3zeVHjHrXh4u", "trackID": "TR_AMBJE2KzaGytUr", "codec": "audio/opus", "reason": "pts out of bounds", "pts": "1708030h49m45.754199797s", "expectedPTS": "43.775131959s", "pktTS": 2247272103, "pktSN": 47631, "prevTS": 2246836239, "prevSN": 47630, "frameDuration": "20ms", "prevPTS": "2m53.765140925s", "adjustedTS": 2246855439, "adjustedPTS": "2m54.165140925s"}
t
It looks like the message "resetting track synchronizer" means the system noticed some timing inconsistencies in your audio or video tracks during egress and is working to reinitialize the synchronizer to fix them. The "pts out of bounds" error points to the presentation timestamps (PTS) being outside the expected range, which can happen due to timing drift, out-of-order packets, or other synchronization hiccups. To help you resolve this, here are a few things you might try: • Adjust timing-related settings in your egress configuration, like
rtp_max_allowed_ts_diff
and
old_packet_threshold
. • Turn on advanced synchronization features such as
pre_jitter_buffer_receive_time_enabled
and
rtcp_sender_report_rebase_enabled
to better handle timing inconsistencies. • Make sure your network conditions are stable and check that your source tracks have consistent timing. • Enable detailed logging so we can capture more info about how the synchronizer is behaving. If you'd like, I’m here to guide you through setting up these parameters or help analyze specific log details. Just let me know how you’d like to move forward—I’m happy to assist! Sources: pkg/synchronizer/track.go | pkg/config/base.go | Track Composite Egress | LiveKit Docs