Java Code Examples for tv.danmaku.ijk.media.player.IMediaPlayer#OnErrorListener
The following examples show how to use
tv.danmaku.ijk.media.player.IMediaPlayer#OnErrorListener .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: IjkVideoView.java From MVideo with Apache License 2.0 | 2 votes |
/** * Register a callback to be invoked when an error occurs * during playback or setup. If no listener is specified, * or if the listener returned false, VideoView will inform * the user of any errors. * * @param l The callback that will be run */ public void setOnErrorListener(IMediaPlayer.OnErrorListener l) { mOnErrorListener = l; }
Example 2
Source File: IjkVideoView.java From GiraffePlayer with Apache License 2.0 | 2 votes |
/** * Register a callback to be invoked when an error occurs * during playback or setup. If no listener is specified, * or if the listener returned false, VideoView will inform * the user of any errors. * * @param l The callback that will be run */ public void setOnErrorListener(IMediaPlayer.OnErrorListener l) { mOnErrorListener = l; }
Example 3
Source File: IjkVideoView.java From WliveTV with Apache License 2.0 | 2 votes |
/** * Register a callback to be invoked when an error occurs * during playback or setup. If no listener is specified, * or if the listener returned false, VideoView will inform * the user of any errors. * * @param l The callback that will be run */ public void setOnErrorListener(IMediaPlayer.OnErrorListener l) { mOnErrorListener = l; }
Example 4
Source File: IjkVideoView.java From IjkPlayerDemo with Apache License 2.0 | 2 votes |
/** * Register a callback to be invoked when an error occurs * during playback or setup. If no listener is specified, * or if the listener returned false, VideoView will inform * the user of any errors. * * @param l The callback that will be run */ public void setOnErrorListener(IMediaPlayer.OnErrorListener l) { mOnErrorListener = l; }
Example 5
Source File: IjkVideoView.java From ZZShow with Apache License 2.0 | 2 votes |
/** * Register a callback to be invoked when an error occurs * during playback or setup. If no listener is specified, * or if the listener returned false, VideoView will inform * the user of any errors. * * @param l The callback that will be run */ public void setOnErrorListener(IMediaPlayer.OnErrorListener l) { mOnErrorListener = l; }
Example 6
Source File: IjkVideoView.java From MD with Apache License 2.0 | 2 votes |
/** * Register a callback to be invoked when an error occurs * during playback or setup. If no listener is specified, * or if the listener returned false, VideoView will inform * the user of any errors. * * @param l The callback that will be run */ public void setOnErrorListener(IMediaPlayer.OnErrorListener l) { mOnErrorListener = l; }
Example 7
Source File: IjkVideoView.java From LivePlayback with Apache License 2.0 | 2 votes |
/** * Register a callback to be invoked when an error occurs * during playback or setup. If no listener is specified, * or if the listener returned false, VideoView will inform * the user of any errors. * * @param l The callback that will be run */ public void setOnErrorListener(IMediaPlayer.OnErrorListener l) { mOnErrorListener = l; }
Example 8
Source File: IjkVideoView.java From talk-android with MIT License | 2 votes |
/** * Register a callback to be invoked when an error occurs * during playback or setup. If no listener is specified, * or if the listener returned false, VideoView will inform * the user of any errors. * * @param l The callback that will be run */ public void setOnErrorListener(IMediaPlayer.OnErrorListener l) { mOnErrorListener = l; }
Example 9
Source File: MediaPlayerView.java From HeroVideo-master with Apache License 2.0 | 2 votes |
/** * Register a callback to be invoked when an error occurs * during playback or setup. If no listener is specified, * or if the listener returned false, VideoView will inform * the user of any errors. * * @param l The callback that will be run */ public void setOnErrorListener(IMediaPlayer.OnErrorListener l) { mOnErrorListener = l; }
Example 10
Source File: IjkVideoView.java From TVRemoteIME with GNU General Public License v2.0 | 2 votes |
/** * Register a callback to be invoked when an error occurs * during playback or setup. If no listener is specified, * or if the listener returned false, VideoView will inform * the user of any errors. * * @param l The callback that will be run */ public void setOnErrorListener(IMediaPlayer.OnErrorListener l) { mOnErrorListener = l; }
Example 11
Source File: IjkVideoView.java From TvPlayer with Apache License 2.0 | 2 votes |
/** * Register a callback to be invoked when an error occurs * during playback or setup. If no listener is specified, * or if the listener returned false, VideoView will inform * the user of any errors. * * @param l The callback that will be run */ public void setOnErrorListener(IMediaPlayer.OnErrorListener l) { mOnErrorListener = l; }
Example 12
Source File: IjkVideoView.java From MKVideoPlayer with MIT License | 2 votes |
/** * Register a callback to be invoked when an error occurs * during playback or setup. If no listener is specified, * or if the listener returned false, VideoView will inform * the user of any errors. * * @param l The callback that will be run */ public void setOnErrorListener(IMediaPlayer.OnErrorListener l) { mOnErrorListener = l; }
Example 13
Source File: IjkVideoView.java From ShareBox with Apache License 2.0 | 2 votes |
/** * Register a callback to be invoked when an error occurs * during playback or setup. If no listener is specified, * or if the listener returned false, VideoView will inform * the user of any errors. * * @param l The callback that will be run */ public void setOnErrorListener(IMediaPlayer.OnErrorListener l) { mOnErrorListener = l; }
Example 14
Source File: PlayerView.java From VRPlayer with Apache License 2.0 | 2 votes |
/** * Register a callback to be invoked when an error occurs * during playback or setup. If no listener is specified, * or if the listener returned false, VideoView will inform * the user of any errors. * * @param l The callback that will be run */ public void setOnErrorListener(IMediaPlayer.OnErrorListener l) { mOnErrorListener = l; }
Example 15
Source File: IjkVideoView.java From AndroidTvDemo with Apache License 2.0 | 2 votes |
/** * Register a callback to be invoked when an error occurs during playback or setup. If no listener is specified, or * if the listener returned false, VideoView will inform the user of any errors. * * @param l The callback that will be run */ public void setOnErrorListener(IMediaPlayer.OnErrorListener l) { mOnErrorListener = l; }
Example 16
Source File: MediaPlayerView.java From HeroVideo-master with Apache License 2.0 | 2 votes |
/** * Register a callback to be invoked when an error occurs * during playback or setup. If no listener is specified, * or if the listener returned false, VideoView will inform * the user of any errors. * * @param l The callback that will be run */ public void setOnErrorListener(IMediaPlayer.OnErrorListener l) { mOnErrorListener = l; }
Example 17
Source File: IjkVideoView.java From DanDanPlayForAndroid with MIT License | 2 votes |
/** * Register a callback to be invoked when an error occurs * during playback or setup. If no listener is specified, * or if the listener returned false, VideoView will inform * the user of any errors. * * @param l The callback that will be run */ public void setOnErrorListener(IMediaPlayer.OnErrorListener l) { mOnErrorListener = l; }