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).
I came across this issue when implementing
AVAudioSessionInterruptionNotification
notification handlers. It turns out "pause" command is ignored for a certain amount of time afterplayUrl:
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 inOrigamiEngine
. (Perhaps this is another argument in favour of introducingbuffering
state as suggested in one of issues).Thank you in advance.