diff --git a/AgoraRtmControl_iOS.podspec b/AgoraRtmControl_iOS.podspec index 73912cc..1fd690b 100644 --- a/AgoraRtmControl_iOS.podspec +++ b/AgoraRtmControl_iOS.podspec @@ -9,7 +9,7 @@ Pod::Spec.new do |s| s.name = 'AgoraRtmControl_iOS' s.module_name = 'AgoraRtmControl' - s.version = ENV['LIB_VERSION'] || '4.0.0' + s.version = ENV['LIB_VERSION'] || '4.0.1-beta.1' s.summary = 'Agora Real-time Messaging Wrapper.' s.description = <<-DESC diff --git a/AgoraUIKit_iOS.podspec b/AgoraUIKit_iOS.podspec index bb7fad5..daaca44 100644 --- a/AgoraUIKit_iOS.podspec +++ b/AgoraUIKit_iOS.podspec @@ -9,7 +9,7 @@ Pod::Spec.new do |s| s.name = 'AgoraUIKit_iOS' s.module_name = 'AgoraUIKit' - s.version = ENV['LIB_VERSION'] || '4.0.0' + s.version = ENV['LIB_VERSION'] || '4.0.1-beta.1' s.summary = 'Agora video session UIKit template.' s.description = <<-DESC diff --git a/Sources/Agora-Video-UIKit/AgoraUIKit.swift b/Sources/Agora-Video-UIKit/AgoraUIKit.swift index 0727b57..ef4f28e 100644 --- a/Sources/Agora-Video-UIKit/AgoraUIKit.swift +++ b/Sources/Agora-Video-UIKit/AgoraUIKit.swift @@ -22,7 +22,7 @@ public struct AgoraUIKit: Codable { /// Framework type of UIKit. "native", "flutter", "reactnative" fileprivate(set) var framework: String /// Version of UIKit being used - static let version = "4.0.0" + static let version = "4.0.1-beta.1" /// Framework type of UIKit. "native", "flutter", "reactnative" static let framework = "native" #if os(iOS) diff --git a/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift b/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift index 577a390..482772e 100644 --- a/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift +++ b/Sources/Agora-Video-UIKit/AgoraVideoViewer.swift @@ -273,6 +273,7 @@ open class AgoraVideoViewer: MPView, SingleVideoViewDelegate { let engine = AgoraRtcEngineKit.sharedEngine( withAppId: connectionData.appId, delegate: self ) + engine.setParameters("{\"rtc.using_ui_kit\": 1}") engine.enableAudioVolumeIndication(1000, smooth: 3, reportVad: self.agoraSettings.reportLocalVolume) engine.setChannelProfile(.liveBroadcasting) if self.agoraSettings.usingDualStream {