Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
64e82b88
Commit
64e82b88
authored
Jul 11, 2013
by
Saul Ibarra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enabled opus codec in the UI
parent
d4036689
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
98 additions
and
82 deletions
+98
-82
settings.py
blink/configuration/settings.py
+1
-1
preferences.ui
resources/preferences.ui
+97
-81
No files found.
blink/configuration/settings.py
View file @
64e82b88
...
@@ -54,7 +54,7 @@ class LogsSettingsExtension(LogsSettings):
...
@@ -54,7 +54,7 @@ class LogsSettingsExtension(LogsSettings):
class
RTPSettingsExtension
(
RTPSettings
):
class
RTPSettingsExtension
(
RTPSettings
):
audio_codec_order
=
Setting
(
type
=
AudioCodecList
,
default
=
AudioCodecList
((
'
G722'
,
'speex
'
,
'GSM'
,
'iLBC'
,
'PCMU'
,
'PCMA'
)))
audio_codec_order
=
Setting
(
type
=
AudioCodecList
,
default
=
AudioCodecList
((
'
opus'
,
'speex'
,
'G722
'
,
'GSM'
,
'iLBC'
,
'PCMU'
,
'PCMA'
)))
class
ServerSettings
(
SettingsGroup
):
class
ServerSettings
(
SettingsGroup
):
...
...
resources/preferences.ui
View file @
64e82b88
...
@@ -239,6 +239,19 @@
...
@@ -239,6 +239,19 @@
<property
name=
"margin"
>
<property
name=
"margin"
>
<number>
10
</number>
<number>
10
</number>
</property>
</property>
<item
row=
"2"
column=
"1"
>
<widget
class=
"QListWidget"
name=
"account_video_codecs_list"
>
<property
name=
"horizontalScrollBarPolicy"
>
<enum>
Qt::ScrollBarAlwaysOff
</enum>
</property>
<property
name=
"dragEnabled"
>
<bool>
true
</bool>
</property>
<property
name=
"dragDropMode"
>
<enum>
QAbstractItemView::InternalMove
</enum>
</property>
</widget>
</item>
<item
row=
"0"
column=
"0"
>
<item
row=
"0"
column=
"0"
>
<widget
class=
"QLabel"
name=
"account_audio_codecs_label"
>
<widget
class=
"QLabel"
name=
"account_audio_codecs_label"
>
<property
name=
"font"
>
<property
name=
"font"
>
...
@@ -279,86 +292,6 @@
...
@@ -279,86 +292,6 @@
</property>
</property>
</widget>
</widget>
</item>
</item>
<item
row=
"2"
column=
"0"
>
<widget
class=
"QListWidget"
name=
"account_audio_codecs_list"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Expanding"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"horizontalScrollBarPolicy"
>
<enum>
Qt::ScrollBarAlwaysOff
</enum>
</property>
<property
name=
"dragEnabled"
>
<bool>
true
</bool>
</property>
<property
name=
"dragDropMode"
>
<enum>
QAbstractItemView::InternalMove
</enum>
</property>
<item>
<property
name=
"text"
>
<string>
G722
</string>
</property>
<property
name=
"checkState"
>
<enum>
Checked
</enum>
</property>
</item>
<item>
<property
name=
"text"
>
<string>
speex
</string>
</property>
<property
name=
"checkState"
>
<enum>
Checked
</enum>
</property>
</item>
<item>
<property
name=
"text"
>
<string>
GSM
</string>
</property>
<property
name=
"checkState"
>
<enum>
Unchecked
</enum>
</property>
</item>
<item>
<property
name=
"text"
>
<string>
iLBC
</string>
</property>
<property
name=
"checkState"
>
<enum>
Unchecked
</enum>
</property>
</item>
<item>
<property
name=
"text"
>
<string>
PCMU
</string>
</property>
<property
name=
"checkState"
>
<enum>
Checked
</enum>
</property>
</item>
<item>
<property
name=
"text"
>
<string>
PCMA
</string>
</property>
<property
name=
"checkState"
>
<enum>
Checked
</enum>
</property>
</item>
</widget>
</item>
<item
row=
"2"
column=
"1"
>
<widget
class=
"QListWidget"
name=
"account_video_codecs_list"
>
<property
name=
"horizontalScrollBarPolicy"
>
<enum>
Qt::ScrollBarAlwaysOff
</enum>
</property>
<property
name=
"dragEnabled"
>
<bool>
true
</bool>
</property>
<property
name=
"dragDropMode"
>
<enum>
QAbstractItemView::InternalMove
</enum>
</property>
</widget>
</item>
<item
row=
"3"
column=
"0"
colspan=
"2"
>
<item
row=
"3"
column=
"0"
colspan=
"2"
>
<widget
class=
"QWidget"
name=
"reset_buttons_widget"
native=
"true"
>
<widget
class=
"QWidget"
name=
"reset_buttons_widget"
native=
"true"
>
<layout
class=
"QHBoxLayout"
name=
"reset_buttons_widget_layout"
>
<layout
class=
"QHBoxLayout"
name=
"reset_buttons_widget_layout"
>
...
@@ -505,6 +438,81 @@
...
@@ -505,6 +438,81 @@
</layout>
</layout>
</widget>
</widget>
</item>
</item>
<item
row=
"2"
column=
"0"
>
<widget
class=
"QListWidget"
name=
"account_audio_codecs_list"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Expanding"
vsizetype=
"Preferred"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"horizontalScrollBarPolicy"
>
<enum>
Qt::ScrollBarAlwaysOff
</enum>
</property>
<property
name=
"dragEnabled"
>
<bool>
true
</bool>
</property>
<property
name=
"dragDropMode"
>
<enum>
QAbstractItemView::InternalMove
</enum>
</property>
<item>
<property
name=
"text"
>
<string>
opus
</string>
</property>
<property
name=
"checkState"
>
<enum>
Checked
</enum>
</property>
</item>
<item>
<property
name=
"text"
>
<string>
speex
</string>
</property>
<property
name=
"checkState"
>
<enum>
Checked
</enum>
</property>
</item>
<item>
<property
name=
"text"
>
<string>
G722
</string>
</property>
<property
name=
"checkState"
>
<enum>
Checked
</enum>
</property>
</item>
<item>
<property
name=
"text"
>
<string>
GSM
</string>
</property>
<property
name=
"checkState"
>
<enum>
Unchecked
</enum>
</property>
</item>
<item>
<property
name=
"text"
>
<string>
iLBC
</string>
</property>
<property
name=
"checkState"
>
<enum>
Unchecked
</enum>
</property>
</item>
<item>
<property
name=
"text"
>
<string>
PCMU
</string>
</property>
<property
name=
"checkState"
>
<enum>
Checked
</enum>
</property>
</item>
<item>
<property
name=
"text"
>
<string>
PCMA
</string>
</property>
<property
name=
"checkState"
>
<enum>
Checked
</enum>
</property>
</item>
</widget>
</item>
</layout>
</layout>
</widget>
</widget>
<widget
class=
"QWidget"
name=
"server_settings_tab"
>
<widget
class=
"QWidget"
name=
"server_settings_tab"
>
...
@@ -1561,7 +1569,7 @@
...
@@ -1561,7 +1569,7 @@
</property>
</property>
<item>
<item>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
G722
</string>
<string>
opus
</string>
</property>
</property>
<property
name=
"checkState"
>
<property
name=
"checkState"
>
<enum>
Checked
</enum>
<enum>
Checked
</enum>
...
@@ -1575,6 +1583,14 @@
...
@@ -1575,6 +1583,14 @@
<enum>
Checked
</enum>
<enum>
Checked
</enum>
</property>
</property>
</item>
</item>
<item>
<property
name=
"text"
>
<string>
G722
</string>
</property>
<property
name=
"checkState"
>
<enum>
Checked
</enum>
</property>
</item>
<item>
<item>
<property
name=
"text"
>
<property
name=
"text"
>
<string>
GSM
</string>
<string>
GSM
</string>
...
...
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