feat: import peer video layout
This commit is contained in:
parent
b27a54eac4
commit
f6314501a2
@ -54,15 +54,19 @@ export const PeerVideo = ({
|
|||||||
playsInline
|
playsInline
|
||||||
ref={videoRef}
|
ref={videoRef}
|
||||||
style={{
|
style={{
|
||||||
borderRadius: '1.25em',
|
borderRadius: '.25em',
|
||||||
overflow: 'auto',
|
overflow: 'auto',
|
||||||
padding: '1em',
|
marginLeft: 'auto',
|
||||||
|
marginRight: 'auto',
|
||||||
|
height: '100%',
|
||||||
...(isSelf && {
|
...(isSelf && {
|
||||||
transform: 'rotateY(180deg)',
|
transform: 'rotateY(180deg)',
|
||||||
}),
|
}),
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<PeerNameDisplay sx={{ textAlign: 'center', display: 'block' }}>
|
<PeerNameDisplay
|
||||||
|
sx={{ textAlign: 'center', display: 'block', marginTop: '1em' }}
|
||||||
|
>
|
||||||
{userId}
|
{userId}
|
||||||
</PeerNameDisplay>
|
</PeerNameDisplay>
|
||||||
</Paper>
|
</Paper>
|
||||||
|
Loading…
Reference in New Issue
Block a user