instrumentisto / medea

[Closed] Medea media server
Mozilla Public License 2.0
23 stars 3 forks source link

Implement state synchronization on reconnection (#27, #47) #167

Closed evdokimovs closed 3 years ago

evdokimovs commented 3 years ago

Part of #27, #47

Requires #164

Synopsis

We need to synchronize Web Client's State with a Media Server State on RPC connection restore.

Solution

Checklist

evdokimovs commented 3 years ago

FCM

Implement State synchronization on reconnect (#167, #27, #47)

- add SynchronizeMe Command
- add StateSynchronized Event
- implement Client intentions send on RPC reconnect

Additionally:
- add FromIterator implementation for a ObservableHashMap in 'medea-reactive' crate
evdokimovs commented 3 years ago

FCM

Implement state synchronization on reconnection (#167, #27, #47)

- add states for client and sever synchronization to 'medea-client-api-proto' crate
- add Event::StateSynchronized and Command::SynchronizeMe to 'medea-client-api-proto` crate
- implement state synchronization on reconnection in 'medea-jason' and 'medea' crates

Additionally:
- upgrade Firefox to 85.0 version for E2E tests