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

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -