Skip to content

HLS live stream works fine on Wifi, fails on 3G network #1126

Closed
@nightwolf738

Description

@nightwolf738

It fails on your Demo app. I put a URL in Sample[] HLS in Samples.java. It shows the URL in the list of SampleChooserActivity. When I tap it, it works fine on Wifi, but fails on 3G network giving the following error.

Stacktrace:

com.google.android.exoplayer.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 404
                                                                                    at com.google.android.exoplayer.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:210)
                                                                                    at com.google.android.exoplayer.upstream.DefaultUriDataSource.open(DefaultUriDataSource.java:135)
                                                                                    at com.google.android.exoplayer.upstream.DataSourceInputStream.checkOpened(DataSourceInputStream.java:97)
                                                                                    at com.google.android.exoplayer.upstream.DataSourceInputStream.open(DataSourceInputStream.java:56)
                                                                                    at com.google.android.exoplayer.upstream.UriLoadable.load(UriLoadable.java:92)
                                                                                    at com.google.android.exoplayer.upstream.Loader$LoadTask.run(Loader.java:209)
                                                                                    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)
                                                                                    at java.util.concurrent.FutureTask.run(FutureTask.java:234)
                                                                                    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
                                                                                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
                                                                                    at java.lang.Thread.run(Thread.java:841)

I am trying to switch from Vitamio to Exoplayer. Vitamio hasn't got any issue like this. Any advices?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions