File tree Expand file tree Collapse file tree
APIExample/Examples/Advanced/RawAudioData Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33buildscript {
44 repositories {
55 google()
6- jcenter()
7- maven { url ' https://www.jitpack.io' }
6+ mavenCentral()
87
98 }
109 dependencies {
@@ -20,8 +19,7 @@ buildscript {
2019allprojects {
2120 repositories {
2221 google()
23- jcenter()
24- maven { url ' https://www.jitpack.io' }
22+ mavenCentral()
2523 }
2624}
2725
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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
211211extension 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
Original file line number Diff line number Diff 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'
1111end
1212
1313target 'Agora-ScreenShare-Extension' do
1414
1515 use_frameworks!
16- pod 'AgoraRtcEngine_iOS' , '3.4.5 '
16+ pod 'AgoraRtcEngine_iOS' , '3.5.0 '
1717end
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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'
You can’t perform that action at this time.
0 commit comments