Skip to content

Commit

Permalink
upload vlc to jitpack
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroSG94 committed Dec 30, 2017
1 parent 0a4eb95 commit a0cc25e
Show file tree
Hide file tree
Showing 14 changed files with 38 additions and 3 deletions.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# vlc-example-streamplayer

Example code how to play a stream with VLC.

Use this endpoint for test:

```
rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
```

## Gradle
Compile my wrapper:

```gradle
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
dependencies {
compile 'com.github.pedroSG94.vlc-example-streamplayer:pedrovlc:2.5.14'
}
```

Compile only VLC (version 2.5.14):

```gradle
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
dependencies {
compile 'com.github.pedroSG94.vlc-example-streamplayer:libvlc:2.5.14'
}
```
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ android {

dependencies {
compile 'com.android.support:appcompat-v7:27.0.2'
compile project(':library')
compile project(':pedrovlc')
}
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'

classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand Down
2 changes: 2 additions & 0 deletions libvlc/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
group = 'com.github.pedroSG94'

android {
compileSdkVersion 27
Expand Down
File renamed without changes.
2 changes: 2 additions & 0 deletions library/build.gradle → pedrovlc/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
group = 'com.github.pedroSG94'

android {
compileSdkVersion 27
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include ':app', ':library', ':libvlc'
include ':app', ':pedrovlc', ':libvlc'

0 comments on commit a0cc25e

Please sign in to comment.