ios - Stream Song to Device with Multipeer Connectivity - Swift -


i'm using multipeer connectivity pair 2 devices , want stream song 1 device other in swift. i've been following this walkthrough in objective-c closely apple's documentation, admittedly don't have obj-c experience.

i'm able track output avassetreadertrackoutput, add avassetreader, , start reading. however, once cmsamplebufferref enters equation, start lose sight of what's happening.

if can explain process of getting samples track output , drilling down put data stream mc can consume, appreciated.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -