Skip to content

Commit

Permalink
Disable forced speakerphone for now
Browse files Browse the repository at this point in the history
  • Loading branch information
clone1018 committed Mar 18, 2022
1 parent 3de416f commit bb0e9a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/components/FTLPlayer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ class _FTLPlayerState extends State<FTLPlayer> {

_setupSpeakerphone() async {
if (plugin != null && plugin!.remoteStream != null) {
plugin!.remoteStream!.forEach((stream) {
stream.getAudioTracks()[0].enableSpeakerphone(true);
});
// plugin!.remoteStream!.forEach((stream) {
// stream.getAudioTracks()[0].enableSpeakerphone(true);
// });

// MediaStream? remoteStream = await plugin!.remoteStream!.first;
// if (remoteStream.active != null && remoteStream.active!) {
Expand Down

0 comments on commit bb0e9a7

Please sign in to comment.