Skip to content

Commit

Permalink
Updated the pre-provided MediaSourceProviders to include a period in …
Browse files Browse the repository at this point in the history
…the loose comparison regex (brianwernick#590)
  • Loading branch information
brianwernick authored Mar 31, 2018
1 parent ba90587 commit 9d0955c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ private static void instantiateRendererClasses() {

private static void instantiateSourceProviders() {
// Adds the HLS, SmoothStream, and MPEG Dash registrations
sourceTypeBuilders.add(new MediaSourceProvider.SourceTypeBuilder(new HlsMediaSourceBuilder(), ".m3u8", ".*m3u8.*"));
sourceTypeBuilders.add(new MediaSourceProvider.SourceTypeBuilder(new DashMediaSourceBuilder(), ".mpd", ".*mpd.*"));
sourceTypeBuilders.add(new MediaSourceProvider.SourceTypeBuilder(new SsMediaSourceBuilder(), ".ism", ".*ism.*"));
sourceTypeBuilders.add(new MediaSourceProvider.SourceTypeBuilder(new HlsMediaSourceBuilder(), ".m3u8", ".*\\.m3u8.*"));
sourceTypeBuilders.add(new MediaSourceProvider.SourceTypeBuilder(new DashMediaSourceBuilder(), ".mpd", ".*\\.mpd.*"));
sourceTypeBuilders.add(new MediaSourceProvider.SourceTypeBuilder(new SsMediaSourceBuilder(), ".ism", ".*\\.ism.*"));
}
}
}

0 comments on commit 9d0955c

Please sign in to comment.