danikula / danikula/AndroidVideoCache

Advanced Error Handling

Ouverte
#160 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
5.5k
Forks
1.2k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Hi,

in my app it's not always guaranteed, that the URL for streaming is still available. Therefore I somehow need to know when AndroidVideoCache fails to open the URL. It would be cool, if you didn't catch the exceptions, but throw them, so we can try/catch them ourselves. So for example `proxy.getProxyUrl(url);` throws `ProxyCacheException`. Or is there another way you suggest? I don't want to `HEAD` request the resource first, just to check if it's available.

Any ideas? Thanks!

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start at the proxy.getProxyUrl(url) entry point and trace how ProxyCacheException is handled when the streaming URL cannot be opened. Determine the current observable failure behavior and define what callers should be able to catch or inspect; done means the requested failure handling is consistent without requiring a preliminary HEAD request.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
android, java
Domaine
mobile-dev
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.