/** 关闭DLNA */
  private void closeDLNA() {
    VDVideoViewController controller = VDVideoViewController.getInstance(mContext);
    VDVideoInfo mVideoInfo = null;
    if (controller != null) {
      mVideoInfo = controller.getCurrentVideo();
    }
    unregisterOnDLNAMediaControllerListener();
    ((View) mVideoView).setVisibility(VISIBLE);
    DLNAController.mIsDLNA = false;

    int progress = VDPlayerSoundManager.getCurrSoundVolume(mContext);
    int maxVolume = VDPlayerSoundManager.getMaxSoundVolume(mContext);
    if (controller != null) controller.notifySetCurVolume(progress);
    if (controller != null) controller.notifySetMaxVolume(maxVolume);
    if (VDUtility.isLocalUrl(mVideoInfo.mPlayUrl)) {
      mVideoView.setVideoPath(mVideoInfo.mPlayUrl);
    } else {
      mVideoView.setVideoPath(DLNAController.getInstance(mContext).mPlayUrl);
    }
    if (!mVideoInfo.mIsLive) {
      Log.i("DLNA", "back_seek  : " + DLNAController.getInstance(mContext).mPosition);
      mVideoView.seekTo(DLNAController.getInstance(mContext).mPosition);
    }
    mVideoView.start();
    if (controller != null) controller.notifyShowLoading();
  }
 @Override
 public void onSoundVisible(boolean isVisible) {
   int soundIndex = VDPlayerSoundManager.getCurrSoundVolume(mContext);
   if (soundIndex <= 0) {
     setBackgroundResource(mSilentResID);
   } else {
     setBackgroundResource(mResID);
   }
   if (isVisible) {
     setPressed(true);
   } else {
     setPressed(false);
   }
 }