sora-cpp-sdk
sora-cpp-sdk copied to clipboard
JetPack の H.265 に対応する
This pull request contains a set of changes that primarily focus on adding support for the H265 video codec in various components and modifying the way WebRTC archives are downloaded in the build process. The changes can be grouped into two main themes: H265 codec support and build process modification.
H265 codec support:
-
src/default_video_formats.cpp: Added support for the H265 video codec in theGetDefaultVideoFormatsfunction. -
src/hwenc_jetson/jetson_video_decoder.cpp: Added support for the H265 video codec in theJetsonVideoDecoderclass. [1] [2] [3] [4] [5] [6] -
src/sora_video_decoder_factory.cppandsrc/sora_video_encoder_factory.cpp: Added H265 video codec to the list of supported video decoders and encoders. [1] [2]
Build process modification:
-
.github/workflows/build.yml: Added theGH_TOKENenvironment variable to several jobs in the GitHub Actions workflow. [1] [2] [3] -
run.py: Added a new functiongh_run_downloadto download WebRTC archives using the GitHub CLI, and modified theinstall_webrtcfunction to use this new function instead of downloading the archives directly from a URL. [1] [2]