我正在使用ExoPlayer进行音频流,使用OkHttpDataSourceFactory,我正面临着三星Galaxy S5 Android 5.0的问题。 流(http://88.85.99.43:8000/hitportal)不仅适用于移动数据(3g / 4g),我收到以下错误:
E/ExoPlayerImplInternal: Source error. com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 503 at
com.google.android.exoplayer2.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:212) at com.google.android.exoplayer2.upstream.DefaultDataSource.open(DefaultDataSource.java:123) at com.google.android.exoplayer2.source.ExtractorMediaPeriod$ExtractingLoadable.load(ExtractorMediaPeriod.java:596) at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:295) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818)
如何解决问题?
感谢。