I am using 2nd Ed/FP 1 codewarrioe environment.
here is my code

*********
MMdaCallback* cb = MMdaCallback::NewL();
_LIT(loc, "rtsp://musedev.mspot.com/test123.amr");
console->Printf(loc);
iPlayer = CMdaAudioPlayerUtility::NewL(*cb);
iPlayer->OpenUrlL(loc);

****************

And here is my MMdaCallback observer

********************
MMdaCallback* MMdaCallback::NewL() {
MMdaCallback* self = NewLC();
CleanupStack::Pop(self);
return self;
}

MMdaCallback* MMdaCallback::NewLC() {
MMdaCallback* self = new (ELeave) MMdaCallback();
CleanupStack::PushL(self);
return self;
}


void MMdaCallback::MapcInitComplete(TInt aError, const TTimeIntervalMicroSeconds& aDuration) {
// do nothing
if (! aError)
{
_LIT(call, "got called");
console->Printf(call);
//if (!aError)
//iPlayer->Play()
}
;
}


void MMdaCallback::MapcPlayComplete(TInt aError) {
if ( ! aError)
{
// do nothing
_LIT(call, "got called");
console->Printf(call);
}
}
**************************************


My compiler compiles for the udeb and armi_urel as well, but the emulator and the app_on_the_device likewise crash when I am trying to instantiate the CMdaAudioPlayerUtility.

Let me know if someone can give me an insight in to this. More than help to jet out anything else that may be required.

Thanks,
Mandar