Skip to content

Commit

Permalink
log line for lukas
Browse files Browse the repository at this point in the history
  • Loading branch information
keepingitneil committed Mar 17, 2023
1 parent effe179 commit 76c9304
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/controller/useTrackPositions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 3,7 @@ import { Vector2 } from "@/model/Vector2";
import { TrackBundle } from "@livekit/components-core";
import { TrackSource, useTracks } from "@livekit/components-react";
import { Participant, RoomEvent, TrackPublication } from "livekit-client";
import { useMemo, useState } from "react";
import { useEffect, useMemo, useState } from "react";
import { TrackPosition } from "./SpatialAudioController";

type Props = {
Expand All @@ -24,7 24,9 @@ export const useTrackPositions = ({
onlySubscribed: false,
});
const trackParticipantPairs = useTracks(sourceFilter, sourceOptions);
console.log("NEIL: ", trackParticipantPairs);
useEffect(() => {
console.log("LUKAS CHECK THIS OUT: ", trackParticipantPairs);
}, [trackParticipantPairs]);
const trackPositions: TrackPosition[] = useMemo(() => {
const microphoneTrackLookup = new Map<string, TrackBundle>();
let jukeboxTrackPublication: TrackPublication | null = null;
Expand Down

0 comments on commit 76c9304

Please sign in to comment.