Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
galene
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
nexedi
galene
Commits
e4682ff2
Commit
e4682ff2
authored
Sep 01, 2023
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Change default video codec to VP9."
This reverts commit
69445d67
.
parent
cc2ed144
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
README
README
+5
-4
group/group.go
group/group.go
+1
-1
No files found.
README
View file @
e4682ff2
...
@@ -173,13 +173,14 @@ nobody will be able to join the group. The following fields are allowed:
...
@@ -173,13 +173,14 @@ nobody will be able to join the group. The following fields are allowed:
- `redirect`: if set, then attempts to join the group will be redirected
- `redirect`: if set, then attempts to join the group will be redirected
to the given URL; most other fields are ignored in this case;
to the given URL; most other fields are ignored in this case;
- `codecs`: this is a list of codecs allowed in this group. The default
- `codecs`: this is a list of codecs allowed in this group. The default
is `["vp
9
", "opus"]`.
is `["vp
8
", "opus"]`.
Supported video codecs include:
Supported video codecs include:
- `"vp8"` (legacy, supported by all browsers);
- `"vp8"` (compatible with all supported browsers);
- `"vp9"` (compatible with all recent browsers);
- `"vp9"` (better video quality, but incompatible with Safari);
- `"av1"` (experimental, buggy in many browsers);
- `"av1"` (even better video quality, only supported by some browsers,
recording is not supported, SVC is not supported);
- `"h264"` (incompatible with Debian and with some Android devices, SVC
- `"h264"` (incompatible with Debian and with some Android devices, SVC
is not supported).
is not supported).
...
...
group/group.go
View file @
e4682ff2
...
@@ -379,7 +379,7 @@ func APIFromCodecs(codecs []webrtc.RTPCodecParameters) (*webrtc.API, error) {
...
@@ -379,7 +379,7 @@ func APIFromCodecs(codecs []webrtc.RTPCodecParameters) (*webrtc.API, error) {
func
APIFromNames
(
names
[]
string
)
(
*
webrtc
.
API
,
error
)
{
func
APIFromNames
(
names
[]
string
)
(
*
webrtc
.
API
,
error
)
{
if
len
(
names
)
==
0
{
if
len
(
names
)
==
0
{
names
=
[]
string
{
"vp
9
"
,
"opus"
}
names
=
[]
string
{
"vp
8
"
,
"opus"
}
}
}
var
codecs
[]
webrtc
.
RTPCodecParameters
var
codecs
[]
webrtc
.
RTPCodecParameters
for
_
,
n
:=
range
names
{
for
_
,
n
:=
range
names
{
...
...
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