开发者

iphone sdk: playing video from localhost?

开发者 https://www.devze.com 2022-12-20 09:22 出处:网络
I have a server socket (on port 3490) in my app which has a video data - It runs on a different thread. Now I have a mpmovieplayercontroller and would like to read the data from the socket and play it

I have a server socket (on port 3490) in my app which has a video data - It runs on a different thread. Now I have a mpmovieplayercontroller and would like to read the data from the socket and play it. I'm not sure what url should I pass to it. I've tried file://localhost:3490 http://localhost:3490 but this doesn't work. Please he开发者_如何学Golp

Thanks

Alex


You say server socket but you don't mention what kind of protocol the server implements. Is it HTTP? If so then you will need to use a http URL.

0

精彩评论

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