mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 11:11:05 +00:00
Merge "Remove SILK payload mappings from Asterisk core." into 13
This commit is contained in:
@@ -2200,11 +2200,6 @@ int ast_rtp_engine_init(void)
|
|||||||
/* Opus and VP8 */
|
/* Opus and VP8 */
|
||||||
set_next_mime_type(ast_format_opus, 0, "audio", "opus", 48000);
|
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_vp8, 0, "video", "VP8", 90000);
|
||||||
/* DA SILK */
|
|
||||||
set_next_mime_type(ast_format_silk8, 0, "audio", "silk", 8000);
|
|
||||||
set_next_mime_type(ast_format_silk12, 0, "audio", "silk", 12000);
|
|
||||||
set_next_mime_type(ast_format_silk16, 0, "audio", "silk", 16000);
|
|
||||||
set_next_mime_type(ast_format_silk24, 0, "audio", "silk", 24000);
|
|
||||||
|
|
||||||
/* Define the static rtp payload mappings */
|
/* Define the static rtp payload mappings */
|
||||||
add_static_payload(0, ast_format_ulaw, 0);
|
add_static_payload(0, ast_format_ulaw, 0);
|
||||||
@@ -2250,11 +2245,6 @@ int ast_rtp_engine_init(void)
|
|||||||
add_static_payload(100, ast_format_vp8, 0);
|
add_static_payload(100, ast_format_vp8, 0);
|
||||||
add_static_payload(107, ast_format_opus, 0);
|
add_static_payload(107, ast_format_opus, 0);
|
||||||
|
|
||||||
add_static_payload(108, ast_format_silk8, 0);
|
|
||||||
add_static_payload(109, ast_format_silk12, 0);
|
|
||||||
add_static_payload(113, ast_format_silk16, 0);
|
|
||||||
add_static_payload(114, ast_format_silk24, 0);
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user