Giter Club home page Giter Club logo

sodes-audio-example's People

Contributors

jaredsinclair avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sodes-audio-example's Issues

byterangesupported.

Hi @jaredsinclair
Thank you very much for this example as well as your blogpost.
It has been very helpful for me to implement a delegate similar to the one from your sodes example.
However, i do have a problem: The data request ALWAYS ask for the entire length of the file.
Even if the file is several gigabytes long (e.g. 2gb) , and I return that length in then content info request (as well as setting isByteRangeSupported=true). The subsequent call to a data request will be from 0 to 2gb, and if I seek with avplayer then data request will be e.g. 1mb to 2gb that is always to the end of the file. The requestsAllDataToEndOfResource property of dataRequest is always true.
Do you have any idea what I could be doing wrong? I doesn't seem right that I should implement buffering in the delegate...
Cheers,
Morten

Video playing

Hi @jaredsinclair,

Thanks very much for sharing this project. It's been really helpful for me to learn more about AVFoundation and related things.

I was just wondering, is there any reason this wouldn't also work for playing video? Most of the AVPlayer and AVAssetResourceLoaderDelegate logic should work for both audio and video, shouldn't it? Is there anything I should be aware of if I wanted to do similar things (such as using your Scratch File concept) for playing video?

Queue next playback source

First of all, great project and thanks for sharing!

I was thinking on implementing a "queue next" feature. I'll think about it and share my notes here.

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.