Skip to content

Commit

Permalink
Update room.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Toubat committed Feb 18, 2025
1 parent 4d82699 commit b543664
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/core/src/observables/room.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Subscriber, Subscription } from 'rxjs';
import { Subject, map, Observable, startWith, finalize, filter, concat } from 'rxjs';
import type { Participant, TrackPublication } from 'livekit-client';
import { LocalParticipant, Room, RoomEvent, Track } from 'livekit-client';
import type { Subscriber, Subscription } from 'rxjs';
import { concat, filter, finalize, map, Observable, startWith, Subject } from 'rxjs';
// @ts-ignore some module resolutions (other than 'node') choke on this
import type { RoomEventCallbacks } from 'livekit-client/dist/src/room/Room';
import { log } from '../logger';
Expand Down Expand Up @@ -54,7 +54,7 @@ export function roomObserver(room: Room) {
RoomEvent.LocalTrackUnpublished,
RoomEvent.AudioPlaybackStatusChanged,
RoomEvent.ConnectionStateChanged,
).pipe(startWith(room));
);

return observable;
}
Expand Down

0 comments on commit b543664

Please sign in to comment.