instrumentisto / medea

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

Implement multiple Rooms support (#27) #147

Closed evdokimovs closed 4 years ago

evdokimovs commented 4 years ago

Part of #27

Synopsis

Jason should be able to serve multiple Rooms with one Jason object. If Jason client joins to the many Rooms from the one Media Server, then only one WebSocket connection should serve all this Rooms.

Solution

Add authorization messages to the medea-client-api-proto. Authorize Members with this messages instead of doing it by URL with which Member connects to the Media Server.

Create wrapper around Jason's WebSocketRpcClient which will be responsible for routing and sessions management.

Checklist

evdokimovs commented 4 years ago

FCM

Implement multiple Room support (#147, #27)

- support joining to the multiple Rooms with one Jason object in 'medea-jason' crate
- support multiple Members serving with one RPC connection in 'medea' crate
- authorize Members with protocol messages instead of URL in 'medea' crate