Search code examples
iphoneobjective-cipadhttp-streaming

My app rejected for fourth time because i don't meet HTTP live streaming protocol


This is my apple rejection enter image description here

also screen shoot of my test using mediastreamvalidatortool is enter image description here

So what can i do at server side to make this stream accepted by Apple? This app is for iPhone3gs/iPad1,2 also iPhone4


Solution

  • see:
    http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/UsingHTTPLiveStreaming/UsingHTTPLiveStreaming.html%23//apple_ref/doc/uid/TP40008332-CH102-SW5
    http://en.wikipedia.org/wiki/HTTP_Live_Streaming
    x264 IDR access unit with a SPS and a PPS
    https://devforums.apple.com/thread/45830?tstart=15 (requires apple ID with developer account)
    http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40008332-CH1-DontLinkElementID_39

    You have to modify your serverside to provide HTTP Live streaming protocol and modify your media via recoding

    Other suggested solutions are:

    • instead of making a transport stream, make a .mov file and pass that into mediafilesegmenter
    • use mediastreamsegmenter instead of medafilesegmenter for your transport stream file (cat | mediastreamsegmenter -p)