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
146e4d65
Commit
146e4d65
authored
May 07, 2014
by
jehan
Browse files
enable PAYLOAD_TYPE_RTCP_FEEDBACK_ENABLED for custom type VP8 in mediastream tool
parent
0cbc59ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
tools/mediastream.c
tools/mediastream.c
+3
-0
No files found.
tools/mediastream.c
View file @
146e4d65
...
...
@@ -1142,6 +1142,9 @@ static PayloadType* create_custom_payload_type(const char *type, const char *sub
exit
(
-
1
);
}
pt
->
mime_type
=
ms_strdup
(
subtype
);
if
(
strcasecmp
(
pt
->
mime_type
,
"VP8"
)
==
0
)
{
/*special case for vp8*/
pt
->
flags
=
PAYLOAD_TYPE_RTCP_FEEDBACK_ENABLED
;
}
pt
->
clock_rate
=
atoi
(
rate
);
pt
->
channels
=
atoi
(
channels
);
return
pt
;
...
...
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