TODO: settings modal with multiple connections
Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
@@ -593,11 +593,18 @@ export class CallViewModel extends ViewModel {
|
||||
]).pipe(
|
||||
map(([remoteConnections, localConnection, localFocus]) =>
|
||||
Array.from(remoteConnections.entries())
|
||||
.map(([index, c]) => ({ room: c.livekitRoom, url: index }))
|
||||
.map(
|
||||
([index, c]) =>
|
||||
({
|
||||
room: c.livekitRoom,
|
||||
url: index,
|
||||
}) as { room: LivekitRoom; url: string; isLocal?: boolean },
|
||||
)
|
||||
.concat([
|
||||
{
|
||||
room: localConnection.livekitRoom,
|
||||
url: localFocus.livekit_service_url,
|
||||
isLocal: true,
|
||||
},
|
||||
]),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user