sora-sdk 2025.5.0.dev0__cp311-cp311-macosx_14_0_arm64.whl → 2025.5.0.dev2__cp311-cp311-macosx_14_0_arm64.whl
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.
- {sora_sdk-2025.5.0.dev0.data → sora_sdk-2025.5.0.dev2.data}/purelib/sora_sdk/sora_sdk_ext.cpython-311-darwin.so +0 -0
- {sora_sdk-2025.5.0.dev0.data → sora_sdk-2025.5.0.dev2.data}/purelib/sora_sdk/sora_sdk_ext.pyi +5 -1
- {sora_sdk-2025.5.0.dev0.dist-info → sora_sdk-2025.5.0.dev2.dist-info}/METADATA +32 -6
- sora_sdk-2025.5.0.dev2.dist-info/RECORD +9 -0
- sora_sdk-2025.5.0.dev0.dist-info/RECORD +0 -9
- {sora_sdk-2025.5.0.dev0.data → sora_sdk-2025.5.0.dev2.data}/purelib/sora_sdk/__init__.py +0 -0
- {sora_sdk-2025.5.0.dev0.data → sora_sdk-2025.5.0.dev2.data}/purelib/sora_sdk/py.typed +0 -0
- {sora_sdk-2025.5.0.dev0.dist-info → sora_sdk-2025.5.0.dev2.dist-info}/WHEEL +0 -0
- {sora_sdk-2025.5.0.dev0.dist-info → sora_sdk-2025.5.0.dev2.dist-info}/licenses/LICENSE +0 -0
- {sora_sdk-2025.5.0.dev0.dist-info → sora_sdk-2025.5.0.dev2.dist-info}/top_level.txt +0 -0
|
Binary file
|
{sora_sdk-2025.5.0.dev0.data → sora_sdk-2025.5.0.dev2.data}/purelib/sora_sdk/sora_sdk_ext.pyi
RENAMED
|
@@ -370,6 +370,8 @@ class SoraVideoCodecImplementation(enum.IntEnum):
|
|
|
370
370
|
|
|
371
371
|
AMD_AMF = 4
|
|
372
372
|
|
|
373
|
+
RASPI_V4L2M2M = 5
|
|
374
|
+
|
|
373
375
|
class SoraVideoCodecType(enum.IntEnum):
|
|
374
376
|
VP8 = 1
|
|
375
377
|
|
|
@@ -490,10 +492,12 @@ class SoraVideoCodecPreference:
|
|
|
490
492
|
def create_video_codec_preference_from_implementation(arg0: SoraVideoCodecCapability, arg1: SoraVideoCodecImplementation, /) -> SoraVideoCodecPreference: ...
|
|
491
493
|
|
|
492
494
|
class Sora:
|
|
493
|
-
def __init__(self, openh264: str | None = None, video_codec_preference: SoraVideoCodecPreference | None = None) -> None: ...
|
|
495
|
+
def __init__(self, openh264: str | None = None, video_codec_preference: SoraVideoCodecPreference | None = None, force_i420_conversion: bool | None = None) -> None: ...
|
|
494
496
|
|
|
495
497
|
def create_connection(self, signaling_urls: list[str], role: str, channel_id: str, client_id: Optional[str] = None, bundle_id: Optional[str] = None, metadata: Optional[dict] = None, signaling_notify_metadata: Optional[dict] = None, audio_source: Optional[SoraTrackInterface] = None, video_source: Optional[SoraTrackInterface] = None, audio_frame_transformer: Optional[SoraAudioFrameTransformer] = None, video_frame_transformer: Optional[SoraVideoFrameTransformer] = None, audio: Optional[bool] = None, video: Optional[bool] = None, audio_codec_type: Optional[str] = None, video_codec_type: Optional[str] = None, video_bit_rate: Optional[int] = None, audio_bit_rate: Optional[int] = None, video_vp9_params: Optional[dict] = None, video_av1_params: Optional[dict] = None, video_h264_params: Optional[dict] = None, audio_opus_params: Optional[dict] = None, simulcast: Optional[bool] = None, spotlight: Optional[bool] = None, spotlight_number: Optional[int] = None, simulcast_rid: Optional[str] = None, spotlight_focus_rid: Optional[str] = None, spotlight_unfocus_rid: Optional[str] = None, forwarding_filter: Optional[dict] = None, forwarding_filters: Optional[list[dict]] = None, data_channels: Optional[list[dict]] = None, data_channel_signaling: Optional[bool] = None, ignore_disconnect_websocket: Optional[bool] = None, data_channel_signaling_timeout: Optional[int] = None, disconnect_wait_timeout: Optional[int] = None, websocket_close_timeout: Optional[int] = None, websocket_connection_timeout: Optional[int] = None, audio_streaming_language_code: Optional[str] = None, insecure: Optional[bool] = None, client_cert: Optional[bytes] = None, client_key: Optional[bytes] = None, ca_cert: Optional[bytes] = None, proxy_url: Optional[str] = None, proxy_username: Optional[str] = None, proxy_password: Optional[str] = None, proxy_agent: Optional[str] = None, degradation_preference: Optional[SoraDegradationPreference] = None, user_agent: Optional[str] = None) -> SoraConnection: ...
|
|
496
498
|
|
|
497
499
|
def create_audio_source(self, channels: int, sample_rate: int) -> SoraAudioSource: ...
|
|
498
500
|
|
|
499
501
|
def create_video_source(self) -> SoraVideoSource: ...
|
|
502
|
+
|
|
503
|
+
def create_libcamera_source(self, width: int, height: int, fps: int, native_frame_output: bool, controls: Optional[list[tuple[str, str]]] = None) -> SoraTrackInterface: ...
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sora_sdk
|
|
3
|
-
Version: 2025.5.0.
|
|
3
|
+
Version: 2025.5.0.dev2
|
|
4
4
|
Summary: WebRTC SFU Sora Python SDK
|
|
5
5
|
Home-page: https://github.com/shiguredo/sora-python-sdk
|
|
6
6
|
Author-email: "Shiguredo Inc." <contact+pypi@shiguredo.jp>
|
|
@@ -47,13 +47,13 @@ Please read <https://github.com/shiguredo/oss/blob/master/README.en.md> before u
|
|
|
47
47
|
|
|
48
48
|
- [Sora C++ SDK](https://github.com/shiguredo/sora-cpp-sdk) ベース
|
|
49
49
|
- WebRTC 部分の機能は [libwebrtc](https://webrtc.googlesource.com/src/) を採用
|
|
50
|
-
- Windows / macOS / Linux (Ubuntu) プラットフォームに対応
|
|
50
|
+
- Windows / macOS / Linux (Ubuntu / Raspberry Pi OS) プラットフォームに対応
|
|
51
51
|
- [WebRTC 統計情報](https://www.w3.org/TR/webrtc-stats/) の取得が可能
|
|
52
52
|
- [WebRTC Encoded Transform](https://www.w3.org/TR/webrtc-encoded-transform/) に対応
|
|
53
53
|
- 回線が不安定になった際、解像度とフレームレートどちらを維持するかの設定をする [DegradationPreference](https://w3c.github.io/mst-content-hint/#degradation-preference-when-encoding) に対応
|
|
54
54
|
- MAINTAIN_FRAMERATE / MAINTAIN_RESOLUTION / BALANCED が指定できる
|
|
55
55
|
- 発話区間の検出が可能な VAD (Voice Activity Detection) に対応
|
|
56
|
-
- Intel / Apple / NVIDIA のハードウェアデコーダー/エンコーダーに対応
|
|
56
|
+
- Intel / Apple / NVIDIA / Raspberry Pi のハードウェアデコーダー/エンコーダーに対応
|
|
57
57
|
- Apple Video Toolbox (H.264 / H.265)
|
|
58
58
|
- macOS arm64 で利用できる
|
|
59
59
|
- Intel VPL (AV1 / H.264 / H.265)
|
|
@@ -62,10 +62,13 @@ Please read <https://github.com/shiguredo/oss/blob/master/README.en.md> before u
|
|
|
62
62
|
- Ubuntu x86_64 / Windows x86_64 で利用できる
|
|
63
63
|
- AV1 エンコードは Windows x86_64 でのみ利用できる
|
|
64
64
|
- VP9 はデコードのみ利用できる
|
|
65
|
-
- NVIDIA Video Codec
|
|
65
|
+
- NVIDIA Video Codec (VP8 / VP9 / AV1 / H.264 / H.265)
|
|
66
66
|
- Ubuntu x86_64 / Windows x86_64 で利用できる
|
|
67
67
|
- VP8 と VP9 はデコードのみ利用できる
|
|
68
68
|
- NVIDIA Jetson JetPack SDK (AV1 / H.264 / H.265)
|
|
69
|
+
- Raspberry Pi (H.264)
|
|
70
|
+
- Raspberry Pi 4 / Raspberry Pi 3 / Raspberry Pi 2 Model B v1.2 / Raspberry Pi Zero 2 W で利用できる
|
|
71
|
+
- V4L2-M2M API を利用している
|
|
69
72
|
- [各プラットフォームで利用可能な HWA への対応](https://github.com/shiguredo/sora-cpp-sdk?tab=readme-ov-file#%E7%89%B9%E5%BE%B4)
|
|
70
73
|
- [OpenH264](https://github.com/cisco/openh264) を利用した H.264 のソフトウェアエンコーダー/デコーダーに対応
|
|
71
74
|
- Ubuntu x86_64 / Ubuntu arm64 / Windows x86_64 / macOS arm64 で利用できる
|
|
@@ -73,7 +76,9 @@ Please read <https://github.com/shiguredo/oss/blob/master/README.en.md> before u
|
|
|
73
76
|
- 映像デバイス処理に [opencv-python](https://pypi.org/project/opencv-python/) などが利用できる
|
|
74
77
|
- 音声認識などの入力に受信した音声を利用できる
|
|
75
78
|
- 物体検出などの入力に受信した映像を利用できる
|
|
76
|
-
- `uv add sora_sdk` や `pip install sora_sdk`
|
|
79
|
+
- `uv add sora_sdk` や `pip install sora_sdk` でインストールできる
|
|
80
|
+
- Raspberry Pi 向けのパッケージも `uv add sora_sdk_rpi` でインストールできる
|
|
81
|
+
- Raspberry Pi 向けに libcamera 用の `create_libcamera_source` を提供
|
|
77
82
|
- [NVIDIA Jetson JetPack SDK](https://developer.nvidia.com/embedded/jetpack) に対応
|
|
78
83
|
|
|
79
84
|
## 利用イメージ
|
|
@@ -99,6 +104,12 @@ Please read <https://github.com/shiguredo/oss/blob/master/README.en.md> before u
|
|
|
99
104
|
uv add sora_sdk
|
|
100
105
|
```
|
|
101
106
|
|
|
107
|
+
### Raspberry Pi OS 向けパッケージ
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
uv add sora_sdk_rpi
|
|
111
|
+
```
|
|
112
|
+
|
|
102
113
|
### NVIDIA Jetson 向けパッケージ
|
|
103
114
|
|
|
104
115
|
PyPI 経由ではインストールできません。
|
|
@@ -125,8 +136,23 @@ PyPI 経由ではインストールできません。
|
|
|
125
136
|
- macOS Ventura 14 arm64
|
|
126
137
|
- Windows 11 x86_64
|
|
127
138
|
- Windows Server 2025 x86_64
|
|
139
|
+
- Raspberry Pi OS armv8
|
|
140
|
+
|
|
141
|
+
### Raspberry Pi OS 向け
|
|
142
|
+
|
|
143
|
+
- Raspberry Pi OS bookworm (64bit)
|
|
144
|
+
- Raspberry Pi 5
|
|
145
|
+
- Raspberry Pi 4
|
|
146
|
+
- Raspberry Pi 3
|
|
147
|
+
- Raspberry Pi 2 Model B v1.2
|
|
148
|
+
- Raspberry Pi Zero 2 W
|
|
149
|
+
|
|
150
|
+
> [!CAUTION]
|
|
151
|
+
>
|
|
152
|
+
> - Raspberry Pi 5 は H.264 ハードウェアエンコーダーが搭載されていません
|
|
153
|
+
> - Raspberry Pi 5 の H.265 ハードウェアデコーダーに対応していません
|
|
128
154
|
|
|
129
|
-
### Jetson 向け
|
|
155
|
+
### NVIDIA Jetson 向け
|
|
130
156
|
|
|
131
157
|
- Ubuntu 22.04 LTS arm64 (NVIDIA Jetson JetPack SDK 6)
|
|
132
158
|
- PyPI からではなくパッケージファイルを利用してください
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
sora_sdk-2025.5.0.dev2.data/purelib/sora_sdk/__init__.py,sha256=oIPJZylpxilyawkPEH8yjPEZ5wV-wdFnwL1DWH5Ksm0,2004
|
|
2
|
+
sora_sdk-2025.5.0.dev2.data/purelib/sora_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
sora_sdk-2025.5.0.dev2.data/purelib/sora_sdk/sora_sdk_ext.cpython-311-darwin.so,sha256=ap_Zj9OqugRLIVXrMV07BE9mC8FqaAYU9zDdOfCsTOI,15455040
|
|
4
|
+
sora_sdk-2025.5.0.dev2.data/purelib/sora_sdk/sora_sdk_ext.pyi,sha256=_vSuS0PNtNbqGtVCtYEAPeAqziYMn0vWWJJ1RGISVL0,15785
|
|
5
|
+
sora_sdk-2025.5.0.dev2.dist-info/licenses/LICENSE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
|
|
6
|
+
sora_sdk-2025.5.0.dev2.dist-info/METADATA,sha256=R0ZRP8O8SXwJHQPjYH58ECPrlmw8Bm-N0zTTlmjMt8Y,10568
|
|
7
|
+
sora_sdk-2025.5.0.dev2.dist-info/WHEEL,sha256=gjBbMYF3hHcJ-eJE-RtWtKPJSpb6zv2bFlcPw0JdDB8,109
|
|
8
|
+
sora_sdk-2025.5.0.dev2.dist-info/top_level.txt,sha256=edTg20cFFAjWfRrB0APD_SXho5Qq24PwLESbyPoCVko,9
|
|
9
|
+
sora_sdk-2025.5.0.dev2.dist-info/RECORD,,
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
sora_sdk-2025.5.0.dev0.data/purelib/sora_sdk/__init__.py,sha256=oIPJZylpxilyawkPEH8yjPEZ5wV-wdFnwL1DWH5Ksm0,2004
|
|
2
|
-
sora_sdk-2025.5.0.dev0.data/purelib/sora_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
sora_sdk-2025.5.0.dev0.data/purelib/sora_sdk/sora_sdk_ext.cpython-311-darwin.so,sha256=wqIV1rvMiQ4WE2YL9s3I4rayp0Z4VW_br6hhFUkU3Eo,15107232
|
|
4
|
-
sora_sdk-2025.5.0.dev0.data/purelib/sora_sdk/sora_sdk_ext.pyi,sha256=iya82E4_Z5AmWdkXrmpaQq-hbuYa2uWicfu7TEQiff8,15541
|
|
5
|
-
sora_sdk-2025.5.0.dev0.dist-info/licenses/LICENSE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
|
|
6
|
-
sora_sdk-2025.5.0.dev0.dist-info/METADATA,sha256=6LJfJ8n0iZZf3I8969nuIpOXelvHBDyVTPX8Mi1tkgA,9695
|
|
7
|
-
sora_sdk-2025.5.0.dev0.dist-info/WHEEL,sha256=gjBbMYF3hHcJ-eJE-RtWtKPJSpb6zv2bFlcPw0JdDB8,109
|
|
8
|
-
sora_sdk-2025.5.0.dev0.dist-info/top_level.txt,sha256=edTg20cFFAjWfRrB0APD_SXho5Qq24PwLESbyPoCVko,9
|
|
9
|
-
sora_sdk-2025.5.0.dev0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|