Android Stream Media Source Freeze On Open

Hey!

Found what looks to be a bug/intentional bug.

Platform: Android Phones, Oculus Go, GearVR

Issue: When using Stream Media Source in a Media Player, the open command triggers a freeze for a few seconds. Tested with multiple formats and multiple project. Is consistent. Initial format this was found with is mp4 h264 aac.

Log from top down example - with a level begin play function:

[2019.02.15-18.16.52:196][278]LogBlueprintUserMessages: [TopDownExampleMap_C_7] ANDROID MOVIE STARTING //Traces when the open command happened
[2019.02.15-18.16.53:123][278]LogSlate: Took 0.000402 seconds to synchronously load lazily loaded font ‘…/…/…/Engine/Content/EngineFonts/Faces/RobotoRegular.ufont’ (155K)
[2019.02.15-18.17.10:586][326]LogAndroid: Case APP_CMD_PAUSE // Seems to be the culprit
[2019.02.15-18.17.10:595][326]LogAndroidEvents: Display: DequeueAppEvent : 6, 0
[2019.02.15-18.17.11:543][326]LogTcpMessaging: Lost node ‘E0382EE84C7B77AAF83864AAD07D5C0E’ on connection ‘127.0.0.1:36633’…
[2019.02.15-18.17.11:545][326]LogTemp: Android pause audio

Basically causes any stream media file loading on android to freeze frame for about 2-3 seconds.
Assuming its because of App_CMD_Pause, but why is that there in the first place?

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks

Hi Jeff, the bug was reported before this post. I assumed this was a prerequisite to that.
The issue still does exist though. I do believe that this is an engine bug. Something which can easily go unnoticed for a good while.

Case # 00098964: AndroidMediaPlayer streaming video on Oculus Go

Hi Hereafter,

did you find a solution? We have exactly the same problem.

I also couldn’t find the case you mentioned (Case # 00098964) Did you use the new bug reporting method to submit that bug?

And no, i wasnt able to fix it. It seems to affect only a few android devices including the Galaxy S devices (which are essentially a precursor to the Oculus Headsets). My advice, switch it up to download the video first and then play it. You’ll need some sort of loader/progress bar depending on what you are streaming. For Video players, i put a simple progress bar and make the video controls show when downloaded.