sora-sdk 2025.4.0.dev5__cp313-cp313-manylinux_2_31_aarch64.whl → 2025.5.0.dev0__cp313-cp313-manylinux_2_31_aarch64.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.

@@ -2,7 +2,8 @@ from collections.abc import Callable, Sequence
2
2
  import enum
3
3
  from typing import Annotated, overload
4
4
 
5
- from numpy.typing import ArrayLike
5
+ import numpy
6
+ from numpy.typing import NDArray
6
7
 
7
8
 
8
9
  class SoraSignalingErrorCode(enum.IntEnum):
@@ -92,20 +93,20 @@ class SoraAudioSource(SoraTrackInterface):
92
93
  def on_data(self, data: int, samples_per_channel: int) -> None: ...
93
94
 
94
95
  @overload
95
- def on_data(self, ndarray: Annotated[ArrayLike, dict(dtype='int16', shape=(None, None), order='C', device='cpu')], timestamp: float) -> None: ...
96
+ def on_data(self, ndarray: Annotated[NDArray[numpy.int16], dict(shape=(None, None), order='C', device='cpu')], timestamp: float) -> None: ...
96
97
 
97
98
  @overload
98
- def on_data(self, ndarray: Annotated[ArrayLike, dict(dtype='int16', shape=(None, None), order='C', device='cpu')]) -> None: ...
99
+ def on_data(self, ndarray: Annotated[NDArray[numpy.int16], dict(shape=(None, None), order='C', device='cpu')]) -> None: ...
99
100
 
100
101
  class SoraVideoSource(SoraTrackInterface):
101
102
  @overload
102
- def on_captured(self, ndarray: Annotated[ArrayLike, dict(dtype='uint8', shape=(None, None, 3), order='C', device='cpu')]) -> None: ...
103
+ def on_captured(self, ndarray: Annotated[NDArray[numpy.uint8], dict(shape=(None, None, 3), order='C', device='cpu')]) -> None: ...
103
104
 
104
105
  @overload
105
- def on_captured(self, ndarray: Annotated[ArrayLike, dict(dtype='uint8', shape=(None, None, 3), order='C', device='cpu')], timestamp: float) -> None: ...
106
+ def on_captured(self, ndarray: Annotated[NDArray[numpy.uint8], dict(shape=(None, None, 3), order='C', device='cpu')], timestamp: float) -> None: ...
106
107
 
107
108
  @overload
108
- def on_captured(self, ndarray: Annotated[ArrayLike, dict(dtype='uint8', shape=(None, None, 3), order='C', device='cpu')], timestamp_us: int) -> None: ...
109
+ def on_captured(self, ndarray: Annotated[NDArray[numpy.uint8], dict(shape=(None, None, 3), order='C', device='cpu')], timestamp_us: int) -> None: ...
109
110
 
110
111
  class SoraAudioSinkImpl:
111
112
  def __init__(self, track: SoraTrackInterface, output_frequency: int = -1, output_channels: int = 0) -> None: ...
@@ -115,10 +116,10 @@ class SoraAudioSinkImpl:
115
116
  def read(self, frames: int = 0, timeout: float = 1) -> tuple: ...
116
117
 
117
118
  @property
118
- def on_data(self) -> Callable[[Annotated[ArrayLike, dict(dtype='int16', shape=(None, None))]], None]: ...
119
+ def on_data(self) -> Callable[[Annotated[NDArray[numpy.int16], dict(shape=(None, None))]], None]: ...
119
120
 
120
121
  @on_data.setter
121
- def on_data(self, arg: Callable[[Annotated[ArrayLike, dict(dtype='int16', shape=(None, None))]], None], /) -> None: ...
122
+ def on_data(self, arg: Callable[[Annotated[NDArray[numpy.int16], dict(shape=(None, None))]], None], /) -> None: ...
122
123
 
123
124
  @property
124
125
  def on_format(self) -> Callable[[int, int], None]: ...
@@ -143,7 +144,7 @@ class SoraAudioFrame:
143
144
  @property
144
145
  def absolute_capture_timestamp_ms(self) -> int | None: ...
145
146
 
146
- def data(self) -> Annotated[ArrayLike, dict(dtype='int16', shape=(None, None))]: ...
147
+ def data(self) -> Annotated[NDArray[numpy.int16], dict(shape=(None, None))]: ...
147
148
 
148
149
  class SoraAudioStreamSinkImpl:
149
150
  def __init__(self, track: SoraTrackInterface, output_frequency: int = -1, output_channels: int = 0) -> None: ...
@@ -162,7 +163,7 @@ class SoraVAD:
162
163
  def analyze(self, frame: SoraAudioFrame) -> float: ...
163
164
 
164
165
  class SoraVideoFrame:
165
- def data(self) -> Annotated[ArrayLike, dict(dtype='uint8', shape=(None, None, 3))]: ...
166
+ def data(self) -> Annotated[NDArray[numpy.uint8], dict(shape=(None, None, 3))]: ...
166
167
 
