-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Describe the bug
A clear and concise description of what the bug is.
On Windows7, when playing a video from HTTPS URL, the call for OpenVideoFromFile causes the app to stall for approximately 20-60 seconds. The exact point I was able to trace is at WindowsMediaPlayer.cs at the Native.OpenSource call.
It happens only the first time accessing the given URL.
In my case, we're generating pre-signed URLs from Amazon S3 so it happens every time.
It looks like some sort of caching that happens in the first time and stalls the entire Unity Editor / Released Product.
Device (which devices are you having the issue with - model, OS version number):
Windows7
Media (tell us about your videos - number of videos, resolution, codec, frame-rate, example URLs):
1 Video, 640x480, mp4, 24 FPS, https://spivi-cdn.s3.amazonaws.com/vod/1632/1444579/audio_video_640x480_2020-11-06_09-30-46_AHF3U.mp4
System Information:
AVPro Video: plugin v1.11.5 scripts v1.11.5
Target Platform: Standalone
Unity: v2019.4.13f1 WindowsEditor
OS: Desktop - MS-7817 (MSI) - Windows 7 (6.1.0) 64bit - Hebrew
CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz - 8 threads - 16312KB
GPU: NVIDIA GeForce GTX 1050 Ti - NVIDIA - Direct3D 11.0 [level 11.0] - 3998KB - 16384
Your Setup (please complete the following information):
- Unity version: 2019.4.13f1
- AVPro Video version: 1.11.5
- Operating system version: Windows7
- Device model:
- Video specs (resolution, frame-rate, codec, file size):
To Reproduce
- Create a new project on Windows7
- Add the FullscreenVideo prefab and set its URL to a new URL of media that hasn't been opened on the device and disable auto open.
- Go to play mode.
- Press the load button to open the URL.
- The editor will freeze for 20-60 seconds.
Logs
If applicable, add error logs to help explain your problem.
Screenshots
If applicable, add screenshots to help explain your problem.
Videos
If applicable, add a copy of your video or the URL
Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE
Instead email the link to us unitysupport@renderheads.com