play loaded file from http from memory

Cor

Active Member
Licensed User
Longtime User
Don't want streaming because sound file is loaded from protected site

gives setdatasource error when running on device

File.DirDefaultExternal is ok
File.DirInternal error

Is it possible to play from memory without saving to file first

Code:
'save to file

If TaskId = RequestId Then 'Fetch the main page
   Response.GetAsynchronously("MainResponse",File.OpenOutput(File.DirDefaultExternal, "lick.ogg", False), True, RequestId)
   Return
End If

Code:
mp.Load(File.DirInternal,"lick.ogg")  'error
 
Back
Top