167
168
  class SoraVideoSinkImpl:
168
169
  def __init__(self, arg: SoraTrackInterface, /) -> None: ...
@@ -258,9 +259,9 @@ class SoraTransformableFrameDirection(enum.IntEnum):
258
259
  SENDER = 2
259
260
 
260
261
  class SoraTransformableFrame:
261
- def get_data(self) -> Annotated[ArrayLike, dict(dtype='uint8', shape=(None), writable=False)]: ...
262
+ def get_data(self) -> Annotated[NDArray[numpy.uint8], dict(shape=(None,), writable=False)]: ...
262
263
 
263
- def set_data(self, arg: Annotated[ArrayLike, dict(dtype='uint8', shape=(None), order='C', device='cpu', writable=False)], /) -> None: ...
264
+ def set_data(self, arg: Annotated[NDArray[numpy.uint8], dict(shape=(None,), order='C', device='cpu', writable=False)], /) -> None: ...
264
265
 
265
266
  @property
266
267
  def payload_type(self) -> int: ...
@@ -289,7 +290,7 @@ class SoraTransformableAudioFrameType(enum.IntEnum):
289
290
 
290
291
  class SoraTransformableAudioFrame(SoraTransformableFrame):
291
292
  @property
292
- def contributing_sources(self) -> Annotated[ArrayLike, dict(dtype='uint32', shape=(None), writable=False)]: ...
293
+ def contributing_sources(self) -> Annotated[NDArray[numpy.uint32], dict(shape=(None,), writable=False)]: ...
293
294
 
294
295
  @property
295
296
  def sequence_number(self) -> int | None: ...
@@ -314,7 +315,7 @@ class SoraTransformableVideoFrame(SoraTransformableFrame):
314
315
  def frame_id(self) -> int | None: ...
315
316
 
316
317
  @property
317
- def frame_dependencies(self) -> Annotated[ArrayLike, dict(dtype='int64', shape=(None), writable=False)]: ...
318
+ def frame_dependencies(self) -> Annotated[NDArray[numpy.int64], dict(shape=(None,), writable=False)]: ...
318
319
 
319
320
  @property
320
321
  def width(self) -> int: ...
@@ -329,7 +330,7 @@ class SoraTransformableVideoFrame(SoraTransformableFrame):
329
330
  def temporal_index(self) -> int: ...
330
331
 
331
332
  @property
332
- def contributing_sources(self) -> Annotated[ArrayLike, dict(dtype='uint32', shape=(None), writable=False)]: ...
333
+ def contributing_sources(self) -> Annotated[NDArray[numpy.uint32], dict(shape=(None,), writable=False)]: ...
333
334
 
334
335
  class SoraFrameTransformer:
335
336
  def enqueue(self, arg: SoraTransformableFrame, /) -> None: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sora_sdk
3
- Version: 2025.4.0.dev5
3
+ Version: 2025.5.0.dev0
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>
@@ -0,0 +1,9 @@
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-313-aarch64-linux-gnu.so,sha256=ayf94-BB4m1ZSnNlvOgvVNEGoZ5JIF5VLgoDecQN6ug,18448448
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=W7N61VHkY9NMED8iqoIxank_OAMtaauNbxkaCwY4u08,114
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,,
@@ -1,9 +0,0 @@
1
- sora_sdk-2025.4.0.dev5.data/purelib/sora_sdk/__init__.py,sha256=oIPJZylpxilyawkPEH8yjPEZ5wV-wdFnwL1DWH5Ksm0,2004
2
- sora_sdk-2025.4.0.dev5.data/purelib/sora_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- sora_sdk-2025.4.0.dev5.data/purelib/sora_sdk/sora_sdk_ext.cpython-313-aarch64-linux-gnu.so,sha256=gWIEwh-e5t1tH_ltHRR7AeabYqKmcmCC2YGbOYfSsws,18448448
4
- sora_sdk-2025.4.0.dev5.data/purelib/sora_sdk/sora_sdk_ext.pyi,sha256=vmEPy2J0PDUz4LP378pQc1-Az6BnE-mqOCL5PhEQTnE,15581
5
- sora_sdk-2025.4.0.dev5.dist-info/licenses/LICENSE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
6
- sora_sdk-2025.4.0.dev5.dist-info/METADATA,sha256=pJ1sPPdmMWpqUx1vktWB6CqTrfhS_xhDGESKIEt-Ddo,9695
7
- sora_sdk-2025.4.0.dev5.dist-info/WHEEL,sha256=W7N61VHkY9NMED8iqoIxank_OAMtaauNbxkaCwY4u08,114
8
- sora_sdk-2025.4.0.dev5.dist-info/top_level.txt,sha256=edTg20cFFAjWfRrB0APD_SXho5Qq24PwLESbyPoCVko,9
9
- sora_sdk-2025.4.0.dev5.dist-info/RECORD,,