Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev/3.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
plutoless committed Aug 26, 2020
2 parents 8b2b42f + 4af35d9 commit ed62fb0
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Android/APIExample/lib-component/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ dependencies {
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'

api 'io.agora.rtc:full-sdk:3.0.0'
api 'io.agora.rtc:full-sdk:3.1.0'
}
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,17 @@ public int getBufferType()
return MediaIO.BufferType.TEXTURE.intValue();
}

@Override
public int getCaptureType() {
return MediaIO.CaptureType.CAMERA.intValue();
}

@Override
public int getContentHint() {
return MediaIO.ContentHint.NONE.intValue();
}


private class ExternalVideoInputThread extends Thread
{
private final String TAG = ExternalVideoInputThread.class.getSimpleName();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,14 @@ extension AgoraCameraSourceMediaIO: AgoraVideoSourceProtocol {
func bufferType() -> AgoraVideoBufferType {
return .pixelBuffer
}

func contentHint() -> AgoraVideoContentHint {
return .none
}

func captureType() -> AgoraVideoCaptureType {
return .camera
}
}

extension AgoraCameraSourceMediaIO: AVCaptureVideoDataOutputSampleBufferDelegate {
Expand Down
2 changes: 1 addition & 1 deletion iOS/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ target 'APIExample' do
use_frameworks!

pod 'AGEVideoLayout', '~> 1.0.2'
pod 'AgoraRtcEngine_iOS', '~> 3.0.0'
pod 'AgoraRtcEngine_iOS', '~> 3.1.0'
pod 'NewPopMenu', '~> 2.0'
end

4 changes: 2 additions & 2 deletions windows/APIExample/install.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$ThirdPartysrc = 'https://agora-adc-artifacts.oss-cn-beijing.aliyuncs.com/libs/ThirdParty.zip'
$ThirdPartydes = 'ThirdParty.zip'
$agora_sdk = 'https://download.agora.io/sdk/release/Agora_Native_SDK_for_Windows_v3_0_1_1_FULL.zip'
$agora_des = 'Agora_Native_SDK_for_Windows_v3_0_1_1_FULL.zip'
$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'
$agora_des = 'Agora_Native_SDK_for_Windows_v3_1_0_FULL.zip'
$MediaPlayerSDK = 'https://download.agora.io/sdk/release/Agora_Media_Player_for_Windows_x86_rel.v1.1.0.16486_20200507_1537.zip'
$MediaPlayerDes = 'MediaPlayerPartSave.zip'

Expand Down

0 comments on commit ed62fb0

Please sign in to comment.