You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All API-Methods (see AudioPlayer.swift and YbridControl.swift) wrap the execution of player internals asynchronously using let playerQueue = DispatchQueue(label: "io.ybrid.playing"). All callback methods of AudioPlayerListener are asynchronously called by DispatchQueue.global().async { ... .
We use Swift's Grand Central Dispatch API to strictly decouple the player itself from the usage of the player. One purpose of GCD is to hide the thread layer from the developer. As far as I know there is no way to change the specific RunLoop (working thread).
Can you tell, why this is neccessary to you?
Would you please describe the audio you use and the action/s you mean by 'scrolling'.
When playing an audio file (local data) with the SDK, it appears to stop when I scroll through a UITableView. So I'm guessing the async task is still running on a RunLoop that gets halted by the system during user interaction. I'll do some more testing to confirm.
Is there an option to specify the RunLoop ?
The text was updated successfully, but these errors were encountered: