Skip to content

Commit a0cc25e

Browse files
committed
upload vlc to jitpack
1 parent 0a4eb95 commit a0cc25e

14 files changed

+38
-3
lines changed

README.md

+31
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# vlc-example-streamplayer
2+
23
Example code how to play a stream with VLC.
34

45
Use this endpoint for test:
6+
7+
```
58
rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
9+
```
10+
11+
## Gradle
12+
Compile my wrapper:
13+
14+
```gradle
15+
allprojects {
16+
repositories {
17+
maven { url 'https://jitpack.io' }
18+
}
19+
}
20+
dependencies {
21+
compile 'com.github.pedroSG94.vlc-example-streamplayer:pedrovlc:2.5.14'
22+
}
23+
```
24+
25+
Compile only VLC (version 2.5.14):
26+
27+
```gradle
28+
allprojects {
29+
repositories {
30+
maven { url 'https://jitpack.io' }
31+
}
32+
}
33+
dependencies {
34+
compile 'com.github.pedroSG94.vlc-example-streamplayer:libvlc:2.5.14'
35+
}
36+
```

app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ android {
2020

2121
dependencies {
2222
compile 'com.android.support:appcompat-v7:27.0.2'
23-
compile project(':library')
23+
compile project(':pedrovlc')
2424
}

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
}
88
dependencies {
99
classpath 'com.android.tools.build:gradle:3.0.1'
10-
10+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
1111
// NOTE: Do not place your application dependencies here; they belong
1212
// in the individual module build.gradle files
1313
}

libvlc/build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
apply plugin: 'com.android.library'
2+
apply plugin: 'com.github.dcendents.android-maven'
3+
group = 'com.github.pedroSG94'
24

35
android {
46
compileSdkVersion 27
File renamed without changes.

library/build.gradle pedrovlc/build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
apply plugin: 'com.android.library'
2+
apply plugin: 'com.github.dcendents.android-maven'
3+
group = 'com.github.pedroSG94'
24

35
android {
46
compileSdkVersion 27
File renamed without changes.
File renamed without changes.

settings.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
include ':app', ':library', ':libvlc'
1+
include ':app', ':pedrovlc', ':libvlc'

0 commit comments

Comments
 (0)