Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sfu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alain Takoudjou
sfu
Commits
e5ccc822
Commit
e5ccc822
authored
Sep 03, 2020
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fixes
parent
efb8a719
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
static/scripts/toastify.js
static/scripts/toastify.js
+0
-0
static/sfu.css
static/sfu.css
+1
-0
static/sfu.html
static/sfu.html
+2
-2
static/sfu.js
static/sfu.js
+4
-0
No files found.
static/scripts/toastify
-
js
→
static/scripts/toastify
.
js
View file @
e5ccc822
File moved
static/sfu.css
View file @
e5ccc822
...
...
@@ -795,6 +795,7 @@ header .colapse {
font-size
:
1.3rem
;
font-weight
:
900
;
color
:
#dbd9d9
;
line-height
:
44px
;
}
.header-sep
{
...
...
static/sfu.html
View file @
e5ccc822
...
...
@@ -151,7 +151,7 @@
</div>
<label
for=
"sendselect"
>
Send:
</label>
<select
id=
"sendselect"
>
<select
id=
"sendselect"
class=
"select select-inline"
>
<option
value=
"lowest"
>
lowest
</option>
<option
value=
"low"
>
low
</option>
<option
value=
"normal"
selected
>
normal
</option>
...
...
@@ -169,6 +169,6 @@
<script
src=
"/protocol.js"
defer
></script>
<script
src=
"/sfu.js"
defer
></script>
<script
src=
"/scripts/toastify
-
js"
defer
></script>
<script
src=
"/scripts/toastify
.
js"
defer
></script>
</body>
</html>
static/sfu.js
View file @
e5ccc822
...
...
@@ -143,6 +143,7 @@ document.getElementById('presentbutton').onclick = function(e) {
document
.
getElementById
(
'
unpresentbutton
'
).
onclick
=
function
(
e
)
{
e
.
preventDefault
();
delUpMediaKind
(
'
local
'
);
resizePeers
();
};
function
changePresentation
()
{
...
...
@@ -642,6 +643,9 @@ function resizePeers() {
Object
.
keys
(
serverConnection
.
down
).
length
;
let
peers
=
document
.
getElementById
(
'
peers
'
);
let
columns
=
Math
.
ceil
(
Math
.
sqrt
(
count
));
if
(
!
count
)
// No video, nothing to resize.
return
;
let
rows
=
""
;
let
size
=
100
/
columns
;
// Peers div has padding 10 on top and bottom, remove 20 on offsetHeight
...
...
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