/**
   * Pauses the current broadcast and displays the default pause screen.
   *
   * @return Whether or not successfully paused
   */
  public boolean pauseBroadcasting() {
    if (!this.getIsBroadcasting()) {
      return false;
    }

    ErrorCode ret = m_Stream.pauseVideo();
    if (ErrorCode.failed(ret)) {
      // not streaming anymore
      stopBroadcasting();

      String err = ErrorCode.getString(ret);
      reportError(String.format("Error pausing stream: %s\n", err));
    } else {
      setBroadcastState(BroadcastState.Paused);
    }

    return ErrorCode.succeeded(ret);
  }