Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ed62fb0

Browse files
committed
Merge remote-tracking branch 'origin/dev/3.1.0'
2 parents 8b2b42f + 4af35d9 commit ed62fb0

File tree

5 files changed

+23
-4
lines changed

5 files changed

+23
-4
lines changed

Android/APIExample/lib-component/build.gradle

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

33-
api 'io.agora.rtc:full-sdk:3.0.0'
33+
api 'io.agora.rtc:full-sdk:3.1.0'
3434
}

Android/APIExample/lib-switch-external-video/src/main/java/io/agora/advancedvideo/externvideosource/ExternalVideoInputManager.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,17 @@ public int getBufferType()
181181
return MediaIO.BufferType.TEXTURE.intValue();
182182
}
183183

184+
@Override
185+
public int getCaptureType() {
186+
return MediaIO.CaptureType.CAMERA.intValue();
187+
}
188+
189+
@Override
190+
public int getContentHint() {
191+
return MediaIO.ContentHint.NONE.intValue();
192+
}
193+
194+
184195
private class ExternalVideoInputThread extends Thread
185196
{
186197
private final String TAG = ExternalVideoInputThread.class.getSimpleName();

iOS/APIExample/Common/ExternalVideo/AgoraCameraSourceMediaIO.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,14 @@ extension AgoraCameraSourceMediaIO: AgoraVideoSourceProtocol {
178178
func bufferType() -> AgoraVideoBufferType {
179179
return .pixelBuffer
180180
}
181+
182+
func contentHint() -> AgoraVideoContentHint {
183+
return .none
184+
}
185+
186+
func captureType() -> AgoraVideoCaptureType {
187+
return .camera
188+
}
181189
}
182190

183191
extension AgoraCameraSourceMediaIO: AVCaptureVideoDataOutputSampleBufferDelegate {

iOS/Podfile

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

99
pod 'AGEVideoLayout', '~> 1.0.2'
10-
pod 'AgoraRtcEngine_iOS', '~> 3.0.0'
10+
pod 'AgoraRtcEngine_iOS', '~> 3.1.0'
1111
pod 'NewPopMenu', '~> 2.0'
1212
end
1313

windows/APIExample/install.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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_0_1_1_FULL.zip'
4-
$agora_des = 'Agora_Native_SDK_for_Windows_v3_0_1_1_FULL.zip'
3+
$agora_sdk = 'https://download.agora.io/sdk/release/Agora_Native_SDK_for_Windows_v3_1_0_FULL.zip?_ga=2.112897604.1543767373.1598420161-359641476.1551176445'
4+
$agora_des = 'Agora_Native_SDK_for_Windows_v3_1_0_FULL.zip'
55
$MediaPlayerSDK = 'https://download.agora.io/sdk/release/Agora_Media_Player_for_Windows_x86_rel.v1.1.0.16486_20200507_1537.zip'
66
$MediaPlayerDes = 'MediaPlayerPartSave.zip'
77

0 commit comments

Comments
 (0)