Luke 37060 Posted September 9, 2012 Share Posted September 9, 2012 ApiClient now has a method called GetAudioStreamUrl, which you can use to construct a url for audio playback. The idea is you specify as many output formats as your device can handle, so that we can try and avoid encoding whenever possible, since that's put a load on your server's cpu. When we can avoid encoding, we can just serve the original file directly, which will allow the user to seek during playback. The more params you specify, the greater the chances are that we'll have to encode, so try to omit as many of them as possible. Link to comment Share on other sites More sharing options...
Luke 37060 Posted September 9, 2012 Author Share Posted September 9, 2012 Recommended values: Windows Phone 7: Output formats: mp3,wma,(aac?) Audio Channels: 2 Audio Sample Rate: Omit Metro: Output formats: mp3,wma,(aac?) Audio Channels: 2 (or have device-dependant settings to make this more robust) Audio Sample Rate: Omit Android: Output formats: mp3,aac Audio Channels: 2 Audio Sample Rate: Omit iOS: Output formats: mp3,aac Audio Channels: 2 Audio Sample Rate: Omit Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now