Ios端smb视频在线播放
PHP中文网
PHP中文网 2017-04-17 15:36:16
0
2
746

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

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(2)
左手右手慢动作

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

Peter_Zhu

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!