From 1443556e9ccb1a19ed8e6710c16c8adc4d4f4fb3 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 04 十一月 2021 14:19:55 +0800 Subject: [PATCH] 2021-11-04 1.更新SDK --- iOS/Xamarin/LCOnDemo/LCOnDemo/LCSDK/LCOnIntercomViewController.m | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/iOS/Xamarin/LCOnDemo/LCOnDemo/LCSDK/LCOnIntercomViewController.m b/iOS/Xamarin/LCOnDemo/LCOnDemo/LCSDK/LCOnIntercomViewController.m index 30221f9..b77c995 100644 --- a/iOS/Xamarin/LCOnDemo/LCOnDemo/LCSDK/LCOnIntercomViewController.m +++ b/iOS/Xamarin/LCOnDemo/LCOnDemo/LCSDK/LCOnIntercomViewController.m @@ -664,8 +664,9 @@ /** 6. 璁剧疆瀵嗛挜锛屽鏋滀负鐢ㄦ埛鑷畾涔夊瘑閽ヤ负鍏蜂綋瀵嗛挜锛� 闈炵敤鎴疯嚜瀹氬瘑閽ュ彲涓鸿澶囧簭鍒楀彿*/ param.psk = [[LCApiKit sharedInstance] currentPsk]; /** 7. 璁剧疆鎾斁瀵嗛挜锛岄潪蹇呬紶锛屼紶浜嗕細鎻愬崌鎷夋祦閫熷害 */ - param.playToken = [[LCApiKit sharedInstance] currentDevicePlayToken];; - + param.playToken = [[LCApiKit sharedInstance] currentDevicePlayToken]; + /** 8. 瀵硅璇锋眰绫诲瀷锛宑all鍛煎彨锛屽鏋滀笉浼狅紝榛樿涓簍alk */ + param.talkType = @"call";//2021-10-28 鏂板 NSInteger result = [self.talker playTalk:param]; if (result != 0) { //閿欒澶勭悊 @@ -1078,11 +1079,11 @@ - (void)stopPlaySystemSound{ // return; NSLog(@"stop PlaySystemSound"); - stopRingAndVibration(); + LCStopRingAndVibration(); } //鍋滄鍝嶉搩鍜岄渿鍔紝绉婚櫎鍥炶皟骞跺鐞嗘帀閾冨0鍜岄渿鍔� -void stopRingAndVibration() { +void LCStopRingAndVibration() { AudioServicesRemoveSystemSoundCompletion(kSystemSoundID_Vibrate); // AudioServicesRemoveSystemSoundCompletion(sound); AudioServicesDisposeSystemSoundID(kSystemSoundID_Vibrate); -- Gitblit v1.8.0