ap4y/OrigamiEngine

Can not pause playback in the beginning

daria-kopaliani opened this issue · 1 comments

I came across this issue when implementing AVAudioSessionInterruptionNotification notification handlers. It turns out "pause" command is ignored for a certain amount of time after playUrl: method is invoked (and in case of http streaming and slow internet it might be quite a while). This potentially can result in music playing in the background of your phone call :) Nothing we can't fix with a few workarounds on the client but it would be great to have this taken care of in OrigamiEngine.
(Perhaps this is another argument in favour of introducing buffering state as suggested in one of issues).

Thank you in advance.

How did you work around this issue?