This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

react-native-webrtc-kit

2020.7.0 • Public • Published

React Native WebRTC Kit

libwebrtc GitHub tag npm version License

React Native WebRTC Kit は、 React Native アプリケーションから WebRTC ネイティブライブラリを使うためのライブラリです。
本ライブラリを使うと、マルチプラットフォームに対応する WebRTC ネイティブアプリケーションを React Native で開発できます。

時雨堂のオープンソースソフトウェアについて

利用前に https://github.com/shiguredo/oss をお読みください。

利用 libwebrtc バージョン

本ライブラリは WebRTC M88 を利用しています。

Web API (ブラウザ) との互換性について

本ライブラリの API は できるだけ WebRTC の Web API に近づけていますが、 ネイティブ API では実装が難しい API や本ライブラリの都合で同一にできない API があります。

相違点については ドキュメント を参照してください。

About Support

We check PRs or Issues only when written in JAPANESE. In other languages, we won't be able to deal with them. Thank you for your understanding.

サンプルコード

サンプルコードは https://github.com/react-native-webrtc-kit/react-native-webrtc-kit-samples にあります。

ドキュメント

ドキュメントは https://react-native-webrtc-kit.shiguredo.jp/ にあります。

システム要件

  • npm 6.11.3
  • yarn v1.22.4
    • 本ライブラリを使うアプリケーションのビルドと実行は yarn に依存しています。 npm を直接使う場合の動作は保証しません。
  • watchman 4.9.0

iOS アプリケーションの開発

  • iOS 10.0 以降
  • Xcode 10
  • CocoaPods 1.5.0

Android アプリケーションの開発

  • Android 5 以降
  • Android Studio 3.5.1 以降

また、以下の機能について、Android は未対応です。

  • オーディオポートの切り替え/取得機能 (getAudioPort, setAudioPort)

WebRTC ライブラリについて

本ライブラリが利用する WebRTC ライブラリは、デフォルトの設定では弊社がビルドしたバイナリを指定しています。
このバイナリは弊社製品用の設定でビルドしてあるので、他のバイナリを使いたい場合は次の方法で入れ替えてください。

 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')
 }

Issues について

質問やバグ報告する場合は次の開発環境のバージョンを 「メジャーバージョン、マイナーバージョン、メンテナンスバージョン」 まで含めて書いてください (9.4.1など) 。
これらの開発環境はメンテナンスバージョンの違いでも Sora iOS SDK の挙動が変わる可能性があります。

  • Discord ID
  • React Native WebRTC Kit
  • iOS
    • Mac OS X
    • Xcode
    • iOS
  • Android
    • Android SDK Version
    • Android Build Tools Version
    • Android OS Version

継続的な更新

  • 最新の iOS や Android への対応
  • 最新の libwebrtc への対応

今後の予定

モバイルだけでなくデスクトップでも利用可能な仕組みを提供していきます。

ライセンス

Copyright 2018-2019, Masashi Ono aka akisute (Original Author)
Copyright 2018-2020, 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.

Dependencies (3)

Dev Dependencies (11)

Package Sidebar

Install

npm i react-native-webrtc-kit

Weekly Downloads

1

Version

2020.7.0

License

Apache-2.0

Unpacked Size

907 kB

Total Files

144

Last publish

Collaborators

  • tnamao
  • miosakuma
  • melpon
  • takeruohta
  • voluntas
  • szktty