player driver configuration

by George C » Fri, 28 May 2010 04:44:03 GMT

Sponsored Links

in the playerdriver.cpp  the  PlayerDriver::setupHttpStreamPre()

has the following sequence of code:

mDownloadConfigFilename = _STRLIT_WCHAR("/tmp/http-stream-cfg");

 mDownloadFilename = NULL;

 mDownloadProxy = _STRLIT_CHAR("");

mDownloadContextData->DownloadHTTPData()->iMaxFileSize = 0xFFFFFFFF;

mDownloadContextData->DownloadHTTPData()->iPlaybackControl =

Questions: are these options changeable?
If I want to have a local file download and then played ie.
EAfterDownload do I need to change these options and specify the name
of the file here or is any other way to do it without changing the
player driver code ?




player driver configuration

by RaviY » Wed, 02 Jun 2010 08:24:28 GMT

 That is right. You have to change the settings in here.



Sponsored Links

Other Threads

1. 1.5 SDK export unsigned application - no files inside

Hi all i really need some help this issue is driving me nuts.

I have got my application that i had working on 1.1 sdk. I transfered
the workspace to a new computer running ubuntu 8.1 install eclipse,
the adt, and downloaded the new 1.5 sdk. I updated my application, and
ive tested it in the emulator (after creating some avd's).

So the application works.

BUT i cant export it! when i export the application i get an apk which
contains the following layout in my apk (signed and unsigned)


folder.png  goroot.png  icon.png  td48.png  uponelevel.png

settingstester.xml ..etc...

So as you can see ive got no classes, or files that actually do

please help!



2. OutOfMemoryError from BitmapFactory

Like many others here I'm getting OutOfMemoryError from BitmapFactory
when decoding multiple bitmaps.
I am sure I am not leaking memory. Here is the system log from a

I/dalvikvm-heap(  501): Grow heap (frag case) to 8.731MB for 1357499-
byte allocation
I/ActivityManager(   82): Process (pid 333) has
D/dalvikvm(  501): GC freed 7 objects / 248 bytes in 164ms
D/CameraService(   32): getParameters
V/QualcommCameraHardware(   32): getParameters: EX
E/Camera  (  501): _getParameters: antibanding=auto;antibanding-
D/dalvikvm(  501): GC freed 204 objects / 1415776 bytes in 140ms
E/dalvikvm-heap(  501): 778240-byte external allocation too large for
this process.
E/        (  501): VM won't let us allocate 778240 bytes
D/skia    (  501): xxxxxxxxxxxxxxxxxxxx allocPixelRef failed
W/dalvikvm(  501): threadid=15: thread exiting with uncaught exception
E/AndroidRuntime(  501): Uncaught handler: thread Thread-8 exiting due
to uncaught exception
E/AndroidRuntime(  501): java.lang.OutOfMemoryError: bitmap size
exceeds VM budget

As you can see the heap was just grown to 8.731 MB, which is much less
than the 16 MB allowed, and much less than the maximum memory this
same program has routinely used -- over 10 MB. Just prior to the
failed allocation of 778,240 bytes GC freed 1,415,776 bytes. So there
should be plenty of memory available.
I am scrupulously recycling bitmaps nulling pointers, etc.
Any ideas what's going on, or for a workaround?

3. pretty great idea

4. Anyone been asked by dev to change their rating for their app on market?

5. SurfaceFlinger and permitions

6. How to create two TextView without write the XML file?

7. UK Sales of the G1