Skip to content

Commit 5203f19

Browse files
author
xianing
committed
adapt 3.5.0
1 parent 9332c72 commit 5203f19

6 files changed

Lines changed: 16 additions & 9 deletions

File tree

Android/APIExample/build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
buildscript {
44
repositories {
55
google()
6-
jcenter()
7-
maven { url 'https://www.jitpack.io' }
6+
mavenCentral()
87

98
}
109
dependencies {
@@ -20,8 +19,7 @@ buildscript {
2019
allprojects {
2120
repositories {
2221
google()
23-
jcenter()
24-
maven { url 'https://www.jitpack.io' }
22+
mavenCentral()
2523
}
2624
}
2725

Android/APIExample/lib-component/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ dependencies {
3030
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
3131
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
3232

33-
api 'com.github.agorabuilder:native-full-sdk:3.4.5'
33+
api 'io.agora.rtc:full-sdk:3.5.0'
3434
api 'io.agora:agoraplayer:1.2.4'
3535

3636
}

iOS/APIExample/Examples/Advanced/RawAudioData/RawAudioData.swift

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ extension RawAudioDataMain: AgoraRtcEngineDelegate {
209209
// audio data plugin, here you can process raw audio data
210210
// note this all happens in CPU so it comes with a performance cost
211211
extension RawAudioDataMain: AgoraAudioDataFrameProtocol{
212+
212213
func getObservedAudioFramePosition() -> AgoraAudioFramePosition {
213214
return .record
214215
}
@@ -233,6 +234,14 @@ extension RawAudioDataMain: AgoraAudioDataFrameProtocol{
233234
return .record
234235
}
235236

237+
func isMultipleChannelFrameWanted() -> Bool {
238+
return false
239+
}
240+
241+
func onPlaybackAudioFrame(beforeMixingEx frame: AgoraAudioFrame, channelId: String, uid: UInt) -> Bool {
242+
return true
243+
}
244+
236245
func getMixedAudioParams() -> AgoraAudioParam {
237246
let param = AgoraAudioParam()
238247
param.channel = 1

iOS/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ target 'APIExample' do
66
use_frameworks!
77
pod 'Floaty', '~> 4.2.0'
88
pod 'AGEVideoLayout', '~> 1.0.2'
9-
pod 'AgoraRtcEngine_iOS', '3.4.5'
9+
pod 'AgoraRtcEngine_iOS', '3.5.0'
1010
pod 'AgoraMediaPlayer_iOS', '1.2.2'
1111
end
1212

1313
target 'Agora-ScreenShare-Extension' do
1414

1515
use_frameworks!
16-
pod 'AgoraRtcEngine_iOS', '3.4.5'
16+
pod 'AgoraRtcEngine_iOS', '3.5.0'
1717
end

macOS/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ target 'APIExample' do
77

88
# Pods for APIExample
99
pod 'AGEVideoLayout', '~> 1.0.2'
10-
pod 'AgoraRtcEngine_macOS', '3.4.5'
10+
pod 'AgoraRtcEngine_macOS', '3.5.0'
1111

1212
target 'APIExampleTests' do
1313
inherit! :search_paths

windows/APIExample/install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
$ThirdPartysrc = 'https://agora-adc-artifacts.oss-cn-beijing.aliyuncs.com/libs/ThirdParty.zip'
22
$ThirdPartydes = 'ThirdParty.zip'
3-
$agora_sdk = 'https://download.agora.io/sdk/release/Agora_Native_SDK_for_Windows_v3_4_5_FULL.zip'
3+
$agora_sdk = 'https://download.agora.io/sdk/release/Agora_Native_SDK_for_Windows_v3_5_0_FULL.zip'
44
$agora_des = 'Agora_Native_SDK_for_Windows.zip'
55
$MediaPlayerSDK = 'https://download.agora.io/sdk/release/Agora_Media_Player_for_Windows_x86_32597_20200923_2306.zip'
66
$MediaPlayerDes = 'MediaPlayerPartSave.zip'

0 commit comments

Comments
 (0)