开发者

Playing video (on iPhone) which has been streamed via a custom protocol?

I need to play video that has been streamed by a custom protocol, not via HTTP live stre开发者_Python百科aming (in fact not via HTTP at all). While I have no problems implementing the protocol, I can't see how to set up a player so that I can just feed the stream to it (and have it decode and display the video) - instead the API always requires I provide a URL.

Is there any way to do this?


I never found a way, but it is possible to use an internal web server (so the URL is http://127.0.0.1:xxx) and feed a stream to the decoder that way. An MPEG Transport Stream (.ts) worked well for my case, though it did mean writing a muxer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