sora-sdk 2025.2.0.dev1__tar.gz → 2025.5.0.dev9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/MANIFEST.in +1 -0
  2. sora_sdk-2025.5.0.dev9/PKG-INFO +266 -0
  3. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/README.md +40 -16
  4. sora_sdk-2025.5.0.dev9/VERSION +1 -0
  5. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/buildbase.py +684 -108
  6. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/pypath.py +1 -3
  7. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/pyproject.toml +17 -20
  8. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/run.py +179 -54
  9. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/setup.py +23 -4
  10. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/src/sora_sdk/__init__.py +23 -0
  11. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/src/sora_sdk/sora_sdk_ext.cpython-311-darwin.so +0 -0
  12. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/src/sora_sdk/sora_sdk_ext.pyi +203 -192
  13. sora_sdk-2025.5.0.dev9/src/sora_sdk.egg-info/PKG-INFO +266 -0
  14. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/src/sora_sdk.egg-info/SOURCES.txt +7 -3
  15. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/tests/test_amd_amf.py +106 -59
  16. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/tests/test_apple_video_toolbox.py +70 -101
  17. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/tests/test_authz.py +15 -51
  18. sora_sdk-2025.5.0.dev9/tests/test_authz_simulcast.py +495 -0
  19. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/tests/test_ca_cert.py +4 -22
  20. sora_sdk-2025.5.0.dev9/tests/test_capability.py +50 -0
  21. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/tests/test_degradation_preference.py +8 -41
  22. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/tests/test_encoded_transform.py +46 -33
  23. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/tests/test_intel_vpl.py +190 -241
  24. sora_sdk-2025.5.0.dev9/tests/test_key_frame_request.py +75 -0
  25. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/tests/test_messaging.py +3 -15
  26. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/tests/test_messaging_header.py +3 -15
  27. sora_sdk-2025.2.0.dev1/tests/test_nvidia_video_codec_sdk.py → sora_sdk-2025.5.0.dev9/tests/test_nvidia_video_codec.py +111 -78
  28. sora_sdk-2025.5.0.dev9/tests/test_openh264.py +172 -0
  29. sora_sdk-2025.5.0.dev9/tests/test_openh264_simulcast.py +391 -0
  30. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/tests/test_opus.py +2 -12
  31. sora_sdk-2025.5.0.dev9/tests/test_raspberry_pi.py +269 -0
  32. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/tests/test_re_offer_re_answer_sdp.py +5 -22
  33. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/tests/test_sendonly_recvonly.py +16 -28
  34. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/tests/test_signaling.py +4 -22
  35. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/tests/test_signaling_message.py +8 -34
  36. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/tests/test_signaling_notify.py +3 -16
  37. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/tests/test_simulcast.py +43 -53
  38. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/tests/test_sora_disconnect.py +36 -108
  39. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/tests/test_type_disconnect.py +8 -32
  40. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/tests/test_type_switched.py +9 -41
  41. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/tests/test_vad.py +27 -19
  42. sora_sdk-2025.5.0.dev9/tests/test_version.py +17 -0
  43. sora_sdk-2025.2.0.dev1/NOTICE.md +0 -580
  44. sora_sdk-2025.2.0.dev1/PKG-INFO +0 -415
  45. sora_sdk-2025.2.0.dev1/src/sora_sdk.egg-info/PKG-INFO +0 -415
  46. sora_sdk-2025.2.0.dev1/tests/test_authz_simulcast.py +0 -202
  47. sora_sdk-2025.2.0.dev1/tests/test_capability.py +0 -94
  48. sora_sdk-2025.2.0.dev1/tests/test_openh264.py +0 -294
  49. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/LICENSE +0 -0
  50. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/setup.cfg +0 -0
  51. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/src/sora_sdk/py.typed +0 -0
  52. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/src/sora_sdk.egg-info/dependency_links.txt +0 -0
  53. {sora_sdk-2025.2.0.dev1 → sora_sdk-2025.5.0.dev9}/src/sora_sdk.egg-info/top_level.txt +0 -0
