Skip to content

Commit

Permalink
use jitpack for video (again), ready for release
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Apr 20, 2020
1 parent f1d5a87 commit 944ce9a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions RenderingXExample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ dependencies {

//Use either the artifacts from jitpack or provide a path directly
//(Requires also changes to the settings.gradle file)
//implementation 'com.github.Consti10:LiveVideo10ms:v7.1'
implementation 'com.github.Consti10:LiveVideo10ms:v8.0'
//implementation 'com.github.Consti10:LiveVideo10ms:master-SNAPSHOT'
implementation project(path: ':VideoCore')
//implementation project(path: ':VideoCore')

//Do not update the Gvr version, since the native code does not compile with the newer one
//(This bug won't be fixed by google since they abandoned the lib)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected void onCreate(Bundle savedInstanceState) {
VideoSettings.setVS_SOURCE(this, VideoSettings.VS_SOURCE.ASSETS);
VideoSettings.setVS_ASSETS_FILENAME_TEST_ONLY(this,VIDEO_FILENAME);
VideoSettings.setVS_FILE_ONLY_LIMIT_FPS(this,40);
videoPlayer=new VideoPlayer(this,null);
videoPlayer=new VideoPlayer(this);
}
// VideoCore provides a convenient callback to use with VideoSurfaceHolder
final ISurfaceAvailable iSurfaceAvailable=USE_ANDROID_MEDIA_PLAYER ?
Expand Down
4 changes: 2 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include ':RenderingXCore', ':RenderingXExample'

//Comment when using artifacts from jitpack
include ':VideoCore'
project(':VideoCore').projectDir=new File('..\\LiveVideo10ms\\VideoCore')
//include ':VideoCore'
//project(':VideoCore').projectDir=new File('..\\LiveVideo10ms\\VideoCore')

0 comments on commit 944ce9a

Please sign in to comment.