danikula / danikula/AndroidVideoCache

Advanced Error Handling

Abierto
#160 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
5.5k
Forks
1.2k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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!

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
android, java
Área
mobile-dev
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.