livekit-client 0.17.6-rc2 → 0.17.6-rc3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { setLogLevel, setLogExtension } from './logger';
1
+ import { setLogLevel, setLogExtension, LogLevel } from './logger';
2
2
  import { DataPacket_Kind, VideoQuality } from './proto/livekit_models';
3
3
  import LocalParticipant from './room/participant/LocalParticipant';
4
4
  import Participant, { ConnectionQuality } from './room/participant/Participant';
@@ -23,4 +23,4 @@ export * from './room/track/options';
23
23
  export * from './room/track/Track';
24
24
  export * from './room/track/types';
25
25
  export * from './version';
26
- export { setLogLevel, setLogExtension, Room, RoomState, DataPacket_Kind, Participant, RemoteParticipant, LocalParticipant, LocalAudioTrack, LocalVideoTrack, LocalTrack, LocalTrackPublication, RemoteTrack, RemoteAudioTrack, RemoteVideoTrack, RemoteTrackPublication, ParticipantTrackPermission, TrackPublication, VideoQuality, ConnectionQuality, };
26
+ export { setLogLevel, setLogExtension, LogLevel, Room, RoomState, DataPacket_Kind, Participant, RemoteParticipant, LocalParticipant, LocalAudioTrack, LocalVideoTrack, LocalTrack, LocalTrackPublication, RemoteTrack, RemoteAudioTrack, RemoteVideoTrack, RemoteTrackPublication, ParticipantTrackPermission, TrackPublication, VideoQuality, ConnectionQuality, };
@@ -8761,7 +8761,10 @@ const getResizeObserver = () => {
8761
8761
  let intersectionObserver = null;
8762
8762
  const getIntersectionObserver = () => {
8763
8763
  if (!intersectionObserver)
8764
- intersectionObserver = new IntersectionObserver(ioDispatchCallback);
8764
+ intersectionObserver = new IntersectionObserver(ioDispatchCallback, {
8765
+ root: document,
8766
+ rootMargin: '0px',
8767
+ });
8765
8768
  return intersectionObserver;
8766
8769
  };
8767
8770
  function getClientInfo() {
@@ -17340,5 +17343,5 @@ async function createLocalScreenTracks(options) {
17340
17343
  return localTracks;
17341
17344
  }
17342
17345
 
17343
- export { AudioPresets, ConnectionError, ConnectionQuality, DataPacket_Kind, EngineEvent, LivekitError, LocalAudioTrack, LocalParticipant, LocalTrack, LocalTrackPublication, LocalVideoTrack, MediaDeviceFailure, Participant, ParticipantEvent, PublishDataError, RemoteAudioTrack, RemoteParticipant, RemoteTrack, RemoteTrackPublication, RemoteVideoTrack, Room, RoomEvent, RoomState, ScreenSharePresets, Track, TrackEvent, TrackInvalidError, TrackPublication, UnexpectedConnectionState, UnsupportedServer, VideoPreset, VideoPresets, VideoPresets43, VideoQuality, attachToElement, connect, createLocalAudioTrack, createLocalScreenTracks, createLocalTracks, createLocalVideoTrack, detachTrack, protocolVersion, setLogExtension, setLogLevel, version };
17346
+ export { AudioPresets, ConnectionError, ConnectionQuality, DataPacket_Kind, EngineEvent, LivekitError, LocalAudioTrack, LocalParticipant, LocalTrack, LocalTrackPublication, LocalVideoTrack, LogLevel, MediaDeviceFailure, Participant, ParticipantEvent, PublishDataError, RemoteAudioTrack, RemoteParticipant, RemoteTrack, RemoteTrackPublication, RemoteVideoTrack, Room, RoomEvent, RoomState, ScreenSharePresets, Track, TrackEvent, TrackInvalidError, TrackPublication, UnexpectedConnectionState, UnsupportedServer, VideoPreset, VideoPresets, VideoPresets43, VideoQuality, attachToElement, connect, createLocalAudioTrack, createLocalScreenTracks, createLocalTracks, createLocalVideoTrack, detachTrack, protocolVersion, setLogExtension, setLogLevel, version };
17344
17347
  //# sourceMappingURL=livekit-client.esm.js.map