shiguredo/sora-webrtc-android


[OLD] WebRTC libraries for Android https://github.com/shiguredo/shiguredo-webrtc-android

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.shiguredo:sora-webrtc-android:75.16.0'
	}
	dependencies {
		implementation("com.github.shiguredo:sora-webrtc-android:75.16.0")
	}
	<dependency>
	    <groupId>com.github.shiguredo</groupId>
	    <artifactId>sora-webrtc-android</artifactId>
	    <version>75.16.0</version>
	</dependency>

                            
    libraryDependencies += "com.github.shiguredo" % "sora-webrtc-android" % "75.16.0"
        
        

                            
    :dependencies [[com.github.shiguredo/sora-webrtc-android "75.16.0"]]
        
        

Readme


ここは古いリポジトリです。

移行先は https://github.com/shiguredo/shiguredo-webrtc-android です。

WebRTC libraries for Android

このリポジトリは WebRTC SFU Sora Android SDK 向けにビルドした libwebrtc.aar ファイルを公開しています。

利用方法の例は Sora Android SDK のドキュメント をご覧ください。

jitpack.io での AAR の配布

公開している AAR ファイルを jitpack.io でも配布しています。

build.gradle で、リポジトリ URL の追加、および依存関係を記述することで利用可能です。

    repositories {
        maven { url 'https://jitpack.io' }
    }
api "com.github.shiguredo:sora-webrtc-android:${libwebrtc_version}"

ライセンス

このリポジトリにあるコードは Apatch License Version 2.0 でライセンスされます。

libwebrtc (webrtc.org) のコードは webrtc.org のライセンス、 パテントの指定に従います。このリポジトリのルート直下の LICENSE_WEBRTC, PATENTS_WEBRTC を参照して下さい。それらのオリジナルは次の URL にあります。

  • https://webrtc.googlesource.com/src/+/master/LICENSE
  • https://webrtc.googlesource.com/src/+/master/PATENTS

releases, jitpack.io で配布する libwebrtc の AAR バイナリのライセンスは、 releases にある THIRD_PARTY_LICENSES.md を参照して下さい。

リリース方法 (開発者向け)

  1. AAR をビルドする
    • 詳細は https://github.com/shiguredo/shiguredo-webrtc-build リポジトリを参照
  2. git flow release start <RELEASE_VERSION>
  3. prepareAar.shVERSION を変更する
  4. prepareAar.shRELEASE_VERSION を変更する
    • 基本は VERSION と同じ、このリポジトリのメンテンナスにより同一 AAR に 複数バージョンをつけたい場合はサフィックスを付ける
  5. git flow release finish <RELEASE_VERSION>
  6. git push --tags origin master develop
  7. sora-webrtc-build でビルドしたファイルを releases の <RELEASE_VERSION> タグに上げる
    • libwebrtc.aar
    • THIRD_PARTY_LICENSES.md
  8. shiguredo / sora-webrtc-android https://jitpack.io/#shiguredo/sora-webrtc-android/ を確認