Skip to content

Commit

Permalink
Merge pull request #110 from KakaoTech-BootCamp-Team-2/dev
Browse files Browse the repository at this point in the history
🚀 Deploy
  • Loading branch information
sayyyho authored Sep 10, 2024
2 parents 5f6d969 + c601ed4 commit 54d8cd7
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 54d8cd7

Please sign in to comment.