Hi pylon,
Without 1500ms delay, the audio will not start. I guess that the file is big or the network transfer rate is not good enough(you mentioned the source is from DLNA) and the app may take nearly 1500ms to load the file stream to memory, if you
work with a local storage file, your code should be great.
I would suggest you to use a ProgressBar or ProgressRing for the status monitoring instead of Task.Delay(). You could download that file to local and open it by MediaElement, at least your clients should know that the app is downloading something
but not just wait without any information notified.
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.