mirror of
https://github.com/amigan/calls.git
synced 2024-11-21 04:19:47 -05:00
try to play
This commit is contained in:
parent
5a8e7c7690
commit
c411a007e6
1 changed files with 1 additions and 3 deletions
|
@ -7,8 +7,6 @@ class Player {
|
|||
final player = AudioPlayer();
|
||||
Player();
|
||||
Future<void> play(Call call) {
|
||||
print('play!');
|
||||
return Future.delayed(const Duration(seconds: 1));
|
||||
// return player.play(BytesSource(Uint8List.fromList(call.audio)));
|
||||
return player.play(BytesSource(Uint8List.fromList(call.audio)));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue