OSDN Git Service

Use PV_PLAYER to handle RTSP streaming
authorJames Dong <jdong@google.com>
Wed, 14 Apr 2010 04:33:26 +0000 (21:33 -0700)
committerJames Dong <jdong@google.com>
Wed, 14 Apr 2010 15:57:14 +0000 (08:57 -0700)
bug - 2594865

Change-Id: Ice5b89b1d53bbc4da033892fe545bdf51ac7267f

media/libmediaplayerservice/MediaPlayerService.cpp

index 594e010..a6d8d2c 100644 (file)
@@ -747,6 +747,11 @@ player_type getPlayerType(const char* url)
         }
     }
 
+    // Use PV_PLAYER for rtsp for now
+    if (!strncasecmp(url, "rtsp://", 7)) {
+        return PV_PLAYER;
+    }
+
     return getDefaultPlayerType();
 }