mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Fix FFmpeg opus audio noisy issue. v5.0.195 (#3845)
Follow the example in FFmpeg's doc, before calling the API `avcodec_send_frame`, always use `av_frame_alloc` to create a new frame. --------- Co-authored-by: Haibo Chen <495810242@qq.com>
This commit is contained in:
parent
d51cabb4b7
commit
268bac58bd
8 changed files with 116 additions and 21 deletions
|
@ -44,7 +44,6 @@ set(DEPS_LIBS ${SRS_DIR}/objs/st/libst.a
|
|||
${SRS_DIR}/objs/srtp2/lib/libsrtp2.a
|
||||
${SRS_DIR}/objs/ffmpeg/lib/libavcodec.a
|
||||
${SRS_DIR}/objs/ffmpeg/lib/libavutil.a
|
||||
${SRS_DIR}/objs/opus/lib/libopus.a
|
||||
${SRS_DIR}/objs/ffmpeg/lib/libswresample.a
|
||||
${SRS_DIR}/objs/srt/lib/libsrt.a)
|
||||
foreach(DEPS_LIB ${DEPS_LIBS})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue