How can we use DOJO from CDN in OpenSocial App?

How do live chat applications like Skype get around Apple's HTTP Live Streaming requirements?

  • In section 9.4 of Apple's iOS App Store guidelines (https://developer.apple.com/appstore/resources/approval/guidelines.html) it states the following: "Video streaming content over a cellular network longer than 10 minutes must use HTTP Live Streaming and include a baseline 64 kbps audio-only HTTP Live stream" Skype is available on a 3G connection and the delay is pretty minimal -- typical "realtime" events using HTTP Live Streaming have a delay of 10-30 seconds even with the frontrunners of live streaming video (Akamai, Level3, Brightcove, etc...) How does Skype get around that? Does their app even use HTTP live streaming at all or is it a socket connection? Or do they have a very advanced CDN setup to minimize the live delay? I need true realtime video for an app I'm developing and where HTTP Live Streaming is failing me on the delay factor, socket connections allow me to achieve a delay of typically under 2 seconds at 30 FPS and deliver different stream quality based on the users bandwidth.  I'm just afraid my app will get rejected if we intend to allow viewers to watch on a 3G connection.

  • Answer:

    Apple sees VoIP and video streaming as completely different classes of applications, and therefore the HLS requirement does not apply to VoIP. As you note, the tremendous latency of HLS makes it utterly inappropriate for VoIP. Notice also that Apple has a section of their "Advanced App Tricks" that is specifically devoted to VoIP development - http://developer.apple.com/library/ios/#DOCUMENTATION/iPhone/Conceptual/iPhoneOSProgrammingGuide/AdvancedAppTricks/AdvancedAppTricks.html - which explicitly states that VoIP apps keep a persistent socket connection open to their provider, a trait that is demonstrably not true of HLS. If your app is really VoIP, like Skype is, then you're not going to get rejected for not using HLS. But if what your app does really is video streaming -- and the fact that you describe your users as "viewers" makes me think that's the case -- then the rule still applies, even if the HLS latency is a problem for you.

Chris Adamson at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.