Add 2 APIs (suspend and resume) in MediaPlayer
- API:suspend() will just pause the player and release all the decoders - instead of release the whole player - API:resume() will just init the decoders again - Add a check in onVideoEvent() - to make sure the first seek operation will seek the next i-frame Change-Id: Ia4716f7fb3a412eb19c6ded9c0f3056d0490546c Implement the suspend/resume operation in VideoView - Using the new APIs in Mediaplayer to implement the suspend/resume operation in VideoView - Add a new status "SUSPENDED" Change-Id: I00f9daa2d34b3b125b8c3b968bc581708ab2cdf4 HTML5 VideoView change to use the new APIs: suspend/resume - While suspend and resume, using the new APIs in Mediaplayer Change-Id: I8530b533501607f681145853d7923fdf2009150b
Loading
Please register or sign in to comment