closes #102
This commit is contained in:
@@ -7,6 +7,7 @@ import { getConnectedDispatcherAPI, kickDispatcherAPI } from "_querys/dispatcher
|
|||||||
import { getLivekitRooms, kickLivekitParticipant } from "_querys/livekit";
|
import { getLivekitRooms, kickLivekitParticipant } from "_querys/livekit";
|
||||||
import { ParticipantInfo } from "livekit-server-sdk";
|
import { ParticipantInfo } from "livekit-server-sdk";
|
||||||
import {
|
import {
|
||||||
|
Dot,
|
||||||
LockKeyhole,
|
LockKeyhole,
|
||||||
Plane,
|
Plane,
|
||||||
RedoDot,
|
RedoDot,
|
||||||
@@ -144,7 +145,12 @@ export default function AdminPanel() {
|
|||||||
{!livekitParticipant ? (
|
{!livekitParticipant ? (
|
||||||
<span className="text-error">Nicht verbunden</span>
|
<span className="text-error">Nicht verbunden</span>
|
||||||
) : (
|
) : (
|
||||||
<span className="text-success">{livekitParticipant.room}</span>
|
<span className="text-success inline-flex items-center">
|
||||||
|
{livekitParticipant.room}{" "}
|
||||||
|
{livekitParticipant?.participant.tracks.some((t) => !t.muted) && (
|
||||||
|
<Dot className="text-warning ml-2" />
|
||||||
|
)}
|
||||||
|
</span>
|
||||||
)}
|
)}
|
||||||
</td>
|
</td>
|
||||||
<td className="flex gap-2">
|
<td className="flex gap-2">
|
||||||
@@ -209,7 +215,12 @@ export default function AdminPanel() {
|
|||||||
{!livekitParticipant ? (
|
{!livekitParticipant ? (
|
||||||
<span className="text-error">Nicht verbunden</span>
|
<span className="text-error">Nicht verbunden</span>
|
||||||
) : (
|
) : (
|
||||||
<span className="text-success">{livekitParticipant.room}</span>
|
<span className="text-success inline-flex items-center">
|
||||||
|
{livekitParticipant.room}{" "}
|
||||||
|
{livekitParticipant?.participant.tracks.some((t) => !t.muted) && (
|
||||||
|
<Dot className="text-warning ml-2" />
|
||||||
|
)}
|
||||||
|
</span>
|
||||||
)}
|
)}
|
||||||
</td>
|
</td>
|
||||||
<td className="flex gap-2">
|
<td className="flex gap-2">
|
||||||
@@ -274,8 +285,13 @@ export default function AdminPanel() {
|
|||||||
<td>
|
<td>
|
||||||
<span className="text-error">Nicht verbunden</span>
|
<span className="text-error">Nicht verbunden</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td className="flex">
|
||||||
<span className="text-success">{p.room}</span>
|
<span className="text-success inline-flex items-center">
|
||||||
|
{p.room}
|
||||||
|
{p.participant.tracks.some((t) => !t.muted) && (
|
||||||
|
<Dot className="text-warning ml-2" />
|
||||||
|
)}
|
||||||
|
</span>
|
||||||
</td>
|
</td>
|
||||||
<td className="flex gap-2">
|
<td className="flex gap-2">
|
||||||
<button
|
<button
|
||||||
|
|||||||
Reference in New Issue
Block a user