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:

  1. get pixel or jpeg call function

-(void)captureoutput:(avcaptureoutput *)captureoutput didoutputsamplebuffer:(cmsamplebufferref)samplebuffer fromconnection:(avcaptureconnection *)connection

  1. using existed technology encoding h.264 - ffmpeg

  2. encapsulate video ts stream

  3. run http server, , wait request

the other ios device b:

  1. 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

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -