Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into support/hololens2
Browse files Browse the repository at this point in the history
  • Loading branch information
melpon committed Aug 29, 2024
2 parents 7e0c5e5 + 74174af commit abd3f5c
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ jobs:
TEST_MATRIX_NAME: ${{ matrix.name }}
steps:
- uses: actions/checkout@v4
- name: Select Xcode 14.3.1
run: sudo xcode-select --switch /Applications/Xcode_14.3.1.app/Contents/Developer
- name: Select Xcode 15.4
run: sudo xcode-select --switch /Applications/Xcode_15.4.app/Contents/Developer
- name: Env to output
run: |
echo "user=`users`" >> $GITHUB_OUTPUT
Expand Down
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@

## develop

- [UPDATE] libwebrtc を m128.6613.2.0 にあげる
- H.265 Patch の修正に伴い、C++ SDK の H.265 に関する設定を変更
- examples と test に `rtc::CreateRandomString` のヘッダを追加
- @tnoho
- [UPDATE] Xcode のバージョンを 15.4 にあげる
- @tnoho
- [ADD] Intel VPL で AV1 エンコーダを動くようにする
- @tnoho

Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ elseif (SORA_TARGET_OS STREQUAL "macos")
"-framework MetalKit"
"-framework OpenGL"
"-framework IOSurface"
"-framework ScreenCaptureKit"
)

elseif (SORA_TARGET_OS STREQUAL "ios")
Expand Down
3 changes: 3 additions & 0 deletions examples/sdl_sample/src/sdl_sample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
// Boost
#include <boost/optional/optional.hpp>

// WebRTC
#include <rtc_base/crypto_random.h>

#include "sdl_renderer.h"

#ifdef _WIN32
Expand Down
3 changes: 3 additions & 0 deletions examples/sumomo/src/sumomo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
// Boost
#include <boost/optional/optional.hpp>

// WebRTC
#include <rtc_base/crypto_random.h>

#include "sdl_renderer.h"

#ifdef _WIN32
Expand Down
2 changes: 0 additions & 2 deletions src/hwenc_nvcodec/nvcodec_video_encoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,6 @@ int32_t NvCodecVideoEncoderImpl::Encode(
encoded_image_.qp_ = h264_bitstream_parser_.GetLastSliceQp().value_or(-1);
} else if (codec_ == CudaVideoCodec::H265) {
codec_specific.codecType = webrtc::kVideoCodecH265;
codec_specific.codecSpecific.H265.packetization_mode =
webrtc::H265PacketizationMode::NonInterleaved;

h265_bitstream_parser_.ParseBitstream(encoded_image_);
encoded_image_.qp_ = h265_bitstream_parser_.GetLastSliceQp().value_or(-1);
Expand Down
3 changes: 0 additions & 3 deletions src/hwenc_vpl/vpl_video_encoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <common_video/h265/h265_bitstream_parser.h>
#include <common_video/include/bitrate_adjuster.h>
#include <modules/video_coding/codecs/h264/include/h264.h>
#include <modules/video_coding/codecs/h265/include/h265_globals.h>
#include <modules/video_coding/include/video_codec_interface.h>
#include <modules/video_coding/include/video_error_codes.h>
#include <rtc_base/logging.h>
Expand Down Expand Up @@ -542,8 +541,6 @@ int32_t VplVideoEncoderImpl::Encode(
encoded_image_.qp_ = h264_bitstream_parser_.GetLastSliceQp().value_or(-1);
} else if (codec_ == MFX_CODEC_HEVC) {
codec_specific.codecType = webrtc::kVideoCodecH265;
codec_specific.codecSpecific.H265.packetization_mode =
webrtc::H265PacketizationMode::NonInterleaved;

h265_bitstream_parser_.ParseBitstream(encoded_image_);
encoded_image_.qp_ = h265_bitstream_parser_.GetLastSliceQp().value_or(-1);
Expand Down
1 change: 1 addition & 0 deletions test/connect_disconnect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include <iostream>

// WebRTC
#include <rtc_base/crypto_random.h>
#include <rtc_base/logging.h>

#ifdef _WIN32
Expand Down
1 change: 1 addition & 0 deletions test/e2e.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <iostream>

// WebRTC
#include <rtc_base/crypto_random.h>
#include <rtc_base/logging.h>

#ifdef _WIN32
Expand Down
1 change: 1 addition & 0 deletions test/hello.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <iostream>

// WebRTC
#include <rtc_base/crypto_random.h>
#include <rtc_base/logging.h>

#ifdef _WIN32
Expand Down

0 comments on commit abd3f5c

Please sign in to comment.