Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I am really looking forward on creating a chat application which features basic implementation of text chatting, as well as advanced features of audio/video chatting. I have clearly understood how to implement text chatting feature using push notification.

Now I am heading towards implementation of audio/video chatting in my application. I Googled around to see some samples for the same. I found Voice chatting, idoubs and a couple of more sources, but ended on a negative note. What I realized is I am not sure of what actually happens during a audio/video chat. What are the background activities which take part when user is chatting.

I believe, if I understand the process behind the audio/video chat, I may implement it in a way I too understand.

So, if anyone among you has a brief/detail knowledge regarding audio/video chat, kindly share it with me.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

A really brief audio/video starter would be the camera basically takes a series of images incredibly quickly and stores them to a buffer, these are then encoded into a specific format to be sent to a receiving device, which gets the video, stores it into a buffer and runs it through a decoder so it understands what the video it's received is. The decoder then passes the unencoded video frames to a specific view which constantly reloads the image which creates your video.

There's a bit more to it than that, but that's as basic as video comes. Audio works the same way pretty much, encoders and decoders do the grunt work of getting the sent content into an understandable output.

share|improve this answer
    
Is encoding and decoding of sequence of images supported by IOS or we need to import some framework? –  Nitish Sep 28 '11 at 12:30
    
There's various bits of functionality throughout the SDK that would allow you to do it, components for video playback and components for AV input (which is what the camera basically is). –  Nicholas Smith Sep 28 '11 at 12:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.