Can iOS device use http live streaming to sent audio/video back to server?
So http live streaming let you send live video to iOS devices but how do iOS devices send live audio/video back to server ? Can they use http live stream as well ? For example for video conference app like webex or facetime , how do iOS devices send audio/video back to server ?
Of course there are iOS API to let you make phone-call app, but I would like wh开发者_JAVA技巧at happens behind the scene, especially can HLS be used to send streaming back to server ?
Thanks!
HLS doesn't send data back to a server. It makes data available for download via HTTP. To send data to a server, you can push it back in basically any way you want, even with HTTP via a POST. Sending it to the server isn't that hard, really.
Harder is capturing the audio+video, but that's not insurmountable. You can see the AVCam sample to get started.
精彩评论