Skip to content

Commit

Permalink
Use new Govitra transcoder instead of the old PHP one
Browse files Browse the repository at this point in the history
  • Loading branch information
Matti Jokitulppo authored and Matti Jokitulppo committed Apr 19, 2016
1 parent b858d11 commit 44cf127
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions app/src/main/java/fi/aalto/legroup/achso/app/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,7 @@ public static void setupUploaders(Context context) {
combinedRepository.addHost(achRails);
combinedRepository.setCacheRoot(makeCacheVideoDirectory());

// HACK: Use Achminup for uploading for now
if (usePublicLayersBox) {
UploadService.addUploader(new DumbPhpStrategy(getAchsoStorageUrl(context), false));
} else {
UploadService.addUploader(new GoViTraStrategy(jsonSerializer, getAchsoStorageUrl(context)));
}
UploadService.addUploader(new GoViTraStrategy(jsonSerializer, getAchsoStorageUrl(context)));

Uri clViTra2Url = Uri.parse(context.getString(R.string.clvitra2Url));
ClViTra2Strategy videoStrategy = new ClViTra2Strategy(clViTra2Url);
Expand Down

0 comments on commit 44cf127

Please sign in to comment.