| Reply | « Previous Thread | Next Thread » |
|
Hello,
When I try to play the video using buffer, i am getting -5 error code in MvpuoPrepareComplete. I am able to open the same file using OpenFileL() method and able to play that 3gp file. In that scenario I am not getting any such error. Here is the code snippet for OpenDesL() method which is not working: Code:
RFile lFile;
RFs lFileSession;
TBuf<128> lFilename(KFileName);
lErrCode = lFileSession.Connect();
LOG(_L("Filesession open err = %d"),lErrCode);
lErrCode = lFile.Open(lFileSession,lFilename,EFileRead);
LOG(_L("File open err = %d"),lErrCode);
TInt lFileSize(0);
lFile.Size(lFileSize);
LOG(_L("File Size = %d"),lFileSize);
if(lFileSize < 20000)
{
TBuf8<20000> iVideoBuffer;
lFile.Read(iVideoBuffer);
iPlayer->OpenDesL(iVideoBuffer);
TRAPD(unsupported, iPlayer->OpenDesL(iVideoBuffer));
LOG(_L("Opening buffer err = %d: %S"),unsupported, &(iMediaFile->Des()));
lErrCode = unsupported;
}
else
{
LOG(_L("File too large to open")));
}
Please help me whats wrong and why I am getting that KErrNotSupported(-5) error code Thanks, Digish |
|
Join Date: Mar 2006
Posts: 6,293
Location: Helsinki, Finland
Offline
Forum Nokia Champion
|
|
- Kiran |
|
Thanks kiran,
Thanks for the reply. But The problem I am receiving is for CVideoPlayerUtility not CVideoRecorderUtility for which you have linked me. Thanks as I was planning to check Recording now. The link's information is helpful because I am planning to look it next. There is no workaround for URL/Buffer case in KB. Can you provide some? Also in KB its written as its for 3rd ED. But i am testing on emulator for s60 3rd Ed FP1 devices. Thanks, Digish
Last edited by Digish : 2008-07-01 at 07:22.
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| multiple videos with CVideoPlayerUtility | balanikas | Symbian Media (Graphics & Sounds) | 1 | 2008-04-07 10:05 |
| KERN-EXEC 0 when calling PauseL method of CVideoPlayerUtility from another thread | ycedres | Symbian Media (Graphics & Sounds) | 2 | 2007-11-19 16:45 |
| Video Streaming over HTTP, CVideoPlayerUtility can work ? | leduc | Symbian Media (Graphics & Sounds) | 0 | 2007-01-16 11:08 |
| ExampleClientEngine ... | GeKI | Symbian Networking & Messaging | 2 | 2005-12-16 08:12 |
| Personal | JSmith77 | PersonalJava | 4 | 2003-07-30 13:52 |