UnityPlugin-AVProVideo
UnityPlugin-AVProVideo copied to clipboard
[Windows] Unable to play HLS streaming video on AWS EC2
Describe the issue Didn't see the video screen when running on AWS EC2 VM, the player log does not show any errors either. The same application can play streaming video on my local computer.
Your Setup (please complete the following information):
- Unity version: 2022.3.7f1
- AVPro Video version (number and edition (trial/core/ultra/enterprise)): v2.9.0/core
- Operating system version: Microsoft Windows Server 2022 Base
- Device model: AWS EC2 g4dn.xlarge
- Video specs (resolution, frame-rate, codec, file size): 1280x720/ 60/ H264-MPEG-4 AVC/?
To Reproduce
- Set HLS streaming url in Media Player.
- Set to Auto Open and Auto Play.
- Use Media Foundation on Windows Platform.
- Build Windows application.
- When running on AWS EC2 VM, can not see the video.
Logs If applicable, add error logs to help explain your problem.
-
AWS EC2 Unity Player Log. Player.log
-
Local computer Unity Player Log. Player.log
Screenshots If applicable, add screenshots to help explain your problem.
-
Platform Specific
-
Unable to play HLS streaming. (AWS EC2 VM with Nvidia Tesla T4 GPU)
-
Local computer can play HLS streaming. (Windows 10 enterprise doesn't have GPU)
Videos If applicable, add a copy of your video or the URL
https://github.com/RenderHeads/UnityPlugin-AVProVideo/assets/50853847/63267875-e2a1-4233-97e1-570a69416030
- Have you tried DirectShow and WinRT APIs as well?
- Have you tried disabling audio?
- Have you got a virtual speaker driver installed?
- Have you tried a stream with h265 codec?
- You can also try disabling the hardware decode option (find it under Platform - Windows - Media Foundation in the MediaPlayer component). Just untick the option.
- Have you tried DirectShow and WinRT APIs as well?
Yes, I have tried both DirectShow and WinRT APIs.
- Have you tried disabling audio?
I've disabled audio in DirectShow, WinRT, and Media Foundation. Furthermore, I have not used hardware decoding, but the problem persists.
- Have you got a virtual speaker driver installed?
In the Windows Server VM, I have tried installing VAC and VB, but the input and output devices can't be detected.Are there any recommended virtual speaker driver ?
- Have you tried a stream with h265 codec?
Sadly, we will be using our own media server, and the H.264 encoding is fixed. But the VLC Player is capable of playing it, that is certain.
- You can also try disabling the hardware decode option (find it under Platform - Windows - Media Foundation in the MediaPlayer component). Just untick the option.
The issue persists even after I disable hardware decoding in DirectShow, WinRT, and Media Foundation.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.