Skip to content

Commit 0b1d914

Browse files
committed
C++ SDK の AMD AMF 対応を取り込む
1 parent f6e98a9 commit 0b1d914

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SORA_CPP_SDK_VERSION=2025.2.0-canary.13
1+
SORA_CPP_SDK_VERSION=2025.2.0-canary.14
22
WEBRTC_BUILD_VERSION=m132.6834.5.8
33
BOOST_VERSION=1.87.0
44
CMAKE_VERSION=3.31.6

src/sora_sdk_ext.cpp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,8 @@ NB_MODULE(sora_sdk_ext, m) {
579579
.value("CISCO_OPENH264", sora::VideoCodecImplementation::kCiscoOpenH264)
580580
.value("INTEL_VPL", sora::VideoCodecImplementation::kIntelVpl)
581581
.value("NVIDIA_VIDEO_CODEC_SDK",
582-
sora::VideoCodecImplementation::kNvidiaVideoCodecSdk);
582+
sora::VideoCodecImplementation::kNvidiaVideoCodecSdk)
583+
.value("AMD_AMF", sora::VideoCodecImplementation::kAmdAmf);
583584

584585
nb::enum_<webrtc::VideoCodecType>(m, "SoraVideoCodecType",
585586
nb::is_arithmetic())
@@ -606,7 +607,11 @@ NB_MODULE(sora_sdk_ext, m) {
606607
.def_ro("vpl_impl_value",
607608
&sora::VideoCodecCapability::Parameters::vpl_impl_value)
608609
.def_ro("nvcodec_gpu_device_name",
609-
&sora::VideoCodecCapability::Parameters::nvcodec_gpu_device_name);
610+
&sora::VideoCodecCapability::Parameters::nvcodec_gpu_device_name)
611+
.def_ro("amf_runtime_version",
612+
&sora::VideoCodecCapability::Parameters::amf_runtime_version)
613+
.def_ro("amf_embedded_version",
614+
&sora::VideoCodecCapability::Parameters::amf_embedded_version);
610615
nb::class_<sora::VideoCodecCapability::Codec>(video_codec_capability, "Codec")
611616
.def_ro("type", &sora::VideoCodecCapability::Codec::type)
612617
.def_ro("encoder", &sora::VideoCodecCapability::Codec::encoder)

0 commit comments

Comments
 (0)