Skip to content

Commit 2a10159

Browse files
author
qinhui
committed
Merge branch 'dev/4.5.1' of https://github.com/AgoraIO/API-Examples into dev/4.5.1
2 parents 6ceb4b8 + 9bf95e3 commit 2a10159

File tree

14 files changed

+19
-18
lines changed

14 files changed

+19
-18
lines changed

Android/APIExample-Audio/app/src/main/java/io/agora/api/example/examples/advanced/ProcessAudioRawData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ public boolean onEarMonitoringAudioFrame(int type, int samplesPerChannel, int by
328328
}
329329

330330
@Override
331-
public boolean onPlaybackAudioFrameBeforeMixing(String channelId, int uid, int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type, int rtpTimestamp) {
331+
public boolean onPlaybackAudioFrameBeforeMixing(String channelId, int uid, int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type, int rtpTimestamp, long presentationMs) {
332332
return false;
333333
}
334334

Android/APIExample-Audio/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ android.enableJetifier=true
2121
# read enable simple filter section on README first before set this flag to TRUE
2222
simpleFilter = false
2323

24-
rtc_sdk_version = 4.5.0
24+
rtc_sdk_version = 4.5.1

Android/APIExample-Compose/app/src/main/java/io/agora/api/example/compose/samples/OriginAudioData.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,8 @@ private class OriginAudioDataRewriter(
354354
buffer: ByteBuffer?,
355355
renderTimeMs: Long,
356356
avsync_type: Int,
357-
rtpTimestamp: Int
357+
rtpTimestamp: Int,
358+
presentationMs: Long
358359
) = false
359360

360361
override fun getObservedAudioFramePosition() =

Android/APIExample-Compose/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ kotlin.code.style=official
2222
# thereby reducing the size of the R class for that library
2323
android.nonTransitiveRClass=true
2424

25-
rtc_sdk_version = 4.5.0
25+
rtc_sdk_version = 4.5.1

Android/APIExample-Compose/gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ composeBom = "2023.08.00"
1212
loggingInterceptor = "4.10.0"
1313
materialIconsExtended = "1.6.0"
1414
navigationCompose = "2.7.7"
15-
#agoraSdk = "4.5.0"
15+
#agoraSdk = "4.5.1"
1616
okhttp = "4.10.0"
1717

1818
[libraries]

Android/APIExample/agora-simple-filter/src/main/cpp/AgoraRtcKit/NGIAgoraLocalUser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1577,7 +1577,7 @@ class ILocalUserObserver {
15771577
/**
15781578
* datastream from this connection.
15791579
*/
1580-
virtual void onStreamMessage(user_id_t userId, int streamId, const char* data, size_t length) {}
1580+
virtual void onStreamMessage(user_id_t userId, int streamId, const char* data, size_t length, uint64_t sendTs = 0) {}
15811581

15821582
/**
15831583
* Occurs when the remote user state is updated.

Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/ProcessAudioRawData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ public boolean onEarMonitoringAudioFrame(int type, int samplesPerChannel, int by
340340
}
341341

342342
@Override
343-
public boolean onPlaybackAudioFrameBeforeMixing(String channelId, int uid, int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type, int rtpTimestamp) {
343+
public boolean onPlaybackAudioFrameBeforeMixing(String channelId, int uid, int type, int samplesPerChannel, int bytesPerSample, int channels, int samplesPerSec, ByteBuffer buffer, long renderTimeMs, int avsync_type, int rtpTimestamp, long presentationMs) {
344344
return false;
345345
}
346346

Android/APIExample/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ simpleFilter = false
2323
# read enable stream encrypt section on README first before set this flag to TRUE
2424
streamEncrypt = false
2525

26-
rtc_sdk_version = 4.5.0
26+
rtc_sdk_version = 4.5.1

iOS/APIExample-Audio/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ target 'APIExample-Audio' do
77

88
pod 'Floaty', '~> 4.2.0'
99
pod 'AGEVideoLayout', '~> 1.0.2'
10-
pod 'AgoraAudio_iOS', '4.5.0'
10+
pod 'AgoraAudio_iOS', '4.5.1'
1111
# pod 'sdk', :path => 'sdk.podspec'
1212
end
1313

1414
pre_install do |installer|
15-
# system("sh .download_script.sh 4.5.0 true")
15+
# system("sh .download_script.sh 4.5.1 true")
1616
end

iOS/APIExample-OC/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# platform :ios, '9.0'
33

44
def common_pods
5-
pod 'AgoraRtcEngine_iOS', '4.5.0'
5+
pod 'AgoraRtcEngine_iOS', '4.5.1'
66
# pod 'sdk', :path => 'sdk.podspec'
77
end
88

@@ -26,5 +26,5 @@ target 'SimpleFilter' do
2626
end
2727

2828
pre_install do |installer|
29-
# system("sh .download_script.sh 4.5.0 true")
29+
# system("sh .download_script.sh 4.5.1 true")
3030
end

0 commit comments

Comments
 (0)