Skip to content

Commit

Permalink
refactor: SubVideoGrid 컴포넌트에서 StreamData를 client.RemoteStream으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
seoko97 committed Dec 4, 2024
1 parent 7d962df commit 3a20e1a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions apps/web/src/components/live/StreamView/List/SubVideoGrid.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { cva } from 'class-variance-authority';
import { useEffect, useRef, useState } from 'react';
import { client } from '@repo/mediasoup';

import { StreamData } from '@/components/live/StreamView';
import VideoPlayer from '@/components/live/StreamView/List/VideoPlayer';

const highlightVariants = cva(`h-full w-full overflow-hidden rounded-lg border-2`, {
Expand All @@ -17,10 +17,10 @@ const highlightVariants = cva(`h-full w-full overflow-hidden rounded-lg border-2
});

interface SubVideoGridProps {
videoStreamData: StreamData[];
pinnedVideoStreamData: StreamData | null;
onVideoClick: (stream: StreamData) => void;
getAudioMutedState: (stream: StreamData) => boolean;
videoStreamData: client.RemoteStream[];
pinnedVideoStreamData: client.RemoteStream | null;
onVideoClick: (stream: client.RemoteStream) => void;
getAudioMutedState: (stream: client.RemoteStream) => boolean;
}

function SubVideoGrid({
Expand Down

0 comments on commit 3a20e1a

Please sign in to comment.