fix:调整发送g711音频数据
This commit is contained in:
parent
df71e2ceb7
commit
4e7af4fdf8
@ -599,7 +599,7 @@ class TalkViewLogic extends BaseGetXController {
|
||||
// 编码为 A-law
|
||||
final aLawSamples = listLinearToALaw(pcmSamples, isUnsigned: true);
|
||||
|
||||
final encode = DartG711Codec().encode(Uint8List.fromList(pcmSamples));
|
||||
|
||||
AppLog.log('msg');
|
||||
|
||||
// AppLog.log('录制的音频数据(A-law):$aLawFrame, size:${aLawFrame.length}');
|
||||
|
||||
@ -263,7 +263,7 @@ dependencies:
|
||||
fixnum: ^1.1.1
|
||||
# 图片预览
|
||||
photo_view: ^0.15.0
|
||||
g711_flutter: ^2.1.1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user