noreasonprojects / ModernAVPlayer

ModernAVPlayer is a persistence AVPlayer wrapper
MIT License
284 stars 47 forks source link

Please add support for caching #93

Closed satishVekariya closed 4 years ago

raphrel commented 5 years ago

Can you be more specific about your expectations ?

satishVekariya commented 5 years ago

Local disk caching, user only needs to stream a file once and after that it can be played from a local cache

raphrel commented 5 years ago

sure, it's a big feature to implement. I'm gonna think about it.

mirasaujan commented 5 years ago

Hey there, Any updates? I found several drop in solutions for caching assets. They work with AVPlayerItems though. Could you add support to play/load PlayerMedia with playerItem?

raphrel commented 5 years ago

Hi,

I know it is a main feature for this library but it's hard for me to manage all requirements.. Do you have any links to solutions you have found ?

Also, not interested to do a pull request ?

thanks

mirasaujan commented 5 years ago

https://andreygordeev.com/2018/03/31/cache-avplayeritem/ https://github.com/neekeetab/CachingPlayerItem https://github.com/vitoziv/VIMediaCache

could you elaborate on the requirements?

satishVekariya commented 5 years ago

https://github.com/muhku/FreeStreamer

On Wed, 6 Nov 2019 at 09:38, Miras Karazhigitov notifications@github.com wrote:

https://andreygordeev.com/2018/03/31/cache-avplayeritem/ https://github.com/neekeetab/CachingPlayerItem https://github.com/vitoziv/VIMediaCache

could you elaborate on the requirements?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/noreasonprojects/ModernAVPlayer/issues/93?email_source=notifications&email_token=AECN6VABWWAAWQ6RDIC5NNDQSI7MTA5CNFSM4GMXCPG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDFGD3I#issuecomment-550134253, or unsubscribe https://github.com/notifications/unsubscribe-auth/AECN6VFPOPNCQ3DY3SZRSZTQSI7MTANCNFSM4GMXCPGQ .

raphrel commented 5 years ago

ok so 2 things:

So for now, I'm going to think about the second point. As this, you'll use your favorite caching service with the player. Later, I may try to write my own caching service...

mirasaujan commented 5 years ago

You can try to restrict playerItem feed to PlayerMedia, only to those whose status == .readyToPlay

zackperdue commented 4 years ago

What's the status on this? Is anybody looking into this yet?

raphrel commented 4 years ago

on my way, should be done this week ! The lib will accept AVPlayerItem and url format.

zackperdue commented 4 years ago

Awesome! Let me know if there’s anything to do to help.

On Jan 27, 2020, at 12:16 PM, ankierman notifications@github.com wrote:

on my way, should be done this week ! The lib will accept AVPlayerItem and url format.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/noreasonprojects/ModernAVPlayer/issues/93?email_source=notifications&email_token=AAFH3VEQ2BK3P7LW3SRYBODQ74JIFA5CNFSM4GMXCPG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKAJ3LA#issuecomment-578854316, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFH3VGXSB5ZG63R4SKVOB3Q74JIFANCNFSM4GMXCPGQ.

zackperdue commented 4 years ago

Hi @raphrel any updates on this improvement? I'm looking to upgrade :)

If you need help with anything please let me know and I can pitch it.

Go ahead and upload your branch or whatever.

raphrel commented 4 years ago

Hi, sorry kind of busy these past days. I try to finish this week end !

raphrel commented 4 years ago

new release #151 is out ! create a media from AVPlayerItem is available 😅