From 520ce309b8e41160c2a7cc6b77a665fa44170cbb Mon Sep 17 00:00:00 2001 From: Yuriy Ganushevich Date: Tue, 5 Jul 2022 14:12:06 +0200 Subject: [PATCH 1/2] Increase the conferenceStartTimer duration --- ...onferenceViewController+VTConferenceDelegate.swift | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/VoxeetUXKit/Code/ViewControllers/ConferenceViewController+VTConferenceDelegate.swift b/VoxeetUXKit/Code/ViewControllers/ConferenceViewController+VTConferenceDelegate.swift index 47a1124..78bb1c9 100644 --- a/VoxeetUXKit/Code/ViewControllers/ConferenceViewController+VTConferenceDelegate.swift +++ b/VoxeetUXKit/Code/ViewControllers/ConferenceViewController+VTConferenceDelegate.swift @@ -130,7 +130,16 @@ extension ConferenceViewController: VTConferenceDelegate { func streamAdded(participant: VTParticipant, stream: MediaStream) { // Monkey patch: wait WebRTC media to be started (avoids sound button to blink). if conferenceStartTimer == nil { - conferenceStartTimer = Timer.scheduledTimer(timeInterval: 1.5, target: self, selector: #selector(conferenceStarted), userInfo: nil, repeats: false) + conferenceStartTimer = Timer.scheduledTimer( + timeInterval: 2, + target: self, + selector: #selector(conferenceStarted), + userInfo: nil, + repeats: false + ) + if let conferenceStartTimer = conferenceStartTimer { + RunLoop.current.add(conferenceStartTimer, forMode: .common) + } } streamUpdated(participant: participant, stream: stream) From 4a65d64ca4ed35898161bb07578ded063fa0c712 Mon Sep 17 00:00:00 2001 From: Yuriy Ganushevich Date: Tue, 5 Jul 2022 14:26:01 +0200 Subject: [PATCH 2/2] Release 1.7.1 --- VoxeetUXKit.podspec | 2 +- VoxeetUXKit.xcodeproj/project.pbxproj | 4 ++-- VoxeetUXKit/Other/settings.plist | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VoxeetUXKit.podspec b/VoxeetUXKit.podspec index a43e09e..89720dc 100644 --- a/VoxeetUXKit.podspec +++ b/VoxeetUXKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = "VoxeetUXKit" - spec.version = "1.7.0" + spec.version = "1.7.1" spec.summary = "The Voxeet UXKit is a quick way of adding premium audio, video chats, and other supported options." spec.author = "Voxeet" spec.homepage = "https://dolby.io" diff --git a/VoxeetUXKit.xcodeproj/project.pbxproj b/VoxeetUXKit.xcodeproj/project.pbxproj index ec4d729..10963ed 100644 --- a/VoxeetUXKit.xcodeproj/project.pbxproj +++ b/VoxeetUXKit.xcodeproj/project.pbxproj @@ -604,7 +604,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.7.0; + MARKETING_VERSION = 1.7.1; PRODUCT_BUNDLE_IDENTIFIER = com.voxeet.uxkit; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -637,7 +637,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 1.7.0; + MARKETING_VERSION = 1.7.1; PRODUCT_BUNDLE_IDENTIFIER = com.voxeet.uxkit; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; diff --git a/VoxeetUXKit/Other/settings.plist b/VoxeetUXKit/Other/settings.plist index 3199b25..a93453c 100644 --- a/VoxeetUXKit/Other/settings.plist +++ b/VoxeetUXKit/Other/settings.plist @@ -23,6 +23,6 @@ UXKitBuild 0 UXKitVersion - 1.7.0 + 1.7.1