359 const TPckgBuf<TBool> savePckg( EFalse ); |
359 const TPckgBuf<TBool> savePckg( EFalse ); |
360 |
360 |
361 HBufC8* tempBuf = NULL; |
361 HBufC8* tempBuf = NULL; |
362 TInt apMaxLen = 3; |
362 TInt apMaxLen = 3; |
363 |
363 |
364 HBufC8* accessPoint = HBufC8::NewLC( KMMFAccessPoint().Length() + apMaxLen ); |
364 MPX_TRAPD( err, |
365 accessPoint->Des().Format( KMMFAccessPoint, iVideoPlaybackCtlr->iAccessPointId ); |
365 HBufC8* accessPoint = HBufC8::NewLC( KMMFAccessPoint().Length() + apMaxLen ); |
366 |
366 accessPoint->Des().Format( KMMFAccessPoint, iVideoPlaybackCtlr->iAccessPointId ); |
367 tempBuf = HBufC8::NewLC( accessPoint->Length() ); |
367 |
368 tempBuf->Des().Copy( accessPoint->Des() ); |
368 tempBuf = HBufC8::NewLC( accessPoint->Length() ); |
369 |
369 tempBuf->Des().Copy( accessPoint->Des() ); |
370 if ( tempBuf ) |
370 |
371 { |
371 if ( tempBuf ) |
372 iVideoPlaybackCtlr->iPlayer->CustomCommandSync( destinationPckg, |
372 { |
|
373 iVideoPlaybackCtlr->iPlayer->CustomCommandSync( destinationPckg, |
373 EMMFROPControllerSetApplicationConfig, |
374 EMMFROPControllerSetApplicationConfig, |
374 tempBuf->Des(), |
375 tempBuf->Des(), |
375 savePckg ); |
376 savePckg ); |
376 } |
377 } |
377 |
378 |
378 CleanupStack::PopAndDestroy(2); // accessPoint, tempBuf |
379 CleanupStack::PopAndDestroy(2); // accessPoint, tempBuf |
|
380 ); |
379 } |
381 } |
380 } |
382 } |
381 |
383 |
382 // ------------------------------------------------------------------------------------------------ |
384 // ------------------------------------------------------------------------------------------------ |
383 // CMPXStreamingPlaybackMode::CanPlayNow |
385 // CMPXStreamingPlaybackMode::CanPlayNow |