Skip to content

Commit fb99beb

Browse files
author
zhaoyongqiang
committed
适配4.0.0-rc.1版本
1 parent c8cd0de commit fb99beb

2 files changed

Lines changed: 7 additions & 12 deletions

File tree

iOS/APIExample/Examples/Advanced/VideoProcess/VideoProcess.swift

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,7 @@ class VideoProcessMain : BaseViewController
8282
// make myself a broadcaster
8383
agoraKit.setChannelProfile(.liveBroadcasting)
8484
agoraKit.setClientRole(.broadcaster)
85-
86-
// registered plugin of face beauty and video enhancement
87-
agoraKit.enableExtension(withVendor: "agora", extension: "beauty", enabled: true)
88-
// registered plugin of virtual background segmentation
89-
agoraKit.enableExtension(withVendor: "agora_segmentation", extension: "portrait_segmentation", enabled: true)
90-
85+
9186
// enable video module and set up video encoding configs
9287
agoraKit.enableVideo()
9388
agoraKit.enableAudio()

iOS/Podfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ target 'APIExample' do
88
pod 'Floaty', '~> 4.2.0'
99
pod 'AGEVideoLayout', '~> 1.0.2'
1010
pod 'CocoaAsyncSocket', '7.6.5'
11-
# pod 'AgoraRtcEngine_Special_iOS', '4.0.0.test3'
12-
pod 'sdk', :path => 'sdk.podspec'
11+
pod 'AgoraRtcEngine_Special_iOS', '4.0.0-rc.1'
12+
# pod 'sdk', :path => 'sdk.podspec'
1313
end
1414

1515
target 'Agora-ScreenShare-Extension' do
1616
use_frameworks!
17-
pod 'sdk', :path => 'sdk.podspec'
18-
#pod 'AgoraRtcEngine_Special_iOS', '4.0.0.test3'
17+
# pod 'sdk', :path => 'sdk.podspec'
18+
pod 'AgoraRtcEngine_Special_iOS', '4.0.0-rc.1'
1919
end
2020

2121
target 'SimpleFilter' do
2222
use_frameworks!
23-
pod 'sdk', :path => 'sdk.podspec'
24-
#pod 'AgoraRtcEngine_Special_iOS', '4.0.0.test3'
23+
# pod 'sdk', :path => 'sdk.podspec'
24+
pod 'AgoraRtcEngine_Special_iOS', '4.0.0-rc.1'
2525
end

0 commit comments

Comments
 (0)