Using the wrapped stream endpoint lets a user get the audio content by calling $synology->stream('music_xxx');
This is returned as byte-range if the browser supports it (if the API call is done directly from a browser ofc). Best is to relay ALL response headers from the API but I don't know how to do that and more importantly where it should go; in the AudioStation API wrapper or the demo code.
Any help with this issue is really appreciated!
Using the wrapped stream endpoint lets a user get the audio content by calling $synology->stream('music_xxx'); This is returned as byte-range if the browser supports it (if the API call is done directly from a browser ofc). Best is to relay ALL response headers from the API but I don't know how to do that and more importantly where it should go; in the AudioStation API wrapper or the demo code. Any help with this issue is really appreciated!