yasirkula/UnityNativeCamera

use NativeGallery.GetVideoThumbnail return empty

NightRannie opened this issue · 6 comments

used NativeGallery.GetMixedMediaFromGallery to get path,the path is not empty
but NativeGallery.GetVideoThumbnail return empty
I thought the question of permission ,but not

how to get VideoThumbnail

Xnip2023-05-29_17-12-26

Hmm, what happens at the next line (if (thumbnail.ToString().Length == 0) return;)? Does it throw an exception or simply return?

hello,because the callback sends a request,if the thumbnail is empty I don't want to send it

Below what I've tagged is catch output, which looks like null

I see that you're testing the function in the Editor but it isn't supported in the Editor. Please try it on Android or iOS device instead.

OKAY