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

Commit c42d6059 authored by Hui (QRD) Yu's avatar Hui (QRD) Yu Committed by Linux Build Service Account
Browse files

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: I3e2ffeb50dfe6d156b18416fa8964ff4a3d56a2c
parent a98c1197
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