Lixuya/TPlayer


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.Lixuya:TPlayer:1.0'
	}
	dependencies {
		implementation("com.github.Lixuya:TPlayer:1.0")
	}
	<dependency>
	    <groupId>com.github.Lixuya</groupId>
	    <artifactId>TPlayer</artifactId>
	    <version>1.0</version>
	</dependency>

                            
    libraryDependencies += "com.github.Lixuya" % "TPlayer" % "1.0"
        
        

                            
    :dependencies [[com.github.Lixuya/TPlayer "1.0"]]
        
        

Readme


PlayerSDK

标签:gvr live hls audioplayer videoplayer

功能介绍

  • VR视频播放
  • 全景音音效

接口介绍

  1. FragmentLive.java:直播页面。
  2. FragmentOnline.java:在线播放和下载页面。
  3. FragmentDownload.java:本地文件播放。
  4. SimpleVrVideoActivity.java:播放器各种功能的实现。
  5. HLSActivity.java:直播播放器功能的实现。

项目展示

url url

Issue

如果有bug反馈或者建议,欢迎提issues里讨论。

Contributing Code

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request