Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
mediastreamer2
Commits
b295a8ee
Commit
b295a8ee
authored
May 13, 2014
by
Ghislain MARY
Browse files
Replace --avpf option of mediastream by --no-avpf to have AVPF enabled by default.
parent
4787dd46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
tools/mediastream.c
tools/mediastream.c
+4
-4
No files found.
tools/mediastream.c
View file @
b295a8ee
...
...
@@ -211,7 +211,7 @@ const char *usage="mediastream --local <port> --remote <ip:port> \n"
"[ --ice-remote-candidate <ip:port:[host|srflx|prflx|relay]> ]
\n
"
"[ --mtu <mtu> (specify MTU)]
\n
"
"[ --interactive (run in interactive mode)]
\n
"
"[ --avpf]
\n
"
"[ --
no-
avpf]
\n
"
;
#if TARGET_OS_IPHONE
...
...
@@ -305,7 +305,7 @@ MediastreamDatas* init_default_args() {
args
->
custom_pt
=
NULL
;
args
->
video_window_id
=
-
1
;
args
->
preview_window_id
=
-
1
;
args
->
enable_avpf
=
FALS
E
;
args
->
enable_avpf
=
TRU
E
;
/* starting values echo canceller */
args
->
ec_len_ms
=
args
->
ec_delay_ms
=
args
->
ec_framesize
=
0
;
args
->
enable_srtp
=
FALSE
;
...
...
@@ -516,8 +516,8 @@ bool_t parse_args(int argc, char** argv, MediastreamDatas* out) {
}
}
else
if
(
strcmp
(
argv
[
i
],
"--interactive"
)
==
0
){
out
->
interactive
=
TRUE
;
}
else
if
(
strcmp
(
argv
[
i
],
"--avpf"
)
==
0
)
{
out
->
enable_avpf
=
TRU
E
;
}
else
if
(
strcmp
(
argv
[
i
],
"--
no-
avpf"
)
==
0
)
{
out
->
enable_avpf
=
FALS
E
;
}
else
if
(
strcmp
(
argv
[
i
],
"--help"
)
==
0
){
printf
(
"%s"
,
usage
);
...
...
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