/**
  * Force this fragment to stop broadcasting. Useful if your application wants to stop broadcasting
  * when a user leaves the Activity hosting this fragment
  */
 public void stopBroadcasting() {
   if (mBroadcaster.isRecording()) {
     mBroadcaster.stopRecording();
     mBroadcaster.release();
   }
 }