views:

31

answers:

0

Hi,

I have a QTCaptureSession with one QTCaptureConnection using h.264 for compression. I want to stream the video over UDP with very low latency, but I'm having trouble understanding the QTKit framework.

As far as I can see I have two choices for output:

1) Subclass QTCaptureOutput and send the data that would go to the file out on a socket.

2) Use QTCaptureDecompressedVideoOutput and send out each frame using captureOutput:didOutputVideoFrame:withSampleBuffer:fromConnection: But then it would have lost its compression, right?

I have a feeling this should be a fairly standard thing to do. Any ideas?

Thanks, Marcus