GithubHelp home page GithubHelp logo

请问一下 about pyphotobrowser HOT 5 CLOSED

ko1o avatar ko1o commented on July 19, 2024
请问一下

from pyphotobrowser.

Comments (5)

ko1o avatar ko1o commented on July 19, 2024

为了做视频边播放边缓存,实现原理是:在本地开启一个本地服务器,本地不断发生下载请求到资源服务器,MPMoviePlayerController不断地向本地发送请求。 本地服务器就相当于一个代理。

from pyphotobrowser.

jj89757hhb avatar jj89757hhb commented on July 19, 2024

不开启HTTPServer 也能播放本地视频吧

from pyphotobrowser.

ko1o avatar ko1o commented on July 19, 2024

是能播放,但如果是网络视频,就需要弄HTTPServer 才能做到边播放边下载, 或者你可以用AVPlayer播放器,它好像也有类似于代理这个东西来做边播放边下载,具体我还没去研究,你可以去研究下。

from pyphotobrowser.

jj89757hhb avatar jj89757hhb commented on July 19, 2024

ASIHTTPRequest 支持ipv6吗

from pyphotobrowser.

ko1o avatar ko1o commented on July 19, 2024

我在知乎上看到的:“支持,它是基于CFNetwork的,苹果有说明CFNetwork库是支持IPV6的” ,但这种框架最好慎用 因为它已经停止更新了。 如果你不自己维护这个框架,最好不要用。我当时用只是测试和了解一下那个边播放边缓存的原理,等不忙的时候,会自己写一个的。

from pyphotobrowser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.