Hi All, I'm trying to set the fast forward button in android video view to perform video fast forward as the iphone is doing : video playback with faster pace, instead of jumping constant interval as in android default video view.
I have located there is an API: PVPlayerInterface::SetPlaybackRate() in the PV framework (pvplayer_engine_api.pdf, p19) and also the related classes: playerdriver.h, playerdriver.cpp, MediaPlayerInterface.h, MediaPlayerService.h, MediaPlayerService.cpp which are crucial. My questions are: 1. how can I implement PlayerDriver::handleGetPlaybackRate() in playerdriver.cpp? (Tthe description of GetPlaybackRate() in the pvplayer_engine_api.pdf (p.9) is confusing, what is the appropriate value of aTimebase if using the "real-time" clock as mediaclock time base? 2. what should be the correct implementation in the playerdriver.cpp for this new API with parsing values from JNI layer: "void PlayerDriver::handleSetPlaybackRate(PlayerGetPlaybackRate* command)" in playerdriver.cpp? Thanks a lot~ --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---