From a119b7582e541265fc9153a480e84289b961f36d Mon Sep 17 00:00:00 2001 From: hzrd149 Date: Tue, 4 Jul 2023 13:41:38 -0500 Subject: [PATCH] fix bug with not all streams showing --- src/classes/timeline-loader.ts | 2 +- src/components/live-video-player.tsx | 1 + src/helpers/nostr/stream.ts | 3 ++- src/views/streams/components/stream-card.tsx | 11 +++++++++-- src/views/streams/index.tsx | 4 +++- src/views/streams/stream/index.tsx | 2 ++ 6 files changed, 18 insertions(+), 5 deletions(-) diff --git a/src/classes/timeline-loader.ts b/src/classes/timeline-loader.ts index bf945e377..702ff22ec 100644 --- a/src/classes/timeline-loader.ts +++ b/src/classes/timeline-loader.ts @@ -6,7 +6,7 @@ import { NostrRequest } from "./nostr-request"; import { NostrMultiSubscription } from "./nostr-multi-subscription"; import Subject, { PersistentSubject } from "./subject"; -const BLOCK_SIZE = 10; +const BLOCK_SIZE = 20; type EventFilter = (event: NostrEvent) => boolean; diff --git a/src/components/live-video-player.tsx b/src/components/live-video-player.tsx index 2558a8d1d..4047f10e0 100644 --- a/src/components/live-video-player.tsx +++ b/src/components/live-video-player.tsx @@ -55,6 +55,7 @@ export function LiveVideoPlayer({