Java Code Examples for tv.danmaku.ijk.media.player.IjkMediaPlayer#native_profileEnd()

The following examples show how to use tv.danmaku.ijk.media.player.IjkMediaPlayer#native_profileEnd() . 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: FullScreenVideoActivity.java    From AndroidTvDemo with Apache License 2.0 6 votes vote down vote up
@Override
protected void onStop()
{
    super.onStop();
    
    if (mBackPressed || !mVideoView.isBackgroundPlayEnabled())
    {
        mVideoView.stopPlayback();
        mVideoView.release(true);
        mVideoView.stopBackgroundPlay();
    }
    else
    {
        mVideoView.enterBackground();
    }
    IjkMediaPlayer.native_profileEnd();
}
 
Example 2
Source File: LiveVideoActivity.java    From AndroidTvDemo with Apache License 2.0 6 votes vote down vote up
@Override
protected void onStop()
{
    super.onStop();
    
    if (mBackPressed || !mVideoView.isBackgroundPlayEnabled())
    {
        mVideoView.stopPlayback();
        mVideoView.release(true);
        mVideoView.stopBackgroundPlay();
    }
    else
    {
        mVideoView.enterBackground();
    }
    IjkMediaPlayer.native_profileEnd();
}
 
Example 3
Source File: MainActivity.java    From AndroidTvDemo with Apache License 2.0 6 votes vote down vote up
@Override
protected void onStop()
{
    super.onStop();
    
    if (!mVideoView.isBackgroundPlayEnabled())
    {
        mVideoView.stopPlayback();
        mVideoView.release(true);
        mVideoView.stopBackgroundPlay();
    }
    else
    {
        mVideoView.enterBackground();
    }
    IjkMediaPlayer.native_profileEnd();
}
 
Example 4
Source File: LiveActivityRel.java    From TvPlayer with Apache License 2.0 5 votes vote down vote up
@Override
protected void onStop() {
    super.onStop();
    if (!mVideoView.isBackgroundPlayEnabled()) {
        mVideoView.stopPlayback();
        mVideoView.release(true);
        mVideoView.stopBackgroundPlay();
    }
    IjkMediaPlayer.native_profileEnd();
}
 
Example 5
Source File: LiveActivity.java    From LivePlayback with Apache License 2.0 5 votes vote down vote up
@Override
protected void onStop() {
    super.onStop();
    if (!mVideoView.isBackgroundPlayEnabled()) {
        mVideoView.stopPlayback();
        mVideoView.release(true);
        mVideoView.stopBackgroundPlay();
    }
    IjkMediaPlayer.native_profileEnd();
}
 
Example 6
Source File: LiveActivity.java    From WliveTV with Apache License 2.0 5 votes vote down vote up
@Override
protected void onStop() {
    super.onStop();
    if (mBackPressed || !videoView.isBackgroundPlayEnabled()) {
        videoView.stopPlayback();
        videoView.release(true);
        videoView.stopBackgroundPlay();
    }
    IjkMediaPlayer.native_profileEnd();
}
 
Example 7
Source File: ParsingPlayer.java    From ParsingPlayer with GNU Lesser General Public License v2.1 4 votes vote down vote up
@Override
protected void finalize() throws Throwable {
    super.finalize();
    IjkMediaPlayer.native_profileEnd();
}