mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
core: Add VP9 passthrough support.
This change adds VP9 as a known codec and creates a cached "vp9" media format for use. Change-Id: I025a93ed05cf96153d66f36db1839109cc24c5cc
This commit is contained in:
@@ -1376,7 +1376,8 @@ static int chan_pjsip_indicate(struct ast_channel *ast, int condition, const voi
|
||||
/* FIXME: Only use this for VP8. Additional work would have to be done to
|
||||
* fully support other video codecs */
|
||||
|
||||
if (ast_format_cap_iscompatible_format(ast_channel_nativeformats(ast), ast_format_vp8) != AST_FORMAT_CMP_NOT_EQUAL) {
|
||||
if (ast_format_cap_iscompatible_format(ast_channel_nativeformats(ast), ast_format_vp8) != AST_FORMAT_CMP_NOT_EQUAL ||
|
||||
ast_format_cap_iscompatible_format(ast_channel_nativeformats(ast), ast_format_vp9) != AST_FORMAT_CMP_NOT_EQUAL) {
|
||||
/* FIXME Fake RTP write, this will be sent as an RTCP packet. Ideally the
|
||||
* RTP engine would provide a way to externally write/schedule RTCP
|
||||
* packets */
|
||||
|
Reference in New Issue
Block a user