YUNEEC/Yuneec-RTSP-Player-Android


Android Library for displaying live video stream from camera.

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.yuneec:yuneec-rtsp-player-android:0.1'
	}
	dependencies {
		implementation("com.github.yuneec:yuneec-rtsp-player-android:0.1")
	}
	<dependency>
	    <groupId>com.github.yuneec</groupId>
	    <artifactId>yuneec-rtsp-player-android</artifactId>
	    <version>0.1</version>
	</dependency>

                            
    libraryDependencies += "com.github.yuneec" % "yuneec-rtsp-player-android" % "0.1"
        
        

                            
    :dependencies [[com.github.yuneec/yuneec-rtsp-player-android "0.1"]]
        
        

Readme


Yuneec-RTSP-Player-Android

Android Library for displaying live video stream from camera. This library uses IJKPlayer, which is based on FFmpeg.

Usage

Pull in using maven

To use this library in your Android application, you can add the following to the root build.grade:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Then, add the dependency to the app's build.gradle:

compile 'com.github.YUNEEC:Yuneec-RTSP-Player-Android:X.Y.Z'

where X.Y.Z is the version to select.

To see all the available versions, go to Jitpack. In the look up box paste YUNEEC/Yuneec-RTSP-Player-Android.

Please choose the latest version of the library to integrate with your project.

Tutorial

For more details on usage of this library, please refer https://developer.yuneec.com/documentation/120/Live-Video-Streaming.

License

The source code in this repository is published under the BSD 3-Clause license.

Yuneec-RTSP-Player-Android uses libraries of IJKPlayer licensed under the LGPLv2.1. The source code of these libraries, the compilation instructions, and the LGPL v2.1 license are provided in Github.