Skip to content

fix: do not republish tracks on reconnect#5698

Open
davidzhao wants to merge 3 commits into
mainfrom
dz/fix-reconnect
Open

fix: do not republish tracks on reconnect#5698
davidzhao wants to merge 3 commits into
mainfrom
dz/fix-reconnect

Conversation

@davidzhao
Copy link
Copy Markdown
Member

republishing is handled automatically by the RTC SDK. it should be transparent to the agent.
added e2e tests for both resume and reconnect.

depends on: livekit/python-sdks#654

republishing is handled automatically by the RTC SDK. it should be
transparent to the agent.
added e2e tests for both resume and reconnect.

depends on: livekit/python-sdks#654
@davidzhao davidzhao requested a review from a team May 10, 2026 06:16
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 5 additional findings.

Open in Devin Review

Comment thread tests/test_room.py Outdated
Comment on lines +359 to +361
await mon.assert_audio_continuous(
min_rms=_AUDIO_RMS_THRESHOLD, duration=1.5
)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this makes sense, but make sure it's based on wall-clock, and not the frames being received, otherwise even if the reconnection failed, it may be continuous?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah this is based on wall clock

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot to check in the test file last time, it's here now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants