mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-07 13:49: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:
@@ -783,6 +783,13 @@ static struct ast_codec vp8 = {
|
||||
.sample_rate = 1000,
|
||||
};
|
||||
|
||||
static struct ast_codec vp9 = {
|
||||
.name = "vp9",
|
||||
.description = "VP9 video",
|
||||
.type = AST_MEDIA_TYPE_VIDEO,
|
||||
.sample_rate = 1000,
|
||||
};
|
||||
|
||||
static struct ast_codec t140red = {
|
||||
.name = "red",
|
||||
.description = "T.140 Realtime Text with redundancy",
|
||||
@@ -922,6 +929,7 @@ int ast_codec_builtin_init(void)
|
||||
res |= CODEC_REGISTER_AND_CACHE(h264);
|
||||
res |= CODEC_REGISTER_AND_CACHE(mpeg4);
|
||||
res |= CODEC_REGISTER_AND_CACHE(vp8);
|
||||
res |= CODEC_REGISTER_AND_CACHE(vp9);
|
||||
res |= CODEC_REGISTER_AND_CACHE(t140red);
|
||||
res |= CODEC_REGISTER_AND_CACHE(t140);
|
||||
res |= CODEC_REGISTER_AND_CACHE(none);
|
||||
|
Reference in New Issue
Block a user