mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-14 00:43:02 -06:00
Fix a typo which causes audio call being everytime instead of when needed. Thanks to @robbiet480 for reporting the issue
This commit is contained in:
parent
ba025dc1e4
commit
14d1da280a
|
|
@ -596,7 +596,7 @@ export class AppRdioScannerService implements OnDestroy {
|
|||
}
|
||||
}
|
||||
|
||||
private messageParser(message): void {
|
||||
private messageParser(message: any): void {
|
||||
try {
|
||||
message = JSON.parse(message);
|
||||
|
||||
|
|
|
|||
|
|
@ -331,7 +331,7 @@ class Controller {
|
|||
return;
|
||||
}
|
||||
|
||||
if (call.autioType !== 'audio/aac') {
|
||||
if (call.audioType !== 'audio/aac') {
|
||||
try {
|
||||
call = await this.convertCallAudio(call);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue