I am attempting to access a network resource to play using ExoPlayer. The Android test device appears to be able to access my NAS using Astro File Manager without problem.
This code (direct copy from the ExoPlayer example) is causing the issue:-
The code breaks on the last line with "open failed - no such file or directory"
I understand smb:// is not supported. Am I using the correct method to access the NAS here or have I made a dumb mistake in the path/file name?
This code (direct copy from the ExoPlayer example) is causing the issue:-
B4X:
player1.Initialize("player")
Dim sources As List
sources.Initialize
sources.Add(player1.CreateFileSource($"//MYNAS/Videos/Music Videos"$,"My Video.mp4")) '< error here
The code breaks on the last line with "open failed - no such file or directory"
I understand smb:// is not supported. Am I using the correct method to access the NAS here or have I made a dumb mistake in the path/file name?
Last edited: