Skip to content

Fix dynacast on re-publish.#941

Merged
boks1971 merged 1 commit into
mainfrom
raja_dynacast_republish
Jul 2, 2026
Merged

Fix dynacast on re-publish.#941
boks1971 merged 1 commit into
mainfrom
raja_dynacast_republish

Conversation

@boks1971

@boks1971 boks1971 commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

On a reconnect, the tracks are re-published. When that happens if dynacast is active and a layer is disabled, nothing is sent on a re-publish and so the SFU never sees the track re-published.

Use a disabled flag in LocalTrack to keep a separate state from mute and ensure that track is enabled on a (re)-publish.

Added an integration test (thanks to Claude for the test).

On a reconnect, the tracks are re-published. When that happens if
dynacast is active and a layer is disabled, nothing is sent on a
re-publish and so the SFU never sees the track re-published.

Use a `disabled` flag in `LocalTrack` to keep a separate state from mute
and ensure that track is enabled on a (re)-publish.

Added an integration test (thanks to Claude for the test).
@boks1971 boks1971 merged commit 7b6dfb2 into main Jul 2, 2026
8 checks passed
@boks1971 boks1971 deleted the raja_dynacast_republish branch July 2, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants