Commit 3db770b5 authored by jyx's avatar jyx

代码优化

parent 99666259
......@@ -54,6 +54,8 @@ public class TXVodPlayerWrapper implements ITXVodPlayListener {
public void onPlayEvent(TXVodPlayer txVodPlayer, int event, Bundle bundle) {
switch (event) {
case PLAY_EVT_VOD_PLAY_PREPARED:
if (mStatus == TxVodStatus.TX_VIDEO_PLAYER_STATUS_PAUSED) return;
playerStatusChanged(TxVodStatus.TX_VIDEO_PLAYER_STATUS_PREPARED);
Log.i(TAG, "[onPlayEvent] , startOnPrepare," + mStartOnPrepare + ",mVodPlayer "
+ mVodPlayer.hashCode() + " mUrl " + mUrl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment