Skip to content

Commit

Permalink
Fix: 화면 UI 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sayyyho committed Sep 10, 2024
1 parent 09f5b92 commit 0c0d760
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions src/pages/WebRTC/VideoPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,15 @@ const RTCPage = () => {
isButton={true}
>
<S.VideoLayout>
<S.VideoBox>
<div
style={{
display: "flex",
justifyContent: "center",
alignItems: "center",
flexDirection: "column",
}}
>
<h1>나의 화면</h1>
<video
ref={myVideoRef}
autoPlay
Expand All @@ -145,8 +153,17 @@ const RTCPage = () => {
MozTransform: "rotateY(180deg)",
}}
/>
</S.VideoBox>
<S.VideoBox>
</div>
<div
style={{
display: "flex",
justifyContent: "center",
alignItems: "center",
flexDirection: "column",
}}
>
<h1>000님의 화면</h1>

<video
ref={remoteVideoRef}
autoPlay
Expand All @@ -159,7 +176,7 @@ const RTCPage = () => {
MozTransform: "rotateY(180deg)",
}}
/>
</S.VideoBox>
</div>
</S.VideoLayout>
</MiniLayout>
</Layout>
Expand Down

0 comments on commit 0c0d760

Please sign in to comment.