Commit 6b775efd by Oliver Woodman

Fix playback of HLS media playlists

parent 1a5d1235
......@@ -144,11 +144,10 @@ public class HlsRendererBuilder implements RendererBuilder {
player.onRenderersError(e);
return;
}
}
if (variantIndices.length == 0) {
player.onRenderersError(new IllegalStateException("No variants selected."));
return;
if (variantIndices.length == 0) {
player.onRenderersError(new IllegalStateException("No variants selected."));
return;
}
}
DataSource dataSource = new DefaultUriDataSource(context, bandwidthMeter, userAgent);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment