Skip to content

Commit

Permalink
Update NodePublisher.java
Browse files Browse the repository at this point in the history
fixed am.setSpeakerphoneOn(true); //added
  • Loading branch information
Chocolladin authored Aug 14, 2020
1 parent 5ccb9c9 commit 652e6d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public void onAudioFocusChange(int focusChange) {

am.requestAudioFocus(sAudioFocusChangeListener, AudioManager.STREAM_MUSIC, AudioManager.AUDIOFOCUS_GAIN);
am.setMode(AudioManager.MODE_IN_COMMUNICATION);
audioManager.setSpeakerphoneOn(true);
am.setSpeakerphoneOn(true); //added
}
publishers.add(this);
}
Expand Down

0 comments on commit 652e6d2

Please sign in to comment.