@Override
 public void onClick(View v) {
   if (mBroadcaster.isRecording()) {
     showEndBroadcastConfirmationDialog();
   } else {
     setBannerToBufferingState();
     mBroadcaster.startRecording();
     stopMonitoringOrientation();
     //                v.setBackgroundResource(R.drawable.red_dot_stop);
   }
 }
  @Override
  public void onResume() {
    super.onResume();

    MainActivity.userBusyNow = true;

    if (mBroadcaster != null) {
      mBroadcaster.onHostActivityResumed();

      if (!mBroadcaster.isRecording()) {
        setBannerToBufferingState();
        mBroadcaster.startRecording();
      }
    }
    //        startMonitoringOrientation();
  }