Giter Site home page Giter Site logo

zhzhy / proxymediainwebview Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 2.0 184 KB

With this kit, you can cache media played in UIWebView, simultaneously, proxy the online media request with your wish. Of course media played with AVPlayer can be cached and proxyed, for they also request data with AVURLAssert.

Objective-C 100.00%

proxymediainwebview's Introduction

ProxyMediaInWebView

##Overview

With this kit, you can cache media played in UIWebView, simultaneously, proxy the online media request with your wish. Of course media played with AVPlayer can be cached and proxyed, for they also request data with AVURLAssert.

After Hacking, I found media engine in UIWebView is AVPlayer, we know AVPlayer is powerful! After iOS6 with AVAssetResourceLoaderDelegate can cache and proxy media online request, this is public and useful. All is completed silently, you don't konw there is AVPlayer or AVURLAssert, then with Objective-C Runtime, they can eszily work.

Just enjoy it!!

##Proxy We all konw UIWebView can play audio and video, this is awesome! Sometimes, we want to proxy audio or video request to specific Host for saving flow or statistic. With this Kit you can finish it easily, just include codes in MediaProxy, then the Kit will complete the remaining.

##Cache Sometimes we want to cache audio or video played in UIWebView for saving flow or reducing next connection time. This Kit Can help you.

proxymediainwebview's People

Contributors

zhzhy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

proxymediainwebview's Issues

Hi!有一个小问题

@zhzhy

如何缓存AVPlayer播放过的视频呢?

比如需要知道缓存进度?

我在Demo里面使用了,发现没有实际缓存的功能,是不是我缺少设置等之类的问题呢?

Jack

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.