- (void)setVideoConfig:(XHVideoConfig *)config;
- (void)addDelegate:(id<XHLiveManagerDelegate>)delegate;
- (void)createLive:(XHLiveItem *)liveItem completion:(void(^)(NSString *liveID, NSError *error))completion;
- (void)startLive:(NSString *)liveID completion:(void(^)(NSError *error))completion;
- (void)watchLive:(NSString *)liveID completion:(void(^)(NSError *error))completion;
- (void)applyToBroadcaster:(NSString *)toID completion:(void(^)(NSError *error))completion;
- (void)agreeApplyToBroadcaster:(NSString *)toID completion:(void(^)(NSError *error))completion;
- (void)refuseApplyToBroadcaster:(NSString *)toID completion:(void(^)(NSError *error))completion;
- (void)inviteToBroadcaster:(NSString *)toID completion:(void(^)(NSError *error))completion;
- (void)agreeInviteToBroadcaster:(NSString *)toID completion:(void(^)(NSError *error))completion;
- (void)refuseInviteToBroadcaster:(NSString *)toID completion:(void(^)(NSError *error))completion;
- (void)commandToAudience:(NSString *)toID completion:(void(^)(NSError *error))completion;
- (void)changeToAudience;
- (void)changeToBroadcaster;
- (void)leaveLive:(NSString *)liveID completion:(void(^)(NSError *error))completion;
- (XHCameraDirection)switchCamera;
- (void)changeToBig:(UIView *)view;
- (void)changeToSmall:(UIView *)view;
- (void)sendMessage:(NSString *)message completion:(void(^)(NSError *error))completion;
- (void)sendMessage:(NSString *)message toID:(NSString *)toID completion:(void(^)(NSError *error))completion;
- (void)muteMember:(NSString *)member muteSeconds:(NSInteger)seconds fromLive:(NSString *)liveId completion:(void(^)(NSError *error))completion;
- (void)unMuteMember:(NSString *)member fromLive:(NSString *)liveId completion:(void(^)(NSError *error))completion;
- (void)kickMember:(NSString *)member fromLive:(NSString *)liveId completion:(void(^)(NSError *error))completion;
|