vlc-android-sdk
vlc-android-sdk copied to clipboard
How to catch libvlc exception in android application?
Dear admin,I got http stream properly but how did i catch the libvlc exception so i show the dialog, if stream url is not working.
An example of this is what I have:
catch (Exception e) { Toast.makeText(this, "Error creating player!", Toast.LENGTH_LONG).show(); }
You could edit this to be used where you want, for instance, if you can't open the stream you can use a similar exception and toast to the screen.
I did not get any expention like that. Is there any different logic for that ?
I just need to exept " libvlc input: VLC is unable to open the MRL ".