Android How to catch server access error event in my app
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 33.2k
- Forks
- 8.2k
- PR merge metrics
- No merged PRs in 30d
Description
E/IJKMEDIA: http://xxxx/xxx.ts: Server returned 403 Forbidden (access denied)
D/IJKMEDIA: FFP_MSG_ERROR: 0
I/IJKMEDIA: SDL_JNI_DetachThreadEnv: [19197]
E/tv.danmaku.ijk.media.player.IjkMediaPlayer: Error (-10000,0)
This is log of my app when unknown error happened. I want to catch error event for exception processing. I saw that error was from http.c, and it doesn't deliver error code to JNI, but I need that. Is there any way?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the 403 error from http.c through the JNI path and the Android IjkMediaPlayer error callback, using the posted FFP_MSG_ERROR and Error (-10000,0) logs. Done means confirming whether the server access error code can reach the app for exception handling, or documenting that it is not exposed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, c
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100