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 | 114 | case IVideoStatus.MEDIA_STATUS_LIVING: |
| 115 | 115 | //直播中' |
| 116 | 116 | canPlay = true; |
| 117 | - if (videoView != null && !videoView.isPlaying()) | |
| 117 | + if (videoView != null && !videoView.getPlayState()) | |
| 118 | 118 | videoView.reload(); |
| 119 | 119 | setStatusViewVisible(false, ""); |
| 120 | 120 | Toast.makeText(VideoStatusActivity.this, "直播中", Toast.LENGTH_LONG).show(); | ... | ... |