Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions app/components/clientsideonly/jitsibroadcaster.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const JitsiMeeting = dynamic(

const rtmp = process.env.NEXT_PUBLIC_ROCKET_CHAT_GREENROOM_RTMP;

const Jitsibroadcaster = ({ room, disName, rtmpSrc, handleChat }) => {
const Jitsibroadcaster = ({ room, disName, rtmpSrc, handleChat, showLogs }) => {
const apiRef = useRef();
const [logItems, updateLog] = useState([]);
const [knockingParticipants, updateKnockingParticipants] = useState([]);
Expand Down Expand Up @@ -410,7 +410,8 @@ const Jitsibroadcaster = ({ room, disName, rtmpSrc, handleChat }) => {
{item}
</div>
));



const renderSpinner = () => (
<div
style={{
Expand Down Expand Up @@ -465,7 +466,7 @@ const Jitsibroadcaster = ({ room, disName, rtmpSrc, handleChat }) => {
{toggleView()}
</div>
{toolButton()}
<div className={styles.log}>{renderLog()}</div>
{showLogs && <div className={styles.log}>{renderLog()}</div>}
</>
);
};
Expand Down
3 changes: 2 additions & 1 deletion app/pages/virtualconf/greenroom/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useState } from "react";
import Head from "next/head";
import styles from "../../../styles/Mainstage.module.css";
import styles from "../../../styles/Greenroom.module.css";
import { Container, Row, Col } from "react-bootstrap";
import Jitsibroadcaster from "../../../components/clientsideonly/jitsibroadcaster";
import InAppChat from "../../../components/inappchat/inappchat";
Expand Down Expand Up @@ -29,6 +29,7 @@ const Greenroom = () => {
room={"GSOC Alumnus Meet"}
disName={"Speaker"}
handleChat={handleOpenChat}
showLogs={false}
/>
</Col>
{openChat && (
Expand Down
2 changes: 2 additions & 0 deletions app/styles/Greenroom.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

.main {
font-family: "Roboto", sans-serif;
min-height: 90vh;
max-height: fit-content;
}

.topNav {
Expand Down