Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E/MediaPlayer-JNI: QCMediaPlayer mediaplayer NOT present #1

Open
hynra opened this issue Feb 24, 2017 · 0 comments
Open

E/MediaPlayer-JNI: QCMediaPlayer mediaplayer NOT present #1

hynra opened this issue Feb 24, 2017 · 0 comments
Labels

Comments

@hynra
Copy link
Member

hynra commented Feb 24, 2017

MediaPlayer throws NOT present error when creating Media Player.

Terjadi ketika CCTV Player mulai memutar video CCTV, tetapi tidak menyebabkan UI crash / force close.

    @Override
    public void onPrepared(MediaPlayer mp) {
        hideDialog();
        try {
            if (!mediaController.isShowing()) mediaController.show();
        }catch (Exception e){
            Log.i(this.getClass().getSimpleName(), "Media Control Exception");
        }
    }
@hynra hynra added the bug label Feb 24, 2017
hynra added a commit that referenced this issue Feb 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant