mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +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:
@@ -820,6 +820,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",
|
||||
@@ -966,6 +973,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(t38);
|
||||
|
Reference in New Issue
Block a user