Skip to content

Commit

Permalink
added SDK logging when using UI Kit
Browse files Browse the repository at this point in the history
  • Loading branch information
maxxfrazer committed Sep 18, 2022
1 parent ac32f0f commit 6c1af15
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AgoraRtmControl_iOS.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion AgoraUIKit_iOS.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Sources/Agora-Video-UIKit/AgoraUIKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions Sources/Agora-Video-UIKit/AgoraVideoViewer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6c1af15

Please sign in to comment.