Refactored chat implementation to work with Websockets;

Fixed video.js working on Docker Container;
Added sample video to VideoPlayer for now;
Bug: Requests to the server take extra long to return a response;
This commit is contained in:
Chris-1010
2025-01-25 15:29:17 +00:00
parent f4aed8b0cc
commit 60c9d1986e
10 changed files with 437 additions and 489 deletions

View File

@@ -32,7 +32,7 @@ const StreamerRoute: React.FC = () => {
}, [streamerName]);
if (isLoading) {
return <div>Loading...</div>; // Or your loading component
return <div className="h-screen w-screen flex text-6xl items-center justify-center" >Loading...</div>; // Or your loading component
}
return isLive ? <VideoPage streamId={1} /> : <UserPage />;