iPad上的本地服务器 [英] Local server on iPad
问题描述
我们有一个涉及HTTP直播的应用程序。根据文档,我可以对我的流进行编码,并在索引文件(m3u8)中提供加密密钥URL(如果密钥存储在远程服务器上)。
我想知道是否可以在ipad上本地存储密钥,并在索引文件中以某种方式在本地引用它。是否可以在ipad上运行本地服务器并在索引文件中提供localhost url?如果是这样,服务器是否会与应用版本捆绑在一起?
We have an application which would involve HTTP live streaming. As per the documentation, I can encode my streams and provide the encryption key url (if the key is stored on remote server) in the index file (m3u8). I want to know if it is possible to store the key locally on the ipad and refer to it locally somehow in the index file. Is it possible to have a local server running on the ipad and provide a localhost url in index files? If so, would the server be bundled with the app build?
谢谢,
Hetal
Thanks, Hetal
推荐答案
cocoahttpserver 是一个HTTP服务器,位于< a href =http://allseeing-i.com/ASIHTTPRequest/ =nofollow noreferrer> ASIHTTPRequest
cocoahttpserver is a HTTP Server on top of ASIHTTPRequest
我还没有完成流式传输用它,但主页说
I haven't done streaming with it, but the homepage says
使用标准Cocoa套接字/流的异步网络
Asynchronous networking using standard Cocoa sockets/streams
这篇关于iPad上的本地服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!