Skip to content

Commit

Permalink
Merge branch 'main' into dev/atlas
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Jan 22, 2025
2 parents c7a9d6a + 4afc2ba commit 9aa9434
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ["3.7.0"]
version: ["3.7.0", "3.24.5"]
runs-on: ubuntu-latest
timeout-minutes: 120
env:
Expand Down Expand Up @@ -211,7 +211,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ["3.7.0"]
version: ["3.7.0", "3.24.5"]
runs-on: windows-2019
timeout-minutes: 120
env:
Expand Down Expand Up @@ -243,7 +243,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ['3.x']
version: ["3.24.5"]
runs-on: ubuntu-latest
timeout-minutes: 60
env:
Expand All @@ -266,7 +266,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ["3.7.12"] # Need 3.7.12 to build with Gradle 8.x https://github.com/flutter/flutter/issues/124838
version: ["3.7.12", "3.24.5"] # Need 3.7.12 to build with Gradle 8.x https://github.com/flutter/flutter/issues/124838
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -289,7 +289,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ["3.7.12"] # Need 3.7.12 to build with Gradle 8.x https://github.com/flutter/flutter/issues/124838
version: ["3.7.12", "3.24.5"] # Need 3.7.12 to build with Gradle 8.x https://github.com/flutter/flutter/issues/124838
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -333,7 +333,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ['3.x']
version: ["3.24.5"]
runs-on: macos-13
timeout-minutes: 120
steps:
Expand All @@ -359,7 +359,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: ["3.7.0"]
version: ["3.7.0", "3.24.5"]
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
Expand Down Expand Up @@ -389,7 +389,7 @@ jobs:
java-version: '17'
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.x'
flutter-version: "3.24.5"
cache: true
- name: Checkout hoe
uses: actions/checkout@v3
Expand Down Expand Up @@ -443,7 +443,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ["3.x"]
version: ["3.24.5"]
runs-on: macos-13 # Rendering test on ios simulator need macos 13+
timeout-minutes: 60
env:
Expand Down Expand Up @@ -491,7 +491,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ['3.x']
version: ["3.24.5"]
runs-on: macos-latest
timeout-minutes: 120
env:
Expand Down Expand Up @@ -546,7 +546,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ['3.x']
version: ["3.24.5"]
runs-on: windows-2019
timeout-minutes: 120
env:
Expand Down Expand Up @@ -600,7 +600,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ['3.x']
version: ["3.24.5"]
runs-on: ubuntu-latest
timeout-minutes: 60
env:
Expand Down Expand Up @@ -630,7 +630,7 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
strategy:
matrix:
version: ['3.x']
version: ["3.24.5"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ class _State extends State<MediaRecorderExample> {

await _mediaRecorder?.setMediaRecorderObserver(MediaRecorderObserver(
onRecorderStateChanged: (String channelId, int uid, RecorderState state,
RecorderReasonCode error) {
RecorderReasonCode reason) {
logSink.log(
'onRecorderStateChanged channelId: $channelId, uid: $uid state: $state, error: $error');
'onRecorderStateChanged channelId: $channelId, uid: $uid state: $state, error: $reason');
},
onRecorderInfoUpdated: (String channelId, int uid, RecorderInfo info) {
logSink.log(
Expand Down
2 changes: 2 additions & 0 deletions windows/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ target_link_libraries(${PLUGIN_NAME} PRIVATE
flutter_wrapper_plugin
${IRIS_SDK_BIN_PATH}/AgoraRtcWrapper.lib)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4819")

set(BUNDLED_LIBRARIES
"${IRIS_SDK_BIN_PATH}/AgoraRtcWrapper.dll"
)
Expand Down

0 comments on commit 9aa9434

Please sign in to comment.