Commit 146e4d65 authored by jehan's avatar jehan

enable PAYLOAD_TYPE_RTCP_FEEDBACK_ENABLED for custom type VP8 in mediastream tool

parent 0cbc59ea
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment