mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
core: Add H.265/HEVC passthrough support
This change adds H.265/HEVC as a known codec and creates a cached "h265" media format for use. Note that RFC 7798 section 7.2 also describes additional SDP parameters. Handling of these is not yet supported. ASTERISK-28512 Change-Id: I26d262cc4110b4f7e99348a3ddc53bad0d2cd1f2
This commit is contained in:
@@ -3611,6 +3611,7 @@ int ast_rtp_engine_init(void)
|
||||
set_next_mime_type(ast_format_h263, 0, "video", "H263", 90000);
|
||||
set_next_mime_type(ast_format_h263p, 0, "video", "h263-1998", 90000);
|
||||
set_next_mime_type(ast_format_h264, 0, "video", "H264", 90000);
|
||||
set_next_mime_type(ast_format_h265, 0, "video", "H265", 90000);
|
||||
set_next_mime_type(ast_format_mp4, 0, "video", "MP4V-ES", 90000);
|
||||
set_next_mime_type(ast_format_t140_red, 0, "text", "RED", 1000);
|
||||
set_next_mime_type(ast_format_t140, 0, "text", "T140", 1000);
|
||||
@@ -3662,6 +3663,7 @@ int ast_rtp_engine_init(void)
|
||||
add_static_payload(106, ast_format_t140, 0); /* Real time text chat */
|
||||
add_static_payload(107, ast_format_opus, 0);
|
||||
add_static_payload(108, ast_format_vp9, 0);
|
||||
add_static_payload(109, ast_format_h265, 0);
|
||||
|
||||
add_static_payload(110, ast_format_speex, 0);
|
||||
add_static_payload(111, ast_format_g726, 0);
|
||||
|
Reference in New Issue
Block a user