SRT Stream on Android
Summary
SRT stream does'nt start on Android.
Minimal project and steps to reproduce
- Create a new project on Unity 2022.3.13f1 using the VR (Core) sample [URP].
- Import the VLC package in the project (vlc-unity-windows-0.1.9.unitypackage)
- Restart the Unity Editor.
- Switch platform to Android.
- Change the player settings Android Graphic API to OpenGLES3 & Active Input Handling to "Both"
- Restart the Unity Editor.
- Change the source of of the VLCMinimalPlayback.cs script to any SRT stream (srt://\\\<ip>:<port>) on line 68.
- Build the MinimalPlayback scene on Android.
What is the current bug behavior?
The SRT stream seems to not be read by VLC on Android (Occulus - Meta Quest & Android Phone).
What is the expected correct behavior?
The stream should be read.
Does it work on other plaforms? Does it work with the official VLC apps?
It works in the Unity Editor and build on Windows. It also works on the official desktop VLC running on another computer as the SRT stream source, so it's not a firewall issue.
Relevant logs and/or screenshots
Unity logs with Android Logcat when running the VLCMinimalPlayback on an Android phone.
Environment
- OS:
- Windows 10 Professionnel
- Android
- Unity 2022.3.13f
- Device:
- Meta Quest 3
- VLC Unity plugin version
- vlc-unity-windows-0.1.9.unitypackage
- Scripting backend used
- il2cpp
Possible fixes
This might be an issue with the Android pluging.
Edited by LUPOIMM
