title: Notification Sound interrupting Music
body: <p>I am trying to play Notification Sound without disturbing other Music playing</p>
  
  <p>Notification Sound can be played by 2 ways</p>
  
  <p>1) Played by OS itself via NotificationBuilder</p>
  
  <p>Benifits:- Handle itself all the cases of not playing sound in Phone Calls and other cases as well
  Problem:-  When music is playing and notification comes, then it shifts audio focus from music to notification, there by lowering or silencing music depending on how that music player app has handled the loss in audio focus.</p>
  
  <p>2) We play sound via our media Player whenever notification comes</p>
  
  <p>A) Play on NOTIFICATION STREAM ---> works perfectly fine but gives probem of ducking when played via earphones</p>
  
  <p>B) Play on SYSTEM STREAM</p>
  
  <p>Benifits:- No shifting of audio focus, so no effect on music when notification comes</p>
  
  <p>Problem:- We will have to handle other cases of not playing sound in Telephonic call and VOIP as well...and may be other not known cases as of now .</p>
  
  <p>But I figured it that watsup is doing fine.</p>
  
  <p>So don't know how it is doing it</p>