Merge branch 'develop' of http://25.13.9.101:9000/K17_AITS/tra-app into develop
This commit is contained in:
@@ -396,6 +396,7 @@
|
|||||||
});
|
});
|
||||||
startAudioRecord({
|
startAudioRecord({
|
||||||
onFrame: (pcmData: any) => {
|
onFrame: (pcmData: any) => {
|
||||||
|
console.log('pcmData', pcmData.length);
|
||||||
if (wsStatus.value && ws.value) {
|
if (wsStatus.value && ws.value) {
|
||||||
if (voiceQueue.length > 0) {
|
if (voiceQueue.length > 0) {
|
||||||
voiceQueue.forEach((cachedData) => {
|
voiceQueue.forEach((cachedData) => {
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"minSdkVersion": "35"
|
"minSdkVersion": "29"
|
||||||
}
|
}
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"minSdkVersion": "22"
|
"minSdkVersion": "29"
|
||||||
}
|
}
|
||||||
@@ -61,6 +61,7 @@ export function startAudioRecord(options : StartAudioRecordOptions) : void {
|
|||||||
// const lastVolume = calculateVolumeLight(buffer, readSize);
|
// const lastVolume = calculateVolumeLight(buffer, readSize);
|
||||||
|
|
||||||
// console.log('lastVolume', lastVolume);
|
// console.log('lastVolume', lastVolume);
|
||||||
|
|
||||||
|
|
||||||
options.onFrame?.(data)
|
options.onFrame?.(data)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user