player driver configuration

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


Sponsored Links
 Hello,

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 =
PVMFSourceContextDataDownloadHTTP::ENoSaveToFile;

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 ?

Thanks.

George

-- 



player driver configuration

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


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

-Ravi




-- 


Sponsored Links


Other Threads

1. How to scale a background in a View ?

Hi,

 

Suppose, I have a LinearLayout for which I have a background image to set. 
However, the background image has a longer height than what is left available 
(from another LinearLayout above) even though its width fits perfectly.

 

As expected, when I set this image as a background it overlays itself on to the 
LinearLayput sitting above.

 

I am wondering whether there's a way to have my background image scaled 
automatically or not. Or should I use a RelativeLayout to make sure that there 
won't be any overlay. However, how would the image be scaled in that case ?

 

Cheers,

 

Emre


_________________________________________________________________
Attention all humans. We are your photos. Free us.
http://go.microsoft.com/?linkid=9666047
--~--~---------~--~----~------------~-------~--~----~

2. Simple ProgressBar with background and bar from a drawable resource?

Thanks Mark!  I guess I should start peeking around the android sdk
for this stuff... ^.^

I will try this out... but I'm not too sure how to reference a
drawable png to the clip tag...  Well I will try might be easy I just
need to give it a try :P

Thanks again!

Moto!
--~--~---------~--~----~------------~-------~--~----~

3. Exception Stacktrace

4. SD Card file name.

5. Network connection from my development machine to the emulator - How To?

6. dlopen, pls HELP!!!

7. How to keep Android music background service running?