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 v6.0.95 (#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
9b07d840ed
commit
9238f09b0b
10 changed files with 119 additions and 23 deletions
|
@ -298,8 +298,6 @@ namespace srs_internal
|
|||
{
|
||||
srs_error_t err = srs_success;
|
||||
|
||||
int32_t bits_count = 1024;
|
||||
|
||||
close();
|
||||
|
||||
//1. Create the DH
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue