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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -