mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
Changed the topic description to transcript and added console.log for webrtc incoming messages
This commit is contained in:
@@ -47,7 +47,7 @@ export function Dashboard({
|
||||
</div>
|
||||
</div>
|
||||
{openIndex === index && (
|
||||
<div className="mt-2 p-2 bg-white">{item.description}</div>
|
||||
<div className="mt-2 p-2 bg-white">{item.transcript}</div>
|
||||
)}
|
||||
</div>
|
||||
))}
|
||||
|
||||
@@ -39,6 +39,7 @@ const useWebRTC = (stream, setIsRecording) => {
|
||||
|
||||
peer.on("data", (data) => {
|
||||
const serverData = JSON.parse(data.toString());
|
||||
console.log(serverData);
|
||||
|
||||
switch (serverData.cmd) {
|
||||
case "SHOW_TRANSCRIPTION":
|
||||
|
||||
Reference in New Issue
Block a user