sora-sdk 2025.4.0.dev6__cp313-cp313-win_amd64.whl → 2025.5.0.dev1__cp313-cp313-win_amd64.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.

Potentially problematic release.


This version of sora-sdk might be problematic. Click here for more details.

@@ -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.4.0.dev6
3
+ Version: 2025.5.0.dev1
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 SDK (VP8 / VP9 / AV1 / H.264 / H.265)
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.dev1.data/purelib/sora_sdk/__init__.py,sha256=dsK6os132eRCs2goYjrPXi1TkEHlTYhV6jzZpJLdwU4,2065
2
+ sora_sdk-2025.5.0.dev1.data/purelib/sora_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ sora_sdk-2025.5.0.dev1.data/purelib/sora_sdk/sora_sdk_ext.cp313-win_amd64.pyd,sha256=CYe8uExq3VzsB82mx1H5mrta1idCV8Tss_qwTOJE7RU,19693568
4
+ sora_sdk-2025.5.0.dev1.data/purelib/sora_sdk/sora_sdk_ext.pyi,sha256=_vSuS0PNtNbqGtVCtYEAPeAqziYMn0vWWJJ1RGISVL0,15785
5
+ sora_sdk-2025.5.0.dev1.dist-info/licenses/LICENSE,sha256=6z17VIVGasvYHytJb1latjfSeS4mggayfZnnk722dUk,10351
6
+ sora_sdk-2025.5.0.dev1.dist-info/METADATA,sha256=sHsoo9JNfw-ve1rz7OrgKidrDrwQ9h0soRtGsMEMB-8,10827
7
+ sora_sdk-2025.5.0.dev1.dist-info/WHEEL,sha256=qV0EIPljj1XC_vuSatRWjn02nZIz3N1t8jsZz7HBr2U,101
8
+ sora_sdk-2025.5.0.dev1.dist-info/top_level.txt,sha256=edTg20cFFAjWfRrB0APD_SXho5Qq24PwLESbyPoCVko,9
9
+ sora_sdk-2025.5.0.dev1.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- sora_sdk-2025.4.0.dev6.data/purelib/sora_sdk/__init__.py,sha256=dsK6os132eRCs2goYjrPXi1TkEHlTYhV6jzZpJLdwU4,2065
2
- sora_sdk-2025.4.0.dev6.data/purelib/sora_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- sora_sdk-2025.4.0.dev6.data/purelib/sora_sdk/sora_sdk_ext.cp313-win_amd64.pyd,sha256=oE3h6ngnH5SNjNZ7v_ZA7y3BYZx6KvdSjE8xMLEKhdA,19653120
4
- sora_sdk-2025.4.0.dev6.data/purelib/sora_sdk/sora_sdk_ext.pyi,sha256=iya82E4_Z5AmWdkXrmpaQq-hbuYa2uWicfu7TEQiff8,15541
5
- sora_sdk-2025.4.0.dev6.dist-info/licenses/LICENSE,sha256=6z17VIVGasvYHytJb1latjfSeS4mggayfZnnk722dUk,10351
6
- sora_sdk-2025.4.0.dev6.dist-info/METADATA,sha256=y2-eBfD-XviwVDMMq-HqqV4GpAPlJIDgErUQA9WY77Y,9928
7
- sora_sdk-2025.4.0.dev6.dist-info/WHEEL,sha256=qV0EIPljj1XC_vuSatRWjn02nZIz3N1t8jsZz7HBr2U,101
8
- sora_sdk-2025.4.0.dev6.dist-info/top_level.txt,sha256=edTg20cFFAjWfRrB0APD_SXho5Qq24PwLESbyPoCVko,9
9
- sora_sdk-2025.4.0.dev6.dist-info/RECORD,,