iphone - How to effectively transfer real time video between two iOS device (Like facetime, skype, fring, tango) -
i know how frame ios sdk. [how capture video frames camera images using av foundation(http://developer.apple.com/library/ios/#qa/qa1702/_index.html)] it's pixel, , can transfer jpeg.
what way want transfer video this:
one ios device a:
- get pixel or jpeg call function
-(void)captureoutput:(avcaptureoutput *)captureoutput didoutputsamplebuffer:(cmsamplebufferref)samplebuffer fromconnection:(avcaptureconnection *)connection
using existed technology encoding h.264 - ffmpeg
encapsulate video ts stream
run http server, , wait request
the other ios device b:
- http request a(using http instead of rtp/rtsp)
so question is, need use ffmpeg h.264 stream or can ios api? if use ffmpeg encode h.264(libx264), how that, there sample code or guideline?
i've read post what's best way of live streaming iphone camera media server? it's pretty discussion, want know detail.
the license ffmpeg incompatible ios applications distributed through app store.
if want transfer realtime video , have kind of usable frame rate, won't want use http nor tcp.
Comments
Post a Comment