@@ -1,3 +1,4 @@
1
1
  include buildbase.py
2
2
  include run.py
3
3
  include pypath.py
4
+ include VERSION
@@ -0,0 +1,266 @@
1
+ Metadata-Version: 2.4
2
+ Name: sora_sdk
3
+ Version: 2025.5.0.dev9
4
+ Summary: WebRTC SFU Sora Python SDK
5
+ Home-page: https://github.com/shiguredo/sora-python-sdk
6
+ Author-email: "Shiguredo Inc." <contact+pypi@shiguredo.jp>
7
+ License-Expression: Apache-2.0
8
+ Project-URL: Source, https://github.com/shiguredo/sora-python-sdk
9
+ Project-URL: Documentation, https://sora-python-sdk.shiguredo.jp
10
+ Project-URL: Discord, https://discord.gg/shiguredo
11
+ Classifier: Programming Language :: Python :: 3 :: Only
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Programming Language :: Python :: 3.13
15
+ Classifier: Programming Language :: Python :: 3.14
16
+ Classifier: Programming Language :: C++
17
+ Classifier: Operating System :: MacOS :: MacOS X
18
+ Classifier: Operating System :: POSIX :: Linux
19
+ Classifier: Operating System :: Microsoft :: Windows
20
+ Requires-Python: >=3.11
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Dynamic: home-page
24
+ Dynamic: license-file
25
+
26
+ # Sora Python SDK
27
+
28
+ [![PyPI](https://img.shields.io/pypi/v/sora_sdk)](https://pypi.org/project/sora-sdk/)
29
+ [![image](https://img.shields.io/pypi/pyversions/sora_sdk.svg)](https://pypi.python.org/pypi/sora_sdk)
30
+ [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
31
+ [![Actions status](https://github.com/shiguredo/sora-python-sdk/workflows/build/badge.svg)](https://github.com/shiguredo/sora-python-sdk/actions)
32
+ [![Discord](https://img.shields.io/badge/Discord-%235865F2.svg?logo=discord&logoColor=white)](https://discord.gg/shiguredo)
33
+
34
+ Sora Python SDK は [WebRTC SFU Sora](https://sora.shiguredo.jp/) の Python クライアントアプリケーションを開発するためのライブラリです。[Sora C++ SDK](https://github.com/shiguredo/sora-cpp-sdk) をベースにしています。
35
+
36
+ ## About Shiguredo's open source software
37
+
38
+ We will not respond to PRs or issues that have not been discussed on Discord. Also, Discord is only available in Japanese.
39
+
40
+ Please read <https://github.com/shiguredo/oss/blob/master/README.en.md> before use.
41
+
42
+ ## 時雨堂のオープンソースソフトウェアについて
43
+
44
+ 利用前に <https://github.com/shiguredo/oss> をお読みください。
45
+
46
+ ## Sora Python SDK について
47
+
48
+ 様々なプラットフォームに対応しすぐに使い始められる WebRTC SFU Sora 向けの Python SDK です。
49
+
50
+ 音声や映像デバイスの処理を SDK から独立させているため、様々なライブラリを利用する事ができます。
51
+
52
+ ## 特徴
53
+
54
+ - PyPI 経由で `uv add sora-sdk` や `pip install sora-sdk` でインストールできる
55
+ - Raspberry Pi 向けパッケージ `sora-sdk-rpi` の提供
56
+ - `uv add sora-sdk-rpi` でインストールできる
57
+ - Raspberry Pi 向けに libcamera 用の `create_libcamera_source` を提供
58
+ - [Sora C++ SDK](https://github.com/shiguredo/sora-cpp-sdk) ベース
59
+ - WebRTC 部分の機能は [libwebrtc](https://webrtc.googlesource.com/src/) を採用
60
+ - Windows / macOS / Linux (Ubuntu / Raspberry Pi OS) プラットフォームに対応
61
+ - [WebRTC 統計情報](https://www.w3.org/TR/webrtc-stats/) の取得が可能
62
+ - [WebRTC Encoded Transform](https://www.w3.org/TR/webrtc-encoded-transform/) に対応
63
+ - 回線が不安定になった際、解像度とフレームレートどちらを維持するかの設定をする [DegradationPreference](https://w3c.github.io/mst-content-hint/#degradation-preference-when-encoding) に対応
64
+ - `MAINTAIN_FRAMERATE` / `MAINTAIN_RESOLUTION` / `BALANCED` が指定できる
65
+ - 発話区間の検出が可能な VAD (Voice Activity Detection) に対応
66
+ - Intel / Apple / NVIDIA / Raspberry Pi のハードウェアデコーダー/エンコーダーに対応
67
+ - Apple Video Toolbox (H.264 / H.265)
68
+ - macOS arm64 で利用できる
69
+ - Intel VPL (AV1 / H.264 / H.265)
70
+ - Ubuntu x86_64 / Windows x86_64 で利用できる
71
+ - AMD AMF (VP9 /AV1 / H.264 / H.265)
72
+ - Ubuntu x86_64 / Windows x86_64 で利用できる
73
+ - AV1 エンコードは Windows x86_64 でのみ利用できる
74
+ - VP9 はデコードのみ利用できる
75
+ - NVIDIA Video Codec (VP8 / VP9 / AV1 / H.264 / H.265)
76
+ - Ubuntu x86_64 / Windows x86_64 で利用できる
77
+ - VP8 と VP9 はデコードのみ利用できる
78
+ - NVIDIA Jetson JetPack SDK (AV1 / H.264 / H.265)
79
+ - Raspberry Pi (H.264)
80
+ - Raspberry Pi 4 / Raspberry Pi 3 / Raspberry Pi 2 Model B v1.2 / Raspberry Pi Zero 2 W で利用できる
81
+ - V4L2-M2M API を利用している
82
+ - [各プラットフォームで利用可能な HWA への対応](https://github.com/shiguredo/sora-cpp-sdk?tab=readme-ov-file#%E7%89%B9%E5%BE%B4)
83
+ - [OpenH264](https://github.com/cisco/openh264) を利用した H.264 のソフトウェアエンコーダー/デコーダーに対応
84
+ - Ubuntu x86_64 / Ubuntu arm64 / Windows x86_64 / macOS arm64 で利用できる
85
+ - 音声デバイス処理に [sounddevice](https://pypi.org/project/sounddevice/) などが利用できる
86
+ - 映像デバイス処理に [opencv-python](https://pypi.org/project/opencv-python/) などが利用できる
87
+ - 音声認識などの入力に受信した音声を利用できる
88
+ - 物体検出などの入力に受信した映像を利用できる
89
+ - [NVIDIA Jetson JetPack SDK](https://developer.nvidia.com/embedded/jetpack) に対応
90
+
91
+ ## 利用イメージ
92
+
93
+ - データチャンネルを利用して Python において映像、音声を解析した結果を Sora 経由で配信する
94
+ - Text to Speech の音声を Sora 経由で配信する
95
+ - 映像入力に対して Pillow などで加工した映像を Sora を経由で配信する
96
+ - A チャンネルの参加者からの映像と音声を B チャンネルに対して加工した上で Sora 経由で配信する
97
+
98
+ ## ドキュメント
99
+
100
+ [Sora Python SDK](https://sora-python-sdk.shiguredo.jp/)
101
+
102
+ ## サンプル集
103
+
104
+ [shiguredo/sora-python-sdk-examples](https://github.com/shiguredo/sora-python-sdk-examples)
105
+
106
+ ## sora_sdk パッケージの追加
107
+
108
+ [uv](https://docs.astral.sh/uv/) の利用を推奨します。
109
+
110
+ ```bash
111
+ uv add sora_sdk
112
+ ```
113
+
114
+ ### Raspberry Pi OS 向けパッケージ
115
+
116
+ ```bash
117
+ uv add sora_sdk_rpi
118
+ ```
119
+
120
+ ### NVIDIA Jetson 向けパッケージ
121
+
122
+ PyPI 経由ではインストールできません。
123
+ パッケージバイナリを配布しておりますので、そちらをご利用ください。
124
+
125
+ <https://github.com/shiguredo/sora-python-sdk/releases/tag/2024.3.0-jetson-jetpack-6.0.0.0>
126
+
127
+ ## システム条件
128
+
129
+ - WebRTC SFU Sora 2024.2.0 以降
130
+ - Python 3.11 以上
131
+
132
+ ## Python サポートポリシー
133
+
134
+ 直近の 3 バージョンの Python をサポートします。
135
+
136
+ ## 対応プラットフォーム
137
+
138
+ - Ubuntu 24.04 LTS x86_64
139
+ - Ubuntu 24.04 LTS arm64
140
+ - Ubuntu 22.04 LTS x86_64
141
+ - Ubuntu 22.04 LTS arm64
142
+ - macOS Sequoia 15 arm64
143
+ - macOS Ventura 14 arm64
144
+ - Windows 11 x86_64
145
+ - Windows Server 2025 x86_64
146
+ - Raspberry Pi OS armv8
147
+
148
+ ### Raspberry Pi OS 向け
149
+
150
+ - Raspberry Pi OS bookworm (64bit)
151
+ - Raspberry Pi 5
152
+ - Raspberry Pi 4
153
+ - Raspberry Pi 3
154
+ - Raspberry Pi 2 Model B v1.2
155
+ - Raspberry Pi Zero 2 W
156
+
157
+ > [!CAUTION]
158
+ >
159
+ > - Raspberry Pi 5 は H.264 ハードウェアエンコーダーが搭載されていません
160
+ > - Raspberry Pi 5 の H.265 ハードウェアデコーダーに対応していません
161
+
162
+ ### NVIDIA Jetson 向け
163
+
164
+ - Ubuntu 22.04 LTS arm64 (NVIDIA Jetson JetPack SDK 6)
165
+ - PyPI からではなくパッケージファイルを利用してください
166
+
167
+ ### macOS の対応バージョン
168
+
169
+ 直近の 2 バージョンをサポートします。
170
+
171
+ ### Ubuntu の対応バージョン
172
+
173
+ 直近の LTS 2 バージョンをサポートします。
174
+
175
+ ## 優先実装
176
+
177
+ 優先実装とは Sora のライセンスを契約頂いているお客様向けに Sora Python SDK の実装予定機能を有償にて前倒しで実装することです。
178
+
179
+ **詳細は Discord やメールなどでお気軽にお問い合わせください**
180
+
181
+ - DataChannel 対応
182
+ - [アダワープジャパン株式会社](https://adawarp.com/) 様
183
+ - Intel VPL H.265 対応
184
+ - [アダワープジャパン株式会社](https://adawarp.com/) 様
185
+
186
+ ### 優先実装が可能な機能一覧
187
+
188
+ - Windows 11 arm64
189
+ - Ubuntu 22.04 arm64 (NVIDIA Jetson JetPack SDK 6.1)
190
+ - Ubuntu 20.04 arm64 (NVIDIA Jetson JetPack SDK 5)
191
+
192
+ ## サポートについて
193
+
194
+ ### Discord
195
+
196
+ - **サポートしません**
197
+ - アドバイスします
198
+ - フィードバック歓迎します
199
+
200
+ 最新の状況などは Discord で共有しています。質問や相談も Discord でのみ受け付けています。
201
+
202
+ <https://discord.gg/shiguredo>
203
+
204
+ ### バグ報告
205
+
206
+ Discord へお願いします。
207
+
208
+ ## ライセンス
209
+
210
+ Apache License 2.0
211
+
212
+ ```text
213
+ Copyright 2023-2025, tnoho (Original Author)
214
+ Copyright 2023-2025, Wandbox LLC (Original Author)
215
+ Copyright 2023-2025, Shiguredo Inc.
216
+
217
+ Licensed under the Apache License, Version 2.0 (the "License");
218
+ you may not use this file except in compliance with the License.
219
+ You may obtain a copy of the License at
220
+
221
+ http://www.apache.org/licenses/LICENSE-2.0
222
+
223
+ Unless required by applicable law or agreed to in writing, software
224
+ distributed under the License is distributed on an "AS IS" BASIS,
225
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
226
+ See the License for the specific language governing permissions and
227
+ limitations under the License.
228
+ ```
229
+
230
+ ## OpenH264
231
+
232
+ <https://www.openh264.org/BINARY_LICENSE.txt>
233
+
234
+ ```text
235
+ "OpenH264 Video Codec provided by Cisco Systems, Inc."
236
+ ```
237
+
238
+ ## NVDIA Video Codec SDK
239
+
240
+ <https://docs.nvidia.com/video-technologies/video-codec-sdk/12.2/license/index.html>
241
+
242
+ ```text
243
+ “This software contains source code provided by NVIDIA Corporation.”
244
+ ```
245
+
246
+ ## H.264 (AVC) と H.265 (HEVC) のライセンスについて
247
+
248
+ **時雨堂が提供する libwebrtc のビルド済みバイナリには H.264 と H.265 のコーデックは含まれていません**
249
+
250
+ ### H.264
251
+
252
+ H.264 対応は [Via LA Licensing](https://www.via-la.com/) (旧 MPEG-LA) に連絡を取り、ロイヤリティの対象にならないことを確認しています。
253
+
254
+ > 時雨堂がエンドユーザーの PC /デバイスに既に存在する AVC / H.264 エンコーダー/デコーダーに依存する製品を提供する場合は、
255
+ > ソフトウェア製品は AVC ライセンスの対象外となり、ロイヤリティの対象にもなりません。
256
+
257
+ ### H.265
258
+
259
+ H.265 対応は以下の二つの団体に連絡を取り、H.265 ハードウェアアクセラレーターのみを利用し、
260
+ H.265 が利用可能なバイナリを配布する事は、ライセンスが不要であることを確認しています。
261
+
262
+ また、H.265 のハードウェアアクセラレーターのみを利用した H.265 対応の SDK を OSS で公開し、
263
+ ビルド済みバイナリを配布する事は、ライセンスが不要であることも確認しています。
264
+
265
+ - [Access Advance](https://accessadvance.com/ja/)
266
+ - [Via LA Licensing](https://www.via-la.com/)
@@ -4,6 +4,7 @@
4
4
  [![image](https://img.shields.io/pypi/pyversions/sora_sdk.svg)](https://pypi.python.org/pypi/sora_sdk)
5
5
  [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
6
6
  [![Actions status](https://github.com/shiguredo/sora-python-sdk/workflows/build/badge.svg)](https://github.com/shiguredo/sora-python-sdk/actions)
7
+ [![Discord](https://img.shields.io/badge/Discord-%235865F2.svg?logo=discord&logoColor=white)](https://discord.gg/shiguredo)
7
8
 
8
9
  Sora Python SDK は [WebRTC SFU Sora](https://sora.shiguredo.jp/) の Python クライアントアプリケーションを開発するためのライブラリです。[Sora C++ SDK](https://github.com/shiguredo/sora-cpp-sdk) をベースにしています。
9
10
 
@@ -25,14 +26,19 @@ Please read <https://github.com/shiguredo/oss/blob/master/README.en.md> before u
25
26
 
26
27
  ## 特徴
27
28
 
29
+ - PyPI 経由で `uv add sora-sdk` や `pip install sora-sdk` でインストールできる
30
+ - Raspberry Pi 向けパッケージ `sora-sdk-rpi` の提供
31
+ - `uv add sora-sdk-rpi` でインストールできる
32
+ - Raspberry Pi 向けに libcamera 用の `create_libcamera_source` を提供
28
33
  - [Sora C++ SDK](https://github.com/shiguredo/sora-cpp-sdk) ベース
29
34
  - WebRTC 部分の機能は [libwebrtc](https://webrtc.googlesource.com/src/) を採用
30
- - Windows / macOS / Linux (Ubuntu) プラットフォームに対応
35
+ - Windows / macOS / Linux (Ubuntu / Raspberry Pi OS) プラットフォームに対応
31
36
  - [WebRTC 統計情報](https://www.w3.org/TR/webrtc-stats/) の取得が可能
32
37
  - [WebRTC Encoded Transform](https://www.w3.org/TR/webrtc-encoded-transform/) に対応
33
38
  - 回線が不安定になった際、解像度とフレームレートどちらを維持するかの設定をする [DegradationPreference](https://w3c.github.io/mst-content-hint/#degradation-preference-when-encoding) に対応
34
- - MAINTAIN_FRAMERATE / MAINTAIN_RESOLUTION / BALANCED が指定できる
35
- - Intel / Apple / NVIDIA のハードウェアデコーダー/エンコーダーに対応
39
+ - `MAINTAIN_FRAMERATE` / `MAINTAIN_RESOLUTION` / `BALANCED` が指定できる
40
+ - 発話区間の検出が可能な VAD (Voice Activity Detection) に対応
41
+ - Intel / Apple / NVIDIA / Raspberry Pi のハードウェアデコーダー/エンコーダーに対応
36
42
  - Apple Video Toolbox (H.264 / H.265)
37
43
  - macOS arm64 で利用できる
38
44
  - Intel VPL (AV1 / H.264 / H.265)
@@ -41,10 +47,13 @@ Please read <https://github.com/shiguredo/oss/blob/master/README.en.md> before u
41
47
  - Ubuntu x86_64 / Windows x86_64 で利用できる
42
48
  - AV1 エンコードは Windows x86_64 でのみ利用できる
43
49
  - VP9 はデコードのみ利用できる
44
- - NVIDIA Video Codec SDK (VP8 / VP9 / AV1 / H.264 / H.265)
50
+ - NVIDIA Video Codec (VP8 / VP9 / AV1 / H.264 / H.265)
45
51
  - Ubuntu x86_64 / Windows x86_64 で利用できる
46
52
  - VP8 と VP9 はデコードのみ利用できる
47
53
  - NVIDIA Jetson JetPack SDK (AV1 / H.264 / H.265)
54
+ - Raspberry Pi (H.264)
55
+ - Raspberry Pi 4 / Raspberry Pi 3 / Raspberry Pi 2 Model B v1.2 / Raspberry Pi Zero 2 W で利用できる
56
+ - V4L2-M2M API を利用している
48
57
  - [各プラットフォームで利用可能な HWA への対応](https://github.com/shiguredo/sora-cpp-sdk?tab=readme-ov-file#%E7%89%B9%E5%BE%B4)
49
58
  - [OpenH264](https://github.com/cisco/openh264) を利用した H.264 のソフトウェアエンコーダー/デコーダーに対応
50
59
  - Ubuntu x86_64 / Ubuntu arm64 / Windows x86_64 / macOS arm64 で利用できる
@@ -52,7 +61,6 @@ Please read <https://github.com/shiguredo/oss/blob/master/README.en.md> before u
52
61
  - 映像デバイス処理に [opencv-python](https://pypi.org/project/opencv-python/) などが利用できる
53
62
  - 音声認識などの入力に受信した音声を利用できる
54
63
  - 物体検出などの入力に受信した映像を利用できる
55
- - `uv add sora_sdk` や `pip install sora_sdk` でインストール可能
56
64
  - [NVIDIA Jetson JetPack SDK](https://developer.nvidia.com/embedded/jetpack) に対応
57
65
 
58
66
  ## 利用イメージ
@@ -72,18 +80,16 @@ Please read <https://github.com/shiguredo/oss/blob/master/README.en.md> before u
72
80
 
73
81
  ## sora_sdk パッケージの追加
74
82
 
75
- ### uv
76
-
77
- [uv](https://docs.astral.sh/uv/)
83
+ [uv](https://docs.astral.sh/uv/) の利用を推奨します。
78
84
 
79
85
  ```bash
80
86
  uv add sora_sdk
81
87
  ```
82
88
 
83
- ### pip
89
+ ### Raspberry Pi OS 向けパッケージ
84
90
 
85
91
  ```bash
86
- pip install sora_sdk
92
+ uv add sora_sdk_rpi
87
93
  ```
88
94
 
89
95
  ### NVIDIA Jetson 向けパッケージ
@@ -95,7 +101,7 @@ PyPI 経由ではインストールできません。
95
101
 
96
102
  ## システム条件
97
103
 
98
- - WebRTC SFU Sora 2024.1.0 以降
104
+ - WebRTC SFU Sora 2024.2.0 以降
99
105
  - Python 3.11 以上
100
106
 
101
107
  ## Python サポートポリシー
@@ -107,12 +113,31 @@ PyPI 経由ではインストールできません。
107
113
  - Ubuntu 24.04 LTS x86_64
108
114
  - Ubuntu 24.04 LTS arm64
109
115
  - Ubuntu 22.04 LTS x86_64
110
- - Ubuntu 22.04 LTS arm64 (NVIDIA Jetson JetPack SDK 6)
111
- - PyPI からではなくパッケージファイルを利用してください
116
+ - Ubuntu 22.04 LTS arm64
112
117
  - macOS Sequoia 15 arm64
113
118
  - macOS Ventura 14 arm64
114
119
  - Windows 11 x86_64
115
- - Windows Server 2022 x86_64
120
+ - Windows Server 2025 x86_64
121
+ - Raspberry Pi OS armv8
122
+
123
+ ### Raspberry Pi OS 向け
124
+
125
+ - Raspberry Pi OS bookworm (64bit)
126
+ - Raspberry Pi 5
127
+ - Raspberry Pi 4
128
+ - Raspberry Pi 3
129
+ - Raspberry Pi 2 Model B v1.2
130
+ - Raspberry Pi Zero 2 W
131
+
132
+ > [!CAUTION]
133
+ >
134
+ > - Raspberry Pi 5 は H.264 ハードウェアエンコーダーが搭載されていません
135
+ > - Raspberry Pi 5 の H.265 ハードウェアデコーダーに対応していません
136
+
137
+ ### NVIDIA Jetson 向け
138
+
139
+ - Ubuntu 22.04 LTS arm64 (NVIDIA Jetson JetPack SDK 6)
140
+ - PyPI からではなくパッケージファイルを利用してください
116
141
 
117
142
  ### macOS の対応バージョン
118
143
 
@@ -136,7 +161,6 @@ PyPI 経由ではインストールできません。
136
161
  ### 優先実装が可能な機能一覧
137
162
 
138
163
  - Windows 11 arm64
139
- - Ubuntu 22.04 arm64
140
164
  - Ubuntu 22.04 arm64 (NVIDIA Jetson JetPack SDK 6.1)
141
165
  - Ubuntu 20.04 arm64 (NVIDIA Jetson JetPack SDK 5)
142
166
 
@@ -188,7 +212,7 @@ limitations under the License.
188
212
 
189
213
  ## NVDIA Video Codec SDK
190
214
 
191
- <https://docs.nvidia.com/video-technologies/video-codec-sdk/12.0/index.html>
215
+ <https://docs.nvidia.com/video-technologies/video-codec-sdk/12.2/license/index.html>
192
216
 
193
217
  ```text
194
218
  “This software contains source code provided by NVIDIA Corporation.”
@@ -0,0 +1 @@
1
+ 2025.5.0.dev9