{"action":"opened","issue":{"url":"https://api.github.com/repos/AudioKit/AudioKit/issues/1410","repository_url":"https://api.github.com/repos/AudioKit/AudioKit","labels_url":"https://api.github.com/repos/AudioKit/AudioKit/issues/1410/labels{/name}","comments_url":"https://api.github.com/repos/AudioKit/AudioKit/issues/1410/comments","events_url":"https://api.github.com/repos/AudioKit/AudioKit/issues/1410/events","html_url":"https://github.com/AudioKit/AudioKit/issues/1410","id":333850153,"node_id":"MDU6SXNzdWUzMzM4NTAxNTM=","number":1410,"title":"Support AirPlay 2 Fast Streaming","user":{"login":"hipwelljo","id":6282848,"node_id":"MDQ6VXNlcjYyODI4NDg=","avatar_url":"https://avatars0.githubusercontent.com/u/6282848?v=4","gravatar_id":"","url":"https://api.github.com/users/hipwelljo","html_url":"https://github.com/hipwelljo","followers_url":"https://api.github.com/users/hipwelljo/followers","following_url":"https://api.github.com/users/hipwelljo/following{/other_user}","gists_url":"https://api.github.com/users/hipwelljo/gists{/gist_id}","starred_url":"https://api.github.com/users/hipwelljo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hipwelljo/subscriptions","organizations_url":"https://api.github.com/users/hipwelljo/orgs","repos_url":"https://api.github.com/users/hipwelljo/repos","events_url":"https://api.github.com/users/hipwelljo/events{/privacy}","received_events_url":"https://api.github.com/users/hipwelljo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-19T21:43:51Z","updated_at":"2018-06-19T21:43:51Z","closed_at":null,"author_association":"NONE","body":"TLDR; It would be fantastic if AudioKit supported the enhanced buffering (aka fast streaming) available using AirPlay 2.\r\n\r\nWe are working to integrate AirPlay 2 support in our app. We have followed [the documentation](https://developer.apple.com/documentation/avfoundation/airplay_2/getting_airplay_2_into_your_app) and are able to stream the audio to multiple devices simultaneously. The last step is to support fast streaming. Without this, it takes at least a second to begin playing the music on other devices, or a second to pause after tapping the pause button for example. Buffering isn't great. Ultimately it's like AirPlay 1.\r\n\r\nThe documentation notes two approaches to support this, simple or flexible. Simple would be to use AVPlayer or AVQueuePlayer. AudioKit does not use those so it seems flexible will be the right route, which uses AVSampleBufferAudioRenderer and AVSampleBufferRenderSynchronizer. Here's the link to the [walkthrough article in the docs](https://developer.apple.com/documentation/avfoundation/airplay_2/implementing_flexible_enhanced_buffering_for_your_content). It would be fantastic to see support for that!\r\n\r\nThank you!"}}
{"actor":{"display_login":"hipwelljo"}}