React Native 用 WebRTC ライブラリ
このライブラリの開発とメンテナンスは終了しました
今後は https://github.com/react-native-webrtc/react-native-webrtc をご利用ください。
もともとは react-native-webrtc のメンテナンスが活発では無く、
さらには自分たちが求める設計では無かった事が react-native-webrtc-kit を開発していました。
今は react-native-webrtc は十分メンテナンスされている状態にあります。 React Native WebRTC Kit の役割はおわったと考えたためです。
React Native WebRTC Kit は、 React Native アプリケーションから WebRTC ネイティブライブラリを使うためのライブラリです。
本ライブラリを使うと、マルチプラットフォームに対応する WebRTC ネイティブアプリケーションを React Native で開発できます。
We will not respond to PRs or issues that have not been discussed on Discord. Also, Discord is only available in Japanese.
Please read https://github.com/shiguredo/oss/blob/master/README.en.md before use.
利用前に https://github.com/shiguredo/oss をお読みください。
本ライブラリは WebRTC M88 を利用しています。
本ライブラリの API は できるだけ WebRTC の Web API に近づけていますが、
ネイティブ API では実装が難しい API や本ライブラリの都合で同一にできない API があります。
相違点については ドキュメント を参照してください。
サンプルコードは https://github.com/react-native-webrtc-kit/react-native-webrtc-kit-samples にあります。
ドキュメントは https://react-native-webrtc-kit.shiguredo.jp/ にあります。
また、以下の機能について、Android は未対応です。
本ライブラリが利用する WebRTC ライブラリは、デフォルトの設定では弊社がビルドしたバイナリを指定しています。
このバイナリは弊社製品用の設定でビルドしてあるので、他のバイナリを使いたい場合は次の方法で入れ替えてください。
WebRTC.framework
を ios/Pods/WebRTC/WebRTC.framework
と入れ替えます。
libwebrtc.aar
を android/libs/
下に配置し、android/build.gradle
の dependencies を以下のように編集します。
dependencies {
implementation 'com.facebook.react:react-native:+'
// api "com.github.react-native-webrtc-kit:webrtc-android:88.4324.2.0"
implementation "androidx.annotation:annotation:1.1.0"
api fileTree(dir: 'libs')
}
Discord で Issue を作成して欲しいと言われた際、
次の開発環境のバージョンを 「メジャーバージョン、マイナーバージョン、メンテナンスバージョン」 まで含めて書いてください (9.4.1など) 。
これらの開発環境はメンテナンスバージョンの違いでも Sora iOS SDK の挙動が変わる可能性があります。
モバイルだけでなくデスクトップでも利用可能な仕組みを提供していきます。
Copyright 2018-2019, Masashi Ono aka akisute (Original Author)
Copyright 2018-2021, Shiguredo Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.