From 8a52a752da7e6704198757c09b5449354c74d7b6 Mon Sep 17 00:00:00 2001 From: DENGCHU Date: Tue, 30 Jan 2018 21:47:57 +0800 Subject: [PATCH] sei listener --- .../player/old/ui/activity/player/TextureVideoActivity.java | 4 ++-- .../player/old/ui/activity/player/TextureVodActivity.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/KsyunPlayerDemo/oldplayerdemo/src/main/java/com/ksyun/player/old/ui/activity/player/TextureVideoActivity.java b/KsyunPlayerDemo/oldplayerdemo/src/main/java/com/ksyun/player/old/ui/activity/player/TextureVideoActivity.java index 8d08320..6ace400 100755 --- a/KsyunPlayerDemo/oldplayerdemo/src/main/java/com/ksyun/player/old/ui/activity/player/TextureVideoActivity.java +++ b/KsyunPlayerDemo/oldplayerdemo/src/main/java/com/ksyun/player/old/ui/activity/player/TextureVideoActivity.java @@ -306,8 +306,8 @@ public boolean onInfo(IMediaPlayer iMediaPlayer, int i, int i1) { private IMediaPlayer.OnMessageListener mOnMessageListener = new IMediaPlayer.OnMessageListener() { @Override - public void onMessage(IMediaPlayer iMediaPlayer, String name, String info, double number) { - Log.e(TAG, "name:" + name + ",info:" + info + ",number:" + number); + public void onMessage(IMediaPlayer iMediaPlayer, Bundle bundle) { + Log.e(TAG, "name:" + bundle.toString()); } }; diff --git a/KsyunPlayerDemo/oldplayerdemo/src/main/java/com/ksyun/player/old/ui/activity/player/TextureVodActivity.java b/KsyunPlayerDemo/oldplayerdemo/src/main/java/com/ksyun/player/old/ui/activity/player/TextureVodActivity.java index f8740c8..a51f403 100755 --- a/KsyunPlayerDemo/oldplayerdemo/src/main/java/com/ksyun/player/old/ui/activity/player/TextureVodActivity.java +++ b/KsyunPlayerDemo/oldplayerdemo/src/main/java/com/ksyun/player/old/ui/activity/player/TextureVodActivity.java @@ -326,8 +326,8 @@ public boolean onInfo(IMediaPlayer iMediaPlayer, int i, int i1) { private IMediaPlayer.OnMessageListener mOnMessageListener = new IMediaPlayer.OnMessageListener() { @Override - public void onMessage(IMediaPlayer iMediaPlayer, String name, String info, double number) { - Log.e(TAG, "name:" + name + ",info:" + info + ",number:" + number); + public void onMessage(IMediaPlayer iMediaPlayer,Bundle bundle) { + Log.e(TAG, "name:" + bundle.toString()); } };