Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async downloading video #32

Closed
bobledeveloper opened this issue Apr 6, 2016 · 2 comments
Closed

Async downloading video #32

bobledeveloper opened this issue Apr 6, 2016 · 2 comments

Comments

@bobledeveloper
Copy link

I've read how to download video with the sample but my app is lagging during download so i want to do tha async but i don't know how can you help me ?

@narqs
Copy link

narqs commented Apr 6, 2016

async void DownloadVideo()
{
var youTube = YouTube.Default;
var video = youTube.GetVideo(URL);

byte[] bytes = await video.GetBytesAsync();

}

Remember, the function should be an async

@bobledeveloper
Copy link
Author

Thanks a lot i'll test ;DDD

@omansak omansak closed this as completed Dec 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants