browserutilities/schemehandler/SchemeDispatcher/src/RtspHandler.cpp
branchRCL_3
changeset 49 919f36ff910f
parent 48 79859ed3eea9
--- a/browserutilities/schemehandler/SchemeDispatcher/src/RtspHandler.cpp	Tue Aug 31 16:17:46 2010 +0300
+++ b/browserutilities/schemehandler/SchemeDispatcher/src/RtspHandler.cpp	Wed Sep 01 12:28:30 2010 +0100
@@ -17,9 +17,8 @@
 *
 */
 
-
 // INCLUDE FILES
-
+ 
 #include "RtspHandler.h"
 #include "SchemeDispLogger.h"
 #include <ecom/ecom.h>		// For REComSession
@@ -32,9 +31,13 @@
 #include <f32file.h>
 #include <AknLaunchAppService.h>
 
+#ifdef __S60_32__
+LOCAL_C const TUid KUidMediaPlayer = { 0x10005A3E };
+#else
+#include <videoplayeruid.hrh>
+#endif
 // ================= CONSTANTS =======================
 
-LOCAL_C const TUid KUidMediaPlayer = { 0x10005A3E };
 _LIT( KRtspFileName, "c:\\system\\temp\\RtspTemp.ram" );
 
 // ================= MEMBER FUNCTIONS =======================
@@ -194,8 +197,11 @@
 	User::LeaveIfError( appArcSession.Connect() );
 	TThreadId id;
 
-	appArcSession.StartDocument( iParsedUrl->Des(), KUidMediaPlayer , id );
-
+#ifdef __S60_32__
+    appArcSession.StartDocument( iParsedUrl->Des(), KUidMediaPlayer , id );
+#else
+    appArcSession.StartDocument( iParsedUrl->Des(), TUid::Uid(KVideoPlayerUID) , id );
+#endif
 	appArcSession.Close();
 
 	CLOG_LEAVEFN( "CRtspHandler::HandleUrlStandaloneL()" );
@@ -225,3 +231,4 @@
 	CLOG_LEAVEFN( "CRtspHandler::HandleServerAppExit" );	
 	}
 
+