sora-sdk 2025.1.0.dev5__cp313-cp313-macosx_14_0_arm64.whl → 2025.1.0.dev8__cp313-cp313-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.

Potentially problematic release.


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

@@ -6,7 +6,7 @@ from numpy.typing import ArrayLike
6
6
 
7
7
 
8
8
  class Sora:
9
- def __init__(self, use_hardware_encoder: bool | None = None, openh264: str | None = None) -> None: ...
9
+ def __init__(self, openh264: str | None = None, video_codec_preference: SoraVideoCodecPreference | None = None) -> None: ...
10
10
 
11
11
  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) -> SoraConnection: ...
12
12
 
@@ -322,6 +322,124 @@ class SoraVAD:
322
322
 
323
323
  def analyze(self, frame: SoraAudioFrame) -> float: ...
324
324
 
325
+ class SoraVideoCodecCapability:
326
+ @property
327
+ def engines(self) -> list[SoraVideoCodecCapability.Engine]: ...
328
+
329
+ def to_json(self) -> object: ...
330
+
331
+ class Parameters:
332
+ @property
333
+ def version(self) -> str | None: ...
334
+
335
+ @property
336
+ def openh264_path(self) -> str | None: ...
337
+
338
+ @property
339
+ def vpl_impl(self) -> str | None: ...
340
+
341
+ @property
342
+ def vpl_impl_value(self) -> int | None: ...
343
+
344
+ @property
345
+ def nvcodec_gpu_device_name(self) -> str | None: ...
346
+
347
+ class Codec:
348
+ @property
349
+ def type(self) -> SoraVideoCodecType: ...
350
+
351
+ @property
352
+ def encoder(self) -> bool: ...
353
+
354
+ @property
355
+ def decoder(self) -> bool: ...
356
+
357
+ @property
358
+ def parameters(self) -> SoraVideoCodecCapability.Parameters: ...
359
+
360
+ class Engine:
361
+ @property
362
+ def name(self) -> SoraVideoCodecImplementation: ...
363
+
364
+ @property
365
+ def codecs(self) -> list[SoraVideoCodecCapability.Codec]: ...
366
+
367
+ @property
368
+ def parameters(self) -> SoraVideoCodecCapability.Parameters: ...
369
+
370
+ class SoraVideoCodecImplementation(enum.IntEnum):
371
+ INTERNAL = 0
372
+
373
+ CISCO_OPENH264 = 1
374
+
375
+ INTEL_VPL = 2
376
+
377
+ NVIDIA_VIDEO_CODEC_SDK = 3
378
+
379
+ class SoraVideoCodecPreference:
380
+ def __init__(self, codecs: Sequence[SoraVideoCodecPreference.Codec] = []) -> None: ...
381
+
382
+ @property
383
+ def codecs(self) -> list[SoraVideoCodecPreference.Codec]: ...
384
+
385
+ @codecs.setter
386
+ def codecs(self, arg: Sequence[SoraVideoCodecPreference.Codec], /) -> None: ...
387
+
388
+ def to_json(self) -> object: ...
389
+
390
+ def find(self, arg: SoraVideoCodecType, /) -> int | None: ...
391
+
392
+ def get_or_add(self, arg: SoraVideoCodecType, /) -> int: ...
393
+
394
+ def has_implementation(self, arg: SoraVideoCodecImplementation, /) -> bool: ...
395
+
396
+ def merge(self, arg: SoraVideoCodecPreference, /) -> None: ...
397
+
398
+ class Parameters:
399
+ def __init__(self) -> None: ...
400
+
401
+ class Codec:
402
+ @overload
403
+ def __init__(self) -> None: ...
404
+
405
+ @overload
406
+ def __init__(self, type: SoraVideoCodecType, encoder: SoraVideoCodecImplementation | None = None, decoder: SoraVideoCodecImplementation | None = None, parameters: SoraVideoCodecPreference.Parameters = ...) -> None: ...
407
+
408
+ @property
409
+ def type(self) -> SoraVideoCodecType: ...
410
+
411
+ @type.setter
412
+ def type(self, arg: SoraVideoCodecType, /) -> None: ...
413
+
414
+ @property
415
+ def encoder(self) -> SoraVideoCodecImplementation | None: ...
416
+
417
+ @encoder.setter
418
+ def encoder(self, arg: SoraVideoCodecImplementation, /) -> None: ...
419
+
420
+ @property
421
+ def decoder(self) -> SoraVideoCodecImplementation | None: ...
422
+
423
+ @decoder.setter
424
+ def decoder(self, arg: SoraVideoCodecImplementation, /) -> None: ...
425
+
426
+ @property
427
+ def parameters(self) -> SoraVideoCodecPreference.Parameters: ...
428
+
429
+ @parameters.setter
430
+ def parameters(self, arg: SoraVideoCodecPreference.Parameters, /) -> None: ...
431
+
432
+ class SoraVideoCodecType(enum.IntEnum):
433
+ VP8 = 1
434
+
435
+ VP9 = 2
436
+
437
+ H264 = 4
438
+
439
+ H265 = 5
440
+
441
+ AV1 = 3
442
+
325
443
  class SoraVideoFrame:
326
444
  def data(self) -> Annotated[ArrayLike, dict(dtype='uint8', shape=(None, None, 3))]: ...
327
445
 
@@ -357,4 +475,8 @@ class SoraVideoSource(SoraTrackInterface):
357
475
  @overload
358
476
  def on_captured(self, ndarray: Annotated[ArrayLike, dict(dtype='uint8', shape=(None, None, 3), order='C', device='cpu')], timestamp_us: int) -> None: ...
359
477
 
478
+ def create_video_codec_preference_from_implementation(arg0: SoraVideoCodecCapability, arg1: SoraVideoCodecImplementation, /) -> SoraVideoCodecPreference: ...
479
+
360
480
  def enable_libwebrtc_log(arg: SoraLoggingSeverity, /) -> None: ...
481
+
482
+ def get_video_codec_capability(openh264: str | None = None) -> SoraVideoCodecCapability: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: sora_sdk
3
- Version: 2025.1.0.dev5
3
+ Version: 2025.1.0.dev8
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>
@@ -290,15 +290,15 @@ PyPI 経由ではインストールできません。
290
290
 
291
291
  ## 対応プラットフォーム
292
292
 
293
- - Windows 11 x86_64
294
- - Windows Server 2022 x86_64
295
- - macOS Sequoia 15 arm64
296
- - macOS Ventura 14 arm64
297
293
  - Ubuntu 24.04 LTS x86_64
298
294
  - Ubuntu 24.04 LTS arm64
299
295
  - Ubuntu 22.04 LTS x86_64
300
296
  - Ubuntu 22.04 LTS arm64 (NVIDIA Jetson JetPack SDK 6)
301
297
  - PyPI からではなくパッケージファイルを利用してください
298
+ - macOS Sequoia 15 arm64
299
+ - macOS Ventura 14 arm64
300
+ - Windows 11 x86_64
301
+ - Windows Server 2022 x86_64
302
302
 
303
303
  ### macOS の対応バージョン
304
304
 
@@ -323,6 +323,7 @@ PyPI 経由ではインストールできません。
323
323
 
324
324
  - Windows 11 arm64
325
325
  - Ubuntu 22.04 arm64
326
+ - Ubuntu 22.04 arm64 (NVIDIA Jetson JetPack SDK 6.1)
326
327
  - Ubuntu 20.04 arm64 (NVIDIA Jetson JetPack SDK 5)
327
328
  - AMD Video Core Next (VCN) 対応
328
329
  - VP9 / AV1 / H.264 / H.265
@@ -0,0 +1,10 @@
1
+ sora_sdk-2025.1.0.dev8.data/purelib/sora_sdk/__init__.py,sha256=wmp56UEjNDhA8r3i98RVW_6oVTCskhSOd8qENIU6B5Q,1180
2
+ sora_sdk-2025.1.0.dev8.data/purelib/sora_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ sora_sdk-2025.1.0.dev8.data/purelib/sora_sdk/sora_sdk_ext.cpython-313-darwin.so,sha256=4LXrJ31oM8o_qvQAkm8DgRII7S4zjQKKZXO9p_TV-HY,14865344
4
+ sora_sdk-2025.1.0.dev8.data/purelib/sora_sdk/sora_sdk_ext.pyi,sha256=RfmV7A5ac0K5xXoU1_hje_sLaUcl1LqtpnBScFwLzw8,15147
5
+ sora_sdk-2025.1.0.dev8.dist-info/LICENSE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
6
+ sora_sdk-2025.1.0.dev8.dist-info/METADATA,sha256=5uGLQzakq8JBib3SC8xawqKYr3_4jnVzamCzTwcZRxs,20553
7
+ sora_sdk-2025.1.0.dev8.dist-info/NOTICE.md,sha256=lYwHwtm82A3TWxdWhE-TEuCF517wKb1sdk8eBMH47Yk,31624
8
+ sora_sdk-2025.1.0.dev8.dist-info/WHEEL,sha256=wajf2RmtLcyDhlr_PKgNyLmxD2pJHORwHzFCayrprrU,109
9
+ sora_sdk-2025.1.0.dev8.dist-info/top_level.txt,sha256=edTg20cFFAjWfRrB0APD_SXho5Qq24PwLESbyPoCVko,9
10
+ sora_sdk-2025.1.0.dev8.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- sora_sdk-2025.1.0.dev5.data/purelib/sora_sdk/__init__.py,sha256=wmp56UEjNDhA8r3i98RVW_6oVTCskhSOd8qENIU6B5Q,1180
2
- sora_sdk-2025.1.0.dev5.data/purelib/sora_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- sora_sdk-2025.1.0.dev5.data/purelib/sora_sdk/sora_sdk_ext.cpython-313-darwin.so,sha256=-CuVJOpNkmnxVEr_9jjQ3kw1LB5aFCVH7AaEdbm_Vf0,14831568
4
- sora_sdk-2025.1.0.dev5.data/purelib/sora_sdk/sora_sdk_ext.pyi,sha256=TwYvO0XTUhOG9dmg2qg1noZ15Vh8lA_8BfNe79yggyo,11763
5
- sora_sdk-2025.1.0.dev5.dist-info/LICENSE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
6
- sora_sdk-2025.1.0.dev5.dist-info/METADATA,sha256=oZqxh8K8FK-uj_LyPaGyXPxwTZhFdAlO3d_LPKtwPoA,20500
7
- sora_sdk-2025.1.0.dev5.dist-info/NOTICE.md,sha256=lYwHwtm82A3TWxdWhE-TEuCF517wKb1sdk8eBMH47Yk,31624
8
- sora_sdk-2025.1.0.dev5.dist-info/WHEEL,sha256=wajf2RmtLcyDhlr_PKgNyLmxD2pJHORwHzFCayrprrU,109
9
- sora_sdk-2025.1.0.dev5.dist-info/top_level.txt,sha256=edTg20cFFAjWfRrB0APD_SXho5Qq24PwLESbyPoCVko,9
10
- sora_sdk-2025.1.0.dev5.dist-info/RECORD,,