Nokia 9300: Problem with video player

Login to reply to this topic.
Fri, 2005-05-06 08:29
Joined: 2005-01-05
Forum posts: 1
hello!

I've experienced problem with CVideoPlayerUtility: when leaves
application (DoStop ()), received "WSERV 59" error.

Sample code from Nokia Forum, e.g.:

Code:
void CVideoEngine::DoStop ()
{

if (iMyState != EPPlaying && iMyState != EPPaused)
return ;

if (iProgressUpdater->IsActive ()) {
iProgressUpdater->Cancel ();
}

iPlayPosition = 0;

iPlayer->Stop ();
iPlayer->Close ();
iMyState = EPStopped;
}

and

Code:
void CVideoEngine::MvpuoPlayComplete (TInt aError)
{

if (iProgressUpdater->IsActive ()) {
iProgressUpdater->Cancel ();
}

iPlayPosition = 0;

iCallback->PlayCompletedL (aError);

iMyState = EPStopped;
iPlayer->Close ();
}

Where i'm wrong?

Mon, 2006-05-22 04:48
Joined: 2006-02-21
Forum posts: 66
Re: Nokia 9300: Problem with video player
hi..
Y r u closing the player two times
  • Login to reply to this topic.