Skip to content

fix: publisher migration failures#187

Merged
theomonnom merged 5 commits intomainfrom
fix/migration-publisher
Sep 18, 2023
Merged

fix: publisher migration failures#187
theomonnom merged 5 commits intomainfrom
fix/migration-publisher

Conversation

@theomonnom
Copy link
Copy Markdown
Member

@theomonnom theomonnom commented Sep 15, 2023

  • fix publisher offer being sent before the SyncState (This caused the migration to fail/incorrect state)
  • add RtcConfiguration to the FFI server another PR
  • wait for subscriber pc on initial connection

@theomonnom theomonnom changed the title fix: publisher migration failures & ffi rtc config fix: publisher migration failures Sep 16, 2023
Comment thread livekit/src/rtc_engine/peer_transport.rs
Copy link
Copy Markdown
Member

@davidzhao davidzhao left a comment

Choose a reason for hiding this comment

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

lgtm!

Comment thread livekit/src/room/mod.rs
Comment thread livekit/src/rtc_engine/mod.rs
@theomonnom
Copy link
Copy Markdown
Member Author

theomonnom commented Sep 18, 2023

Now using channels instead of callbacks. Because in bad timing where the callbacks were not yet configured, we could have skipped certain events. (Even if this is very unlikely)

Channels will just buffer these events

@theomonnom theomonnom merged commit 7a55204 into main Sep 18, 2023
@theomonnom theomonnom deleted the fix/migration-publisher branch September 18, 2023 21:58
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