Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复边录边转mp3丢失1秒左右的问题 #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xiaohuapunk
Copy link

排查发现是因为停止录音时 length 不够 PCM_SIZE * 2 导致剩余的部分没有转码

@monologue555
Copy link

问题并没有得到解决!使用AVURLAsset(...).duration.seconds方法获取的mp3时长比caf每次都多出0.1s,但播放这两个文件很容易辨别出mp3明显不完整,尾部还是失帧了。

@CivelXu
Copy link
Owner

CivelXu commented Jul 2, 2019

@monologue555 能解释修改的说明吗? 结束录制的时候 再读取一部分 pcm ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants