gabrielfari / aacdecoder-android

Automatically exported from code.google.com/p/aacdecoder-android
GNU Lesser General Public License v3.0
1 stars 0 forks source link

Add Pause/Resume functionality #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Is there any chance to add Pause and Resume functionality to player?

Note: i don't know how to change the type of issue to Enhancement. Sorry.

Original issue reported on code.google.com by Pavel.Kr...@gmail.com on 11 Aug 2012 at 1:23

GoogleCodeExporter commented 8 years ago
Please provide more information:
What do you expect from Pause/Resume ?
Why is not play / stop enough for you ?
Thanks.

Original comment by vbarta...@gmail.com on 13 Aug 2012 at 10:22

GoogleCodeExporter commented 8 years ago
Pause stop playback in some point and resume restore the playback from same 
point while play() start playing from start

Original comment by Pavel.Kr...@gmail.com on 13 Aug 2012 at 10:36

GoogleCodeExporter commented 8 years ago
But this feature is rather useful for playing files, not live streams.
Imagine somebody would pause the stream for long time. Then I can see two 
problems: the stream will be delayed by that time and also there can be 
problems with network buffers overflow.

Original comment by vbarta...@gmail.com on 15 Aug 2012 at 11:39

GoogleCodeExporter commented 8 years ago
Of course this is not for stream playback. But, for example, for podcast or 
regular files. You can check if request contain Content-Length header and 
decide if the playback is pauseble. Or let the developer decide if the stream 
is pauseble.

Original comment by Pavel.Kr...@gmail.com on 17 Aug 2012 at 7:12

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Right now, i'm able to record streamed data, which is .aac format. After 
recording this data to file i'm playing it properly. I want to implement rewind 
and replay feature in it. So, please guide me how to play from any particular 
point from the file.

Original comment by abhigo...@gmail.com on 20 Dec 2013 at 10:19

GoogleCodeExporter commented 8 years ago
I'd love to see this implemeted too. My stream plays an ad on start, without 
the resume feature the ad is repeated every time the user hit play and this is 
an undesired behavior.
Thanks

Original comment by claudior...@gmail.com on 30 Oct 2014 at 8:07