Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
bora-it
Commits
5fb56d3d
Commit
5fb56d3d
authored
Aug 11, 2021
by
우지원
Browse files
Merge remote-tracking branch 'origin/master' into woojiweon2
parents
dd3c8aaa
3075bbbe
Changes
1
Show whitespace changes
Inline
Side-by-side
client/src/components/Room/Screen.js
View file @
5fb56d3d
...
@@ -144,7 +144,6 @@ const Screen = () => {
...
@@ -144,7 +144,6 @@ const Screen = () => {
});
});
console
.
log
(
"
create sender offer success
"
);
console
.
log
(
"
create sender offer success
"
);
await
sendPC
.
setLocalDescription
(
new
RTCSessionDescription
(
sdp
));
await
sendPC
.
setLocalDescription
(
new
RTCSessionDescription
(
sdp
));
console
.
log
(
sdp
,
"
안
"
,
newSocket
.
id
,
"
녕
"
,
roomId
);
newSocket
.
emit
(
"
senderOffer
"
,
{
newSocket
.
emit
(
"
senderOffer
"
,
{
sdp
,
sdp
,
...
@@ -245,7 +244,6 @@ const Screen = () => {
...
@@ -245,7 +244,6 @@ const Screen = () => {
return
(
return
(
<
div
className
=
"
container
"
>
<
div
className
=
"
container
"
>
{
/* {console.log(users)} */
}
<
div
className
=
"
mt-3
"
style
=
{{
backgroundColor
:
"
#FCF4FF
"
}}
>
<
div
className
=
"
mt-3
"
style
=
{{
backgroundColor
:
"
#FCF4FF
"
}}
>
<
div
<
div
className
=
"
m-2 d-flex fw-bold text-center
"
className
=
"
m-2 d-flex fw-bold text-center
"
...
@@ -271,9 +269,6 @@ const Screen = () => {
...
@@ -271,9 +269,6 @@ const Screen = () => {
ref
=
{
localVideoRef
}
ref
=
{
localVideoRef
}
autoPlay
autoPlay
/>
/>
{
/* {users.map((user, index) => {
return <Video key={index} stream={user.stream} />;
})} */
}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
);
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment