the html img tag occupy 20px size in safari.
427104f1da/trunk/research/players/rtc_player.html (L19)
> <img width="1011" alt="Screenshot 2024-04-17 at 9 17 07 AM"
src="79a4edf8-5bbf-4300-8817-039088f13283">
(ignore the img css warning: `auto\9;` it's another problem, I will file
another PR.)
but, the empty img tag just occupy 1px size in chrome. So I guess it's a
html compatible problem.
> <img width="608" alt="Screenshot 2024-04-17 at 9 46 33 AM"
src="40cb2eb6-3a6d-4bb7-9b17-51c5fd6d2272">
---------
`TRANS_BY_GPT4`
---------
Co-authored-by: winlin <winlinvip@gmail.com>
### Description
When converting between AAC and Opus formats (aac2opus or opus2aac), the
`av_frame_get_buffer` API is frequently called.
### Objective
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.
### Additional Note
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>
By default, caching is enabled during compilation, which means that data
is cached in Docker. This helps to avoid compiling third-party
dependency libraries. However, sometimes when updating third-party
libraries, it's necessary to disable caching to temporarily verify if
the pipeline can succeed. Therefore, a configure option should be added.
When this option is enabled, the compilation cache will not be used, and
all third-party libraries will be compiled from scratch.
---------
Co-authored-by: winlin <winlinvip@gmail.com>