1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 19:31:53 +00:00
srs/trunk/research/players
chundonglinlin f1db76011b RTC: Refine FFmpeg opus audio noisy issue. v5.0.197 (#3852)
When converting between AAC and Opus formats (aac2opus or opus2aac), the
`av_frame_get_buffer` API is frequently called.

The goal is to optimize the code logic and reduce the frequent
allocation and deallocation of memory.

In the case of aac2opus, av_frame_get_buffer is still frequently called.
In the case of opus2aac, the goal is to avoid calling
av_frame_get_buffer and reduce memory allocations.

Before calling the `av_audio_fifo_read` API, use
`av_frame_make_writable` to check if the frame is writable. If it is not
writable, create a new frame.

---------

Co-authored-by: john <hondaxiao@tencent.com>
2023-11-04 16:28:52 +08:00
..
css remove the wizard control, too complex 2013-12-22 19:51:07 +08:00
img add fullscreen event and rescale 2013-12-21 01:04:29 +08:00
js RTC: Refine FFmpeg opus audio noisy issue. v5.0.197 (#3852) 2023-11-04 16:28:52 +08:00
api-server_index.html Upgrade jquery from 1.10.2 to 1.12.2 (#3571) 2023-06-30 06:29:50 +08:00
crossdomain.xml add crossdomain.xml 2013-12-18 14:30:48 +08:00
index.html Upgrade jquery from 1.10.2 to 1.12.2 (#3571) 2023-06-30 06:29:50 +08:00
nginx_index.html refine the demo pages, move scripts after body. 2015-08-20 15:19:43 +08:00
rtc_player.html Support build without cache to test if actions fail. v5.0.196 (#3858) 2023-11-01 17:49:51 +08:00
rtc_publisher.html Support build without cache to test if actions fail. v5.0.196 (#3858) 2023-11-01 17:49:51 +08:00
srs-http-server_index.html Upgrade jquery from 1.10.2 to 1.12.2 (#3571) 2023-06-30 06:29:50 +08:00
srs_bwt.html Support build without cache to test if actions fail. v5.0.196 (#3858) 2023-11-01 17:49:51 +08:00
srs_chat.html Support build without cache to test if actions fail. v5.0.196 (#3858) 2023-11-01 17:49:51 +08:00
srs_gb28181.html Support build without cache to test if actions fail. v5.0.196 (#3858) 2023-11-01 17:49:51 +08:00
srs_player.html RTC: Refine FFmpeg opus audio noisy issue. v5.0.197 (#3852) 2023-11-04 16:28:52 +08:00
srs_player_deprecated.html Support build without cache to test if actions fail. v5.0.196 (#3858) 2023-11-01 17:49:51 +08:00
srs_publisher.html Support build without cache to test if actions fail. v5.0.196 (#3858) 2023-11-01 17:49:51 +08:00
srs_publisher_flash.html Support build without cache to test if actions fail. v5.0.196 (#3858) 2023-11-01 17:49:51 +08:00
vlc.html Support build without cache to test if actions fail. v5.0.196 (#3858) 2023-11-01 17:49:51 +08:00
whep.html RTC: Refine FFmpeg opus audio noisy issue. v5.0.197 (#3852) 2023-11-04 16:28:52 +08:00
whip.html RTC: Refine FFmpeg opus audio noisy issue. v5.0.197 (#3852) 2023-11-04 16:28:52 +08:00