Skip to content

Commit 587eeed

Browse files
committed
revert(audio): disable AudioManager for future work
1 parent c78803a commit 587eeed

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/src/method_channel/web_callkit_method_channel.dart

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ class MethodChannelWebCallkit extends WebCallkitPlatform {
1919
static const tag = 'web_callkit';
2020
final Map<String, CallTimer> _timers = {};
2121

22-
// ignore: unused_field
23-
late final AudioManager _audioManager;
22+
// late final AudioManager _audioManager;
2423
late final CallManager _callManager;
2524
late final NotificationManager _notificationManager;
2625

@@ -48,11 +47,11 @@ class MethodChannelWebCallkit extends WebCallkitPlatform {
4847
final methodChannel = const MethodChannel('web_callkit');
4948

5049
MethodChannelWebCallkit({
51-
AudioManager? audioManager,
50+
// AudioManager? audioManager,
5251
CallManager? callManager,
5352
NotificationManager? notificationManager,
5453
CKConfiguration? configuration,
55-
}) : _audioManager = audioManager ?? AudioManager(),
54+
}) : /*_audioManager = audioManager ?? AudioManager(),*/
5655
_callManager = callManager ?? CallManager(),
5756
_notificationManager = notificationManager ?? NotificationManagerImpl(),
5857
_configuration = configuration ?? WebCallkitPlatform.defaultConfiguration,

0 commit comments

Comments
 (0)