Commit bae6356aa5911cd69ce4c5296dd092eafd904408
1 parent
8595ba25
提交文档
Showing
2 changed files
with
1 additions
and
1 deletions
app/libs/libcnliveutil.jar
No preview for this file type
app/src/main/java/com/cnlive/demo/video/VideoStatusActivity.java
| @@ -114,7 +114,7 @@ public class VideoStatusActivity extends Activity implements View.OnClickListene | @@ -114,7 +114,7 @@ public class VideoStatusActivity extends Activity implements View.OnClickListene | ||
| 114 | case IVideoStatus.MEDIA_STATUS_LIVING: | 114 | case IVideoStatus.MEDIA_STATUS_LIVING: |
| 115 | //直播中' | 115 | //直播中' |
| 116 | canPlay = true; | 116 | canPlay = true; |
| 117 | - if (videoView != null && !videoView.isPlaying()) | 117 | + if (videoView != null && !videoView.getPlayState()) |
| 118 | videoView.reload(); | 118 | videoView.reload(); |
| 119 | setStatusViewVisible(false, ""); | 119 | setStatusViewVisible(false, ""); |
| 120 | Toast.makeText(VideoStatusActivity.this, "直播中", Toast.LENGTH_LONG).show(); | 120 | Toast.makeText(VideoStatusActivity.this, "直播中", Toast.LENGTH_LONG).show(); |