user1250078
user1250078

Reputation: 55

Convert CMSampleBufferRef to video

(Sorry for my english)

How to convert/encode CMSampleBufferRef to video to send using NSOutputStream?

I need stream video from my ipad to local network, i use a AVFoundation framework to get a video. Now, i need convert this video to the right format to send to Http Server using NSOutputStream.

if i´m doing something wrong, please tell me

Regards.

Upvotes: 2

Views: 2144

Answers (1)

Jan Cássio
Jan Cássio

Reputation: 2279

I don't know if this helps you, but take a look on my question here.

I written a program where I get audio and video from "master" device and send on the fly to a "slave" device.

The approach works but I need to optimize the transmission to improve experience and makes the app more like a "facetime".

Upvotes: 1

Related Questions