vdugnist / DVAssetLoaderDelegate

Loader delegate for caching AVURLAsset
MIT License
105 stars 28 forks source link

Play from Cached Data and then from URL #7

Open SanjayRathor opened 5 years ago

SanjayRathor commented 5 years ago

Hi ,

Is there support for First play from cache data . If the some data or complete data available then first it should play it and then after through the Network

vdugnist commented 5 years ago

Hi. Now it's not supported, but I can add this functionality in the next versions.

SanjayRathor commented 5 years ago

Thanks a lot. When I can expect. Please tell me . I have to implement and I don’t have any idea about this.

On Wed, 26 Sep 2018 at 9:43 PM, Vladislav Dugnist notifications@github.com wrote:

Hi. Now it's not supported, but I can add this functionality in the next versions.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vdugnist/DVAssetLoaderDelegate/issues/7#issuecomment-424772981, or mute the thread https://github.com/notifications/unsubscribe-auth/Agpec3R6tNr_VTpUJtvT79TluKFGv-Wsks5ue6eBgaJpZM4W6oih .

--

Join ET Prime for fast, insight-rich analysis of news that matters to you. Stay ahead with the story behind the story. ****

Start Your 15-Day Free Trial. Visit ETPrime.com https://prime.economictimes.indiatimes.com/campaign?utm_source=Newsletter&utm_medium=email&utm_campaign=ETPrimeNewsletter&utm_content=Internal_Gmail_Footer_Message****

**

vdugnist commented 5 years ago

You can use AVPlayer to prefetch a few seconds of the video and hold AVAsset objects in memory. Then when the user will open a file it will start instantly.

SanjayRathor commented 5 years ago

Thanks But i want separate the instance that will download some data at put it at some path . Now when actual video will play then first it will play from cached video after it will continue through the network and also it will update cache

On Thu, Sep 27, 2018 at 2:09 PM Vladislav Dugnist notifications@github.com wrote:

You can use AVPlayer to prefetch a few seconds of the video and hold AVAsset objects in memory. Then when the user will open a file it will start instantly.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vdugnist/DVAssetLoaderDelegate/issues/7#issuecomment-425007793, or mute the thread https://github.com/notifications/unsubscribe-auth/Agpec95JSXw73NLjnJT51R-DN1Qq-7-zks5ufI6ugaJpZM4W6oih .

--

Join ET Prime for fast, insight-rich analysis of news that matters to you. Stay ahead with the story behind the story. ****

Start Your 15-Day Free Trial. Visit ETPrime.com https://prime.economictimes.indiatimes.com/campaign?utm_source=Newsletter&utm_medium=email&utm_campaign=ETPrimeNewsletter&utm_content=Internal_Gmail_Footer_Message****

**

SanjayRathor commented 5 years ago

Hi, When can i except this feature in lib. Waiting for your response

vdugnist commented 5 years ago

I made draft implementation in feature/data_source branch. Could you help me to test it? I don't have a lot of free time now.

SanjayRathor commented 5 years ago

OK. Let me try and i will let you know

On Fri, Sep 28, 2018 at 9:29 PM Vladislav Dugnist notifications@github.com wrote:

I made draft implementation in feature/data_source branch. Could you help me to test it? I don't have a lot of free time now.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vdugnist/DVAssetLoaderDelegate/issues/7#issuecomment-425482788, or mute the thread https://github.com/notifications/unsubscribe-auth/Agpec6O10-xVoQJbblCBJ6dmLoN7hxOCks5ufkdZgaJpZM4W6oih .

--

Join ET Prime for fast, insight-rich analysis of news that matters to you. Stay ahead with the story behind the story. ****

Start Your 15-Day Free Trial. Visit ETPrime.com https://prime.economictimes.indiatimes.com/campaign?utm_source=Newsletter&utm_medium=email&utm_campaign=ETPrimeNewsletter&utm_content=Internal_Gmail_Footer_Message****

**

SanjayRathor commented 5 years ago

Hello ,

I played the video and successfully played the video and after that playing same video without the network, It does not play . Ideally it should cache that video and playing same video then it should play from cache .

On Sat, Sep 29, 2018 at 12:36 PM Sanjay Singh Rathor < sanjay.rathor@timesinternet.in> wrote:

OK. Let me try and i will let you know

On Fri, Sep 28, 2018 at 9:29 PM Vladislav Dugnist < notifications@github.com> wrote:

I made draft implementation in feature/data_source branch. Could you help me to test it? I don't have a lot of free time now.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vdugnist/DVAssetLoaderDelegate/issues/7#issuecomment-425482788, or mute the thread https://github.com/notifications/unsubscribe-auth/Agpec6O10-xVoQJbblCBJ6dmLoN7hxOCks5ufkdZgaJpZM4W6oih .

--

Join ET Prime for fast, insight-rich analysis of news that matters to you. Stay ahead with the story behind the story. ****

Start Your 15-Day Free Trial. Visit ETPrime.com https://prime.economictimes.indiatimes.com/campaign?utm_source=Newsletter&utm_medium=email&utm_campaign=ETPrimeNewsletter&utm_content=Internal_Gmail_Footer_Message****

**

wanhmr commented 5 years ago

I have the same request. Thx.

lucas-adeva commented 4 years ago

do you have any update with this feature?