HTTPDataSource error codes
<p>I'm curious about debugging some of the error codes I get from the MediaPlayer... specifically the "AwesomePlayer" and "StagefrightPlayer" sub-modules
<br/>
<br/>
<br/>
I found this "Android Open Source Project" on the internet that seems to expose some of the code driving these modules, or perhaps it is emulator-code in much the same way the public WINE source codes expose the emulators "interpretation" of the real code
<br/>
<br/>
<br/>
<a href="https://www.codeaurora.org/git/projects/qrd-gb-dsds-7225/repository/revisions/f6156a77044113680d038934b06bde333a1e69ea/entry/frameworks/base/media/libstagefright/HTTPDataSource.cpp" rel="nofollow">https://www.codeaurora.org/git/projects/qrd-gb-dsds-7225/repository/revisions/f6156a77044113680d038934b06bde333a1e69ea/entry/frameworks/base/media/libstagefright/HTTPDataSource.cpp</a>
<br/>
<br/>
<br/>
but regardless of whether it is emulation or true original source, I'm interested in getting numerical translations for the following:<br/>
UNKNOWN_ERROR<br/>
ERROR_IO<br/>
ERROR_ALREADY_CONNECTED<br/>
ERROR_NOT_CONNECTED<br/>
ERROR_UNSUPPORTED<br/>
<br/>
<br/>
and I'm also interested in getting human-readable translations of the following numericals:<br/>
-1002<br/>
-1007<br/>
<br/>
<br/>
mainly I've studied the HTTPDataSource::connect and HTTPDataSource::connectWithRedirectsAndRange functions
<br/>
<br/>
<br/>
I've browsed around some of those codeAurora pages looking at various .h files that seemed related to HTTP and MediaPlayer but couldn't find numerical translations for those error codes... I also tried using the codeAurora Search bar at the top to find them, but didn't have any luck with that either.
<br/>
<br/>
<br/>
I'm beginning to think I need to learn how GIT works and download the whole source tree to my hard drive and then search for those #defines and the negative numbers using an advanced text editor or the VC2010 IDE
<br/>
<br/>
<br/>
but before I do that I thought I'd post here and see if anybody has any insight, tips, or maybe even knows those codes?</p>
