Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 32ed0738 authored by Steve Kondik's avatar Steve Kondik
Browse files

MediaRecorder: Add pause interface

- add pause in java level
- add pause in jni level

CRs-Fixed: 587051

Add 2 APIs (suspend/resume) in MediaPlayer

- API:suspend() will just pause the player and release all the decoders
  to replace release() which will release the whole player
- API:resume() will just init the decoders again,
  then start() will be called to start to play the streaming

Change-Id: Ia0c38bd827f21261b2bd87c04778e86362003344
parent 3fe8894f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment