Showing
66 changed files
with
7 additions
and
8 deletions
This file is too large to display.
@@ -382,7 +382,6 @@ SWIFT_CLASS("_TtC10HHMedicSDK4TRTC") | @@ -382,7 +382,6 @@ SWIFT_CLASS("_TtC10HHMedicSDK4TRTC") | ||
382 | - (void)switchCameraFlash:(BOOL)isOpen; | 382 | - (void)switchCameraFlash:(BOOL)isOpen; |
383 | - (void)switchLocalAudio:(BOOL)isOpen; | 383 | - (void)switchLocalAudio:(BOOL)isOpen; |
384 | - (void)switchLocalVideo:(BOOL)isOpen localView:(UIView * _Nonnull)localView; | 384 | - (void)switchLocalVideo:(BOOL)isOpen localView:(UIView * _Nonnull)localView; |
385 | -- (void)sendMsgWithIsSignal:(BOOL)isSignal cmd:(NSString * _Nonnull)cmd to:(NSString * _Nonnull)to; | ||
386 | - (void)leaveRoom; | 385 | - (void)leaveRoom; |
387 | - (void)startRingWithAudioId:(NSInteger)audioId; | 386 | - (void)startRingWithAudioId:(NSInteger)audioId; |
388 | - (void)stopRing; | 387 | - (void)stopRing; |
@@ -97,7 +97,7 @@ extension TRTC : HHSDKVideo.HHRTC { | @@ -97,7 +97,7 @@ extension TRTC : HHSDKVideo.HHRTC { | ||
97 | @objc dynamic public func switchCameraFlash(_ isOpen: Swift.Bool) | 97 | @objc dynamic public func switchCameraFlash(_ isOpen: Swift.Bool) |
98 | @objc dynamic public func switchLocalAudio(_ isOpen: Swift.Bool) | 98 | @objc dynamic public func switchLocalAudio(_ isOpen: Swift.Bool) |
99 | @objc dynamic public func switchLocalVideo(_ isOpen: Swift.Bool, localView: UIKit.UIView) | 99 | @objc dynamic public func switchLocalVideo(_ isOpen: Swift.Bool, localView: UIKit.UIView) |
100 | - @objc dynamic public func sendMsg(isSignal: Swift.Bool, cmd: Swift.String, to: Swift.String) | 100 | + public func sendMsg(isSignal: Swift.Bool, cmd: Swift.String, to: Swift.String) |
101 | @objc dynamic public func leaveRoom() | 101 | @objc dynamic public func leaveRoom() |
102 | @objc dynamic public func startRing(audioId: Swift.Int) | 102 | @objc dynamic public func startRing(audioId: Swift.Int) |
103 | @objc dynamic public func stopRing() | 103 | @objc dynamic public func stopRing() |
No preview for this file type
@@ -97,7 +97,7 @@ extension TRTC : HHSDKVideo.HHRTC { | @@ -97,7 +97,7 @@ extension TRTC : HHSDKVideo.HHRTC { | ||
97 | @objc dynamic public func switchCameraFlash(_ isOpen: Swift.Bool) | 97 | @objc dynamic public func switchCameraFlash(_ isOpen: Swift.Bool) |
98 | @objc dynamic public func switchLocalAudio(_ isOpen: Swift.Bool) | 98 | @objc dynamic public func switchLocalAudio(_ isOpen: Swift.Bool) |
99 | @objc dynamic public func switchLocalVideo(_ isOpen: Swift.Bool, localView: UIKit.UIView) | 99 | @objc dynamic public func switchLocalVideo(_ isOpen: Swift.Bool, localView: UIKit.UIView) |
100 | - @objc dynamic public func sendMsg(isSignal: Swift.Bool, cmd: Swift.String, to: Swift.String) | 100 | + public func sendMsg(isSignal: Swift.Bool, cmd: Swift.String, to: Swift.String) |
101 | @objc dynamic public func leaveRoom() | 101 | @objc dynamic public func leaveRoom() |
102 | @objc dynamic public func startRing(audioId: Swift.Int) | 102 | @objc dynamic public func startRing(audioId: Swift.Int) |
103 | @objc dynamic public func stopRing() | 103 | @objc dynamic public func stopRing() |
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
@@ -647,7 +647,7 @@ SWIFT_PROTOCOL("_TtP10HHSDKVideo5HHRTC_") | @@ -647,7 +647,7 @@ SWIFT_PROTOCOL("_TtP10HHSDKVideo5HHRTC_") | ||
647 | /// 设置闪光灯 | 647 | /// 设置闪光灯 |
648 | - (void)switchCameraFlash:(BOOL)isOpen; | 648 | - (void)switchCameraFlash:(BOOL)isOpen; |
649 | /// 发送房间消息或p2p消息 | 649 | /// 发送房间消息或p2p消息 |
650 | -- (void)sendMsgWithIsSignal:(BOOL)isSignal cmd:(NSString * _Nonnull)cmd to:(NSString * _Nonnull)to; | 650 | +- (void)sendMsgWithIsSignal:(BOOL)isSignal cmd:(NSString * _Nonnull)cmd to:(NSString * _Nonnull)to complete:(void (^ _Nullable)(NSString * _Nullable))complete; |
651 | /// 退房 | 651 | /// 退房 |
652 | - (void)leaveRoom; | 652 | - (void)leaveRoom; |
653 | /// 挂断 | 653 | /// 挂断 |
No preview for this file type
@@ -1166,7 +1166,7 @@ extension EKAttributes { | @@ -1166,7 +1166,7 @@ extension EKAttributes { | ||
1166 | @objc optional func closeDoctorView(userId: Swift.String) | 1166 | @objc optional func closeDoctorView(userId: Swift.String) |
1167 | @objc optional func switchCamera(_ isFront: Swift.Bool) | 1167 | @objc optional func switchCamera(_ isFront: Swift.Bool) |
1168 | @objc optional func switchCameraFlash(_ isOpen: Swift.Bool) | 1168 | @objc optional func switchCameraFlash(_ isOpen: Swift.Bool) |
1169 | - @objc optional func sendMsg(isSignal: Swift.Bool, cmd: Swift.String, to: Swift.String) | 1169 | + @objc optional func sendMsg(isSignal: Swift.Bool, cmd: Swift.String, to: Swift.String, complete: ((Swift.String?) -> Swift.Void)?) |
1170 | @objc optional func leaveRoom() | 1170 | @objc optional func leaveRoom() |
1171 | @objc optional func hangUp(callId: Swift.UInt64) | 1171 | @objc optional func hangUp(callId: Swift.UInt64) |
1172 | @objc optional func startRing(audioId: Swift.Int) | 1172 | @objc optional func startRing(audioId: Swift.Int) |
No preview for this file type
No preview for this file type
@@ -1166,7 +1166,7 @@ extension EKAttributes { | @@ -1166,7 +1166,7 @@ extension EKAttributes { | ||
1166 | @objc optional func closeDoctorView(userId: Swift.String) | 1166 | @objc optional func closeDoctorView(userId: Swift.String) |
1167 | @objc optional func switchCamera(_ isFront: Swift.Bool) | 1167 | @objc optional func switchCamera(_ isFront: Swift.Bool) |
1168 | @objc optional func switchCameraFlash(_ isOpen: Swift.Bool) | 1168 | @objc optional func switchCameraFlash(_ isOpen: Swift.Bool) |
1169 | - @objc optional func sendMsg(isSignal: Swift.Bool, cmd: Swift.String, to: Swift.String) | 1169 | + @objc optional func sendMsg(isSignal: Swift.Bool, cmd: Swift.String, to: Swift.String, complete: ((Swift.String?) -> Swift.Void)?) |
1170 | @objc optional func leaveRoom() | 1170 | @objc optional func leaveRoom() |
1171 | @objc optional func hangUp(callId: Swift.UInt64) | 1171 | @objc optional func hangUp(callId: Swift.UInt64) |
1172 | @objc optional func startRing(audioId: Swift.Int) | 1172 | @objc optional func startRing(audioId: Swift.Int) |
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
-
Please register or login to post a comment