Skip to content

Commit

Permalink
fix: rm audio offset
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-pousette committed Feb 8, 2024
1 parent 1966f53 commit 4c4b25a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/live-streaming/frontend/src/media/viewer/View.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ const addAudioStreamListener = async (
// we are not catching up, i.e. the player is going faster than we get new chunks
console.log(offset, currentLag);
}
audioSource.start(time, offset);
audioSource.start(time);

// console.log("START AT TIME", time, x)
let lagRatio = currentLag / expectedLatency;
Expand Down Expand Up @@ -359,7 +359,6 @@ const addAudioStreamListener = async (
if (!audioContext) {
await setupAudioContext();
}
console.log("XXXXX ADD LISTENER");
streamDB.chunks.events.removeEventListener("change", listener);
streamDB.chunks.events.addEventListener("change", listener);
};
Expand Down

0 comments on commit 4c4b25a

Please sign in to comment.