Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
89b9849
[Android]Adapt to 4.4.0 sdk
xgfd3 Jun 14, 2024
eaa30b1
[Android][Audio]Adapt to 4.4.0 sdk.
xgfd3 Jun 14, 2024
0c09d0f
[Android][Compose]Adapt to 4.4.0 sdk.
xgfd3 Jun 14, 2024
86db972
[Android]1.add voiceAITuner config;2.add TransparentRendering case.
xgfd3 Jun 17, 2024
a326ac9
[Android]update sdk version in gradle config.
xgfd3 Jun 17, 2024
375bb62
[Android][Audio]add voice AI Tuner config to VoiceEffects case.
xgfd3 Jun 17, 2024
e95ca4b
[Windows]Adapt to 4.4.0.
xgfd3 Jun 17, 2024
d10be95
[windows] add ai tuner config.
xgfd3 Jun 17, 2024
07aec3c
feat: upgrade sdk to 4.4.0
tamworth Jun 17, 2024
4b003a9
feat: enable setup voice ai tuner
tamworth Jun 17, 2024
92ab8ef
feat: add new case(transparent render)
tamworth Jun 18, 2024
11b81ed
fix: clean rtc when leave room
tamworth Jun 18, 2024
787ded8
feat: add voice ai tuner to mac
tamworth Jun 18, 2024
f832e26
·fix: keycenter minor changes
tamworth Jun 18, 2024
471a723
Merge remote-tracking branch 'origin/dev/4.4.0' into dev/4.4.0_ios
tamworth Jun 18, 2024
3b026ea
[Android]Renew token service url.
xgfd3 Jun 24, 2024
85f61f9
feat: upgrade sdk to 4.4.0
tamworth Jun 17, 2024
f9799ee
feat: enable setup voice ai tuner
tamworth Jun 17, 2024
f6371d8
feat: add new case(transparent render)
tamworth Jun 18, 2024
8da4580
fix: clean rtc when leave room
tamworth Jun 18, 2024
e3b2595
feat: add voice ai tuner to mac
tamworth Jun 18, 2024
d351198
·fix: keycenter minor changes
tamworth Jun 18, 2024
b29e034
[FEAT] conditional import third party player in audio route
May 30, 2024
d028327
[iOS/Mac]Renew token service url.
xgfd3 Jun 24, 2024
4fa2357
fix: revert cert default value
tamworth Jun 24, 2024
73bfcbf
Merge remote-tracking branch 'origin/dev/4.4.0' into dev/4.4.0_ios
tamworth Jun 24, 2024
eacd6a6
fix: revert cert
tamworth Jun 24, 2024
11e16c3
Merge pull request #393 from AgoraIO/dev/4.4.0_ios
tamworth Jun 24, 2024
36712f8
fix: minor changes
tamworth Jun 24, 2024
d692735
fix: revert
tamworth Jun 24, 2024
9842be2
fix: remove -ld_classic
tamworth Jun 24, 2024
68d6375
Merge pull request #394 from AgoraIO/dev/4.4.0_ios
tamworth Jun 24, 2024
f3af557
[Android]fix tansparent rendering video bug.
xgfd3 Jun 24, 2024
0662ab7
[Android]update cpp include files.
xgfd3 Jun 27, 2024
d6b06d1
[Android]TansparentRendering add encodeAlpha config and etc
xgfd3 Jun 27, 2024
9a356cd
[Android][Compose]perfect audio route.
xgfd3 Jun 27, 2024
49f11ea
[iOS][OC]fix metadata receive crash(NMS-21946).
xgfd3 Jun 27, 2024
b80b9fc
[iOS]fix audio router player bug(NMS-21940).
xgfd3 Jun 27, 2024
a37ad70
[iOS]fix fusion CDN bug(NMS-21901).
xgfd3 Jun 27, 2024
1b65451
[Mac]fix take multi snapshot bug(NMS-21934).
xgfd3 Jun 27, 2024
bc036bb
[iOS]update ci build.
xgfd3 Jun 27, 2024
b84bc70
[Mac]fix CustomVideoSourcePushMulti render bug(NMS-21932).
xgfd3 Jun 30, 2024
1839b84
fix: pip dosent on iOS 15
tamworth Jul 1, 2024
bbc479a
Merge branch 'dev/4.4.0' of https://github.com/AgoraIO/API-Examples i…
tamworth Jul 1, 2024
b6bc776
[Windows]remove adative render mode choice.
xgfd3 Jul 1, 2024
412f5ba
fix: custom video source crash fixed
tamworth Jul 2, 2024
192c667
Merge branch 'dev/4.4.0' of https://github.com/AgoraIO/API-Examples i…
tamworth Jul 2, 2024
141232d
fix: fix for main thread hang during exit in funstion cdn
tamworth Jul 2, 2024
cd01b3a
[Android]fix sensetime beauty bug.
xgfd3 Jul 3, 2024
9f0eca4
fix: download file completion crash fixed
tamworth Jul 8, 2024
525616b
[Android]update ci build script.
Jul 14, 2024
7188796
fix: compile fail
tamworth Jul 15, 2024
02cd9a5
Merge branch 'dev/4.4.0' of https://github.com/AgoraIO/API-Examples i…
tamworth Jul 15, 2024
33c74cc
[Android]Add media player info display.
Jul 17, 2024
bad8485
[Android]perfect extension sample and update head include files.
Jul 18, 2024
6441a7b
fix: custom video render fix ui freeze
tamworth Jul 22, 2024
b4aa2e7
fix: custom render fix freeze
tamworth Jul 22, 2024
ae12f82
Merge branch 'dev/4.4.0' of https://github.com/AgoraIO/API-Examples i…
tamworth Jul 22, 2024
314ee76
fix: play samples fixed
tamworth Jul 24, 2024
07e1153
[Android][Compose]rename audio basic case file name.
Aug 6, 2024
05c08d5
fix: rename class
tamworth Aug 6, 2024
adc10a4
Merge branch 'dev/4.4.0' of https://github.com/AgoraIO/API-Examples i…
tamworth Aug 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[Android][Compose]Adapt to 4.4.0 sdk.
  • Loading branch information
xgfd3 committed Jun 14, 2024
commit 0c09d0fad96ee7c66d1dd32b10952037f336351e
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,8 @@ class CustomVideoRenderRender(
0,
0,
viewportWidth,
viewportHeight
viewportHeight,
0
)
} catch (exception: NullPointerException) {
Log.e(TAG, "skip empty buffer!")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import io.agora.rtc2.IMetadataObserver
import io.agora.rtc2.IRtcEngineEventHandler
import io.agora.rtc2.RtcEngine
import io.agora.rtc2.RtcEngineConfig
import io.agora.rtc2.video.AgoraMetadata
import io.agora.rtc2.video.VideoCanvas
import io.agora.rtc2.video.VideoEncoderConfiguration

Expand Down Expand Up @@ -170,8 +171,8 @@ fun MediaMetadata() {
return data
}

override fun onMetadataReceived(buffer: ByteArray?, uid: Int, timeStampMs: Long) {
receivedMetadata = buffer?.toString(Charsets.UTF_8) ?: ""
override fun onMetadataReceived(metadata: AgoraMetadata) {
receivedMetadata = metadata.data?.toString(Charsets.UTF_8) ?: ""
}

}, IMetadataObserver.VIDEO_METADATA)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public Integer drawYuv(byte[] yuv, int width, int height) {
matrix.preTranslate(0.5f, 0.5f);
matrix.preScale(1f, -1f); // I420-frames are upside down
matrix.preTranslate(-0.5f, -0.5f);
glRectDrawer.drawYuv(yuvUploader.getYuvTextures(), 0, RendererCommon.convertMatrixFromAndroidGraphicsMatrix(matrix), width, height, 0, 0, width, height);
glRectDrawer.drawYuv(yuvUploader.getYuvTextures(), 0, RendererCommon.convertMatrixFromAndroidGraphicsMatrix(matrix), width, height, 0, 0, width, height, 0);

GLES20.glBindFramebuffer(GLES20.GL_FRAMEBUFFER, 0);
GLES20.glFlush();
Expand Down
2 changes: 1 addition & 1 deletion Android/APIExample-Compose/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ composeBom = "2023.08.00"
loggingInterceptor = "4.10.0"
materialIconsExtended = "1.6.0"
navigationCompose = "2.7.7"
agoraSdk = "4.3.2"
agoraSdk = "4.4.0"
okhttp = "4.10.0"

[libraries]
Expand Down