GumpLiveSDK.h
836 Bytes
//
// GumpLiveSDK.h
// GumpLiveSDK
//
// Created by yanglele on 2017/9/27.
// Copyright © 2017年 yanglele. All rights reserved.
//
#import <UIKit/UIkit.h>
#import <Foundation/Foundation.h>
static NSString *viersion = @"1.0.0";
@interface GumpLiveSDK : NSObject
+(instancetype)instance;
-(NSString *)version;
//初始化直播悬浮view,并且开始播放
-(void)increaseLiveViewAndStrtWithViewController:(UIViewController *)viewController
initialFrame:(CGRect)frame
appID:(NSString *)appId
success:(void (^)(NSString *resultStr))success
failuer:(void (^)(NSString *errorStr))failure;
//暂停播放
- (void)pauseLivePlay;
//恢复播放
- (void)resumeLivePlay;
//停止播放
- (void)stopLivePlay;
@end