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:
@@ -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 />;
|
||||
|
||||
Reference in New Issue
Block a user