File tree Expand file tree Collapse file tree
dConnectSDK/dConnectLibStreaming Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ dConnectLibStreaming は、映像配信などを行うためのライブラリ
88| :--| :--|
99| libmedia| 映像・音声を配信する機能を提供するモジュール。|
1010| libopus| opus エンコードとデコードの機能を提供するモジュール。|
11- | libsrt| SRT 配信用サーバとプレイヤーの機能を提供するモジュール。|
11+ | libsrt| SRT 配信用サーバとプレイヤーの機能を提供するモジュール。libmedia に依存します。 |
1212| rtsp-player-app| RTSP 確認用プレイヤーのアプリ。|
1313| rtsp-server-app| RTSP 確認用サーバのアプリ。|
1414| srt-player-app| SRT 確認用プレイヤーのアプリ。|
@@ -33,6 +33,33 @@ dConnectLibStreaming は、映像配信などを行うためのライブラリ
3333 └─ README.md
3434```
3535
36+ # インストール方法
37+ libmedia と libsrt を AndroidStudio プロジェクトにインストールする方法を説明します。
38+
39+ libmedia と libsrt の aar を、下記のリリースページでダウンロードします。<br >
40+ [ https://github.com/DeviceConnect/DeviceConnect-Android/releases ] ( https://github.com/DeviceConnect/DeviceConnect-Android/releases )
41+
42+
43+
44+ aar はプロジェクト直下の ` libs ` フォルダにコピーします。
45+
46+ ```
47+ /YourProject
48+ ├── /libs
49+ │ ├─ libmedia-release-{version}.aar
50+ │ └─ libsrt-release-{version}.aar
51+ └── /your-module
52+ └─ build.gradle
53+ ```
54+
55+ ライブラリを使用するモジュールの build.gradle で、以下の依存関係を追加します。
56+
57+ ```
58+ dependencies {
59+ implementation fileTree(dir: 'libs', include: ['*.aar'])
60+ }
61+ ```
62+
3663# モジュールのビルド
3764
3865モジュールの開発を行う場合には、SRT をビルドしておく必要があります。
You can’t perform that action at this time.
0 commit comments