gang544043963 / lgaudiokit Goto Github PK
View Code? Open in Web Editor NEW语音录制与播放控件,录制格式为caf,可转换为amr格式(安卓支持的格式),播放支持caf、AMR、WAV
License: MIT License
语音录制与播放控件,录制格式为caf,可转换为amr格式(安卓支持的格式),播放支持caf、AMR、WAV
License: MIT License
(void)showShotTimeSign:(UIView *)view {
_imageViewAnimation.hidden = YES;
_talkPhone.hidden = YES;
_cancelTalk.hidden = YES;
_shotTime.hidden = NO;
_countDownLabel.hidden = YES;
[_textLable setFrame:CGRectMake(0, 100, 130, 25)];
_textLable.text = @"说话时间太短";
_textLable.backgroundColor = [UIColor clearColor];
[self performSelector:@selector(stopSoundRecord:) withObject:view afterDelay:1.5f];
}
你好,amrFileCodec文件跟环信的冲突,请问有解决方法吗?
Hello Sir. I'm a Graphics Designer. I'm happy to see an open source project, So, I want provide a logo for you. Would you mind if I propose a new logo design for your project as my Open Source Contribution?
Thanks for the attention.
声音播放,动画无法自动停止
录音的文件URLString是有值的,但是调用audioDataFromURLString:这个方法的时候,返回的audioData是一个空值,导致不能播放,还有就是录音提示的最后出现-1秒,时间的判断在考虑一下
1.未读消息用红点标识
2.从后台请求下来得未读消息能够连续播放
屏蔽这个,就可以,但是不知道会不会又影响
手指向上滑动松开取消录音以后,LGSoundRecorder中的levelTimer并没有释放,内存没有释放,建议优化相关代码
有没有想过存储在数据库里面???
录音时间过短的时候,文件没有删除,因为你的stopSoundRecord: 这个方法在录音短的时候是这么调用[self performSelector:@selector(stopSoundRecord:) withObject:view afterDelay:1.5f]; 延迟了1.5秒执行,原因应该是让HUD显示1.5秒,这时候再去取录音时间的话,应该是1.5秒之后的时间,你判断删除的逻辑,认为你录音的1.5秒以上 所以不会删除
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.