Home  >  Q&A  >  body text

Ios端smb视频在线播放

求大神解答。ios客户端smb已搭建能通过局域网获取U盘里的文件 但是如果想在线播放视频需要本地搭建httpserver请问 如何将smb fileurl转成Http url或者有没有开源的推荐!

PHP中文网PHP中文网2766 days ago799

reply all(2)I'll reply

  • ringa_lee

    ringa_lee2017-04-17 15:38:16

    Has the poster solved this problem? I am also having a headache with SMB recently. Can I add you as a friend to discuss it? QQ:1505707089

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 15:38:16

    On the ios side, you can use CocoaHTTPServer to build a local httpserver, and then convert the smb file path to an http path such as: http://127.0.0.1:8888?smb=192... to rewrite the processing of httpServer when it receives an http request. .
    The specific processing is to convert all the interface implementation parts that originally read the file stream into reading with smb.

    reply
    0
  • Cancelreply