From your logs, I feel that the version of Android
is Froyo 2.2.3
which is the probably one of the last versions before Stagefright
became a default. The choice of player is dependent on multiple conditions like whether it is a file
source or http
source or rtsp
source.
In Froyo 2.2.3
, there are 2 keys for enabling Stagefright
player and a build flag. To enable the use of Stagefright
player for normal playback, you need to build the framework code with BUILD_WITH_FULL_STAGEFRIGHT
as observed from here: http://androidxref.com/2.2.3/xref/frameworks/base/media/libmediaplayerservice/MediaPlayerService.cpp#670
getDefaultPlayer
is called for multiple conditions and in cases where the aforementioned macro is defined, it would try to check the value of the system property "media.stagefright.enable-player"
(Ref: http://androidxref.com/2.2.3/xref/frameworks/base/media/libmediaplayerservice/MediaPlayerService.cpp#750)
In your case for http
source, there is a different system property which is checked viz., "media.stagefright.enable-http"
. In your case, I feel that this is enabled/set to true and hence, Stagefright
player is being employed. Please set this to false
to enable PV_Player
only.