iOS (Objective-C) : How to capture and send the Jpeg Image from iPhone to Mobile Server as Video Push

I am doing the protocol integration on iOS platform .

i have implemented the command channel and video channel. the command channel is working fine. but i facing issue with the video channel. in the video channel i am posting the below info <36 byte header> to the video channel url. then i am getting the response code 404 and in the recording server log “Camera failed to provide an image”.

if you can provide me the sample code for capturing the jpeg image and sending to milestone server in iOS platform that will be great for me to learn.

The 404 issue is fixed and able to push the video successfully.

Glad you fixed it. Is there any learning experience in this you would like to share?

The Issue was with the header. when I converted the header into little-endian format it worked for me. Video capturing and jpeg conversion code are the same provided by apple.