diff options
author | Joshua Colp <jcolp@digium.com> | 2017-07-24 18:30:59 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2017-07-24 18:46:28 +0000 |
commit | 24bb5a89089caca8e16989bab7458617b91e4ef4 (patch) | |
tree | a3ff6b0fde8a84cbd901f732cab380739740b8fd /main/rtp_engine.c | |
parent | 07f8e45a90d768efcc32a4e4f392162912c86f0f (diff) |
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
Diffstat (limited to 'main/rtp_engine.c')
-rw-r--r-- | main/rtp_engine.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/main/rtp_engine.c b/main/rtp_engine.c index 33770877c..11c1b937d 100644 --- a/main/rtp_engine.c +++ b/main/rtp_engine.c @@ -2695,9 +2695,10 @@ int ast_rtp_engine_init(void) set_next_mime_type(ast_format_siren7, 0, "audio", "G7221", 16000); set_next_mime_type(ast_format_siren14, 0, "audio", "G7221", 32000); set_next_mime_type(ast_format_g719, 0, "audio", "G719", 48000); - /* Opus and VP8 */ + /* Opus, VP8, and VP9 */ set_next_mime_type(ast_format_opus, 0, "audio", "opus", 48000); set_next_mime_type(ast_format_vp8, 0, "video", "VP8", 90000); + set_next_mime_type(ast_format_vp9, 0, "video", "VP9", 90000); /* Define the static rtp payload mappings */ add_static_payload(0, ast_format_ulaw, 0); @@ -2730,6 +2731,8 @@ int ast_rtp_engine_init(void) add_static_payload(104, ast_format_mp4, 0); add_static_payload(105, ast_format_t140_red, 0); /* Real time text chat (with redundancy encoding) */ add_static_payload(106, ast_format_t140, 0); /* Real time text chat */ + add_static_payload(108, ast_format_vp9, 0); + add_static_payload(110, ast_format_speex, 0); add_static_payload(111, ast_format_g726, 0); add_static_payload(112, ast_format_g726_aal2, 0); |