Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
liblinphone
Commits
7b074dcc
Commit
7b074dcc
authored
9 years ago
by
Gautier Pelloux-Prayer
Browse files
Options
Download
Patches
Plain Diff
dtmf_tester.c: do not try Opus test if codec is not avalaible
parent
9dbaa429
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tester/dtmf_tester.c
+4
-0
tester/dtmf_tester.c
with
4 additions
and
0 deletions
tester/dtmf_tester.c
+
4
−
0
View file @
7b074dcc
...
...
@@ -39,6 +39,10 @@ void send_dtmf_base(bool_t use_rfc2833, bool_t use_sipinfo, char dtmf, char* dtm
pauline
=
linphone_core_manager_new
(
"pauline_tcp_rc"
);
if
(
use_opus
)
{
if
(
!
ms_filter_codec_supported
(
"opus"
))
{
ms_warning
(
"Opus not supported, skipping test."
);
return
;
}
disable_all_audio_codecs_except_one
(
marie
->
lc
,
"opus"
,
48000
);
disable_all_audio_codecs_except_one
(
pauline
->
lc
,
"opus"
,
48000
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets