[Live-devel] Android log patch

Ralf Globisch rglobisch at csir.co.za
Wed Apr 25 07:01:28 PDT 2012


Hi Ross,

Please take a look if you would consider the attached patch.
It allows live555 to log to the logcat window (instead of std out/std err) 
when compiled for android (i.e. ANDROID is defined).

The other option would be to write an AndroidUsageEnvironment class,
but since there are in any case changes (#ifdefs) for ANDROID in the latest live555 
codebase, this approach might be better as client code does not have to be
changed and automatically has logging to the logcat window.

We found this to be especially helpful when debugging the android version of VLC.


Regards,
Ralf






-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.

Please consider the environment before printing this email.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: android_log.patch
Type: application/octet-stream
Size: 1780 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120425/8939f29c/attachment-0001.obj>


More information about the live-devel mailing list