33 lines
671 B
Objective-C
33 lines
671 B
Objective-C
//
|
|
// RTCManager.h
|
|
// xplan-ios
|
|
//
|
|
// Created by zu on 2021/10/19.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "RtcDelegate.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
typedef enum : NSUInteger {
|
|
RtcEngineType_Zego,//即构
|
|
RtcEngineType_Agora,//声网
|
|
RtcEngineType_WJ,//无界
|
|
RtcEngineType_AgoraFast,//声网急速
|
|
} RtcEngineType;
|
|
|
|
@interface RtcManager : NSObject
|
|
|
|
@property (nonatomic, strong, readonly) id<RtcDelegate> engine;
|
|
|
|
+ (instancetype _Nonnull)sharedEngineWithType:(RtcEngineType)type;
|
|
- (instancetype)init NS_UNAVAILABLE;
|
|
+ (instancetype)new NS_UNAVAILABLE;
|
|
- (id)copy NS_UNAVAILABLE;
|
|
- (id)mutableCopy NS_UNAVAILABLE;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|