-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix iOS 10, MacOS 10.12 slow playback start time
- Loading branch information
Showing
1 changed file
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0d67c97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still seeing this on iOS 10.3, like 3-4 seconds before a remote stream's playback begins despite playback being reported via the delegate. Is there a way to set 'seconds until play starts' property similar to how StreamingKit does it?
0d67c97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, @patrickjquinn
Which HysteriaPlayer version or commit you using?
This commit fix deferred playback well.
Yes,
seconds until play starts
can be added to HysteriaPlayer as an option, but wondering is this a needed feature? doesn't we like playback start as soon as possible?0d67c97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latest Pods version (2.2.0 I believe?)
Well the only use case would be if you needed to ensure a large buffer when the user has limited network connectivity (i.e on 3G) but otherwise you're right, it doesn't need to be there.
When using StreamingKit I set it to 0.3 seconds in order to play upon the first packet being received, but i'd imagine there is a lot more complexity to doing zero latency streaming when building on AVAudioPlayer versus CoreAudio