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
8df19bc7
Commit
8df19bc7
authored
Nov 30, 2020
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove more side menu entries when not allowed to present.
parent
1a925359
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
20 deletions
+27
-20
static/sfu.css
static/sfu.css
+0
-1
static/sfu.html
static/sfu.html
+25
-19
static/sfu.js
static/sfu.js
+2
-0
No files found.
static/sfu.css
View file @
8df19bc7
...
...
@@ -860,7 +860,6 @@ h1 {
}
.sidenav
form
{
display
:
block
;
margin-top
:
15px
;
}
...
...
static/sfu.html
View file @
8df19bc7
...
...
@@ -178,31 +178,37 @@
<fieldset>
<legend>
Other Settings
</legend>
<label
for=
"sendselect"
class=
"label-first"
>
Send:
</label>
<select
id=
"sendselect"
class=
"select select-inline"
>
<option
value=
"lowest"
>
lowest
</option>
<option
value=
"low"
>
low
</option>
<option
value=
"normal"
selected
>
normal
</option>
<option
value=
"unlimited"
>
unlimited
</option>
</select>
<label
for=
"requestselect"
>
Receive:
</label>
<select
id=
"requestselect"
class=
"select select-inline"
>
<option
value=
""
>
nothing
</option>
<option
value=
"audio"
>
audio only
</option>
<option
value=
"screenshare"
>
screen share
</option>
<option
value=
"everything"
selected
>
everything
</option>
</select>
<form
id=
"sendform"
>
<label
for=
"sendselect"
class=
"label-first"
>
Send:
</label>
<select
id=
"sendselect"
class=
"select select-inline"
>
<option
value=
"lowest"
>
lowest
</option>
<option
value=
"low"
>
low
</option>
<option
value=
"normal"
selected
>
normal
</option>
<option
value=
"unlimited"
>
unlimited
</option>
</select>
</form>
<form
id=
"requestform"
>
<label
for=
"requestselect"
>
Receive:
</label>
<select
id=
"requestselect"
class=
"select select-inline"
>
<option
value=
""
>
nothing
</option>
<option
value=
"audio"
>
audio only
</option>
<option
value=
"screenshare"
>
screen share
</option>
<option
value=
"everything"
selected
>
everything
</option>
</select>
</form>
<form>
<input
id=
"activitybox"
type=
"checkbox"
>
Activity detection
</input>
</form>
<form>
<label
for=
"fileinput"
>
Play local file:
</label>
<input
type=
"file"
id=
"fileinput"
accept=
"audio/*,video/*"
multiple
></input>
</form>
</fieldset>
<form
id=
"fileform"
>
<label
for=
"fileinput"
>
Play local file:
</label>
<input
type=
"file"
id=
"fileinput"
accept=
"audio/*,video/*"
multiple
></input>
</form>
</div>
</div>
...
...
static/sfu.js
View file @
8df19bc7
...
...
@@ -401,6 +401,8 @@ function setButtonsVisibility() {
setVisibility
(
'
stopvideobutton
'
,
video
);
setVisibility
(
'
mediaoptions
'
,
permissions
.
present
);
setVisibility
(
'
sendform
'
,
permissions
.
present
);
setVisibility
(
'
fileform
'
,
permissions
.
present
);
}
/**
...
...
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