Commit 10f365d4 by zhangyunjie

2.5.9.0

parent f44fd877
......@@ -528,9 +528,9 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MODULE_NAME = ExampleApp;
ONLY_ACTIVE_ARCH = NO;
PRODUCT_BUNDLE_IDENTIFIER = com.eoffcn.questions;
PRODUCT_BUNDLE_IDENTIFIER = com.eoffcn.classonline;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = WXQuestionDev;
PROVISIONING_PROFILE_SPECIFIER = ClassonlineDev;
SWIFT_VERSION = 4.0;
WRAPPER_EXTENSION = app;
};
......@@ -549,9 +549,9 @@
INFOPLIST_FILE = "OffcnLiveSDKiOS/OffcnLiveSDKiOS-Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MODULE_NAME = ExampleApp;
PRODUCT_BUNDLE_IDENTIFIER = com.eoffcn.questions;
PRODUCT_BUNDLE_IDENTIFIER = com.eoffcn.classonline;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = WXQuestionDev;
PROVISIONING_PROFILE_SPECIFIER = ClassonlineDev;
SWIFT_VERSION = 4.0;
WRAPPER_EXTENSION = app;
};
......
......@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = 'OffcnLiveSDKiOS'
s.version = '2.5.7.5'
s.version = '2.5.9.0'
s.summary = 'OffcnLiveSDKiOS.'
s.description = <<-DESC
......
......@@ -7,9 +7,9 @@
//
#import <UIKit/UIKit.h>
//#import "OffcnShareWindow.h"
#import "OffcnShareWindow.h"
static const NSString *OffcnLiveSDKVersion = @"2.5.7.5";
static const NSString *OffcnLiveSDKVersion = @"2.5.9.0";
@interface OffcnPlaybackModel : NSObject
//口令
......@@ -78,7 +78,9 @@ typedef void(^OffcnSDKReachabilityStatusCallBack)(OffcnSDKReachabilityStatus sta
+ (OffcnLiveSDK *)defaultService;
//共享窗口
//@property (nonatomic,strong) OffcnShareWindow *shareWindow;
@property (nonatomic, strong) OffcnShareWindow *shareWindow;
@property (nonatomic, assign) BOOL isSmallWindow;
@property (nonatomic, assign) CGRect shareWindowFrame;
//是否支持全屏
@property (nonatomic, assign) BOOL isFull;
......@@ -151,7 +153,10 @@ typedef void(^OffcnSDKReachabilityStatusCallBack)(OffcnSDKReachabilityStatus sta
/**
* resignKeyWindow,并还原到上一次的keyWindow
*/
//- (void)recoverLastKeyWindow;
- (void)recoverLastKeyWindow;
//关闭小窗口
-(void)closeShareWindow;
//开启,关闭日志
-(void)setEnableLog:(BOOL)enable;
......
//
// OffcnShareWindow.h
// OffcnLiveSDK
//
// Created by vockey on 2019/6/10.
// Copyright © 2019 中公教育. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef void(^CallTheService)(void);
@interface OffcnShareWindow : UIWindow
/**
初始化
@param frame frame
@return 对象
*/
- (instancetype)initWithFrame:(CGRect)frame;
/**
设置新的控制器需要移除手势
*/
-(void)setNewVC;
/**
需要展示的视图
*/
@property (nonatomic,strong) UIView *shareView;
/**
触发控制器事件
*/
@property (nonatomic,copy)CallTheService callService;
/**
窗口放大事件
*/
- (void)enlargeWindow;
@end
/*
* Copyright 2014 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#import "RTCSessionDescription+JSON.h"
static NSString const *kRTCSessionDescriptionTypeKey = @"path";
static NSString const *kRTCSessionDescriptionSdpKey = @"sdp";
@implementation RTCSessionDescription (JSON)
+ (RTCSessionDescription *)descriptionFromJSONDictionary:
(NSDictionary *)dictionary {
NSString *typeString = dictionary[kRTCSessionDescriptionTypeKey];
//typeString = [typeString stringByReplacingOccurrencesOfString:@"rtcserver/" withString:@""];
RTCSdpType type = [[self class] typeForString:typeString];
NSString *sdp = dictionary[kRTCSessionDescriptionSdpKey];
return [[RTCSessionDescription alloc] initWithType:type sdp:sdp];
}
- (NSData *)JSONData {
NSString *type = [[self class] stringForType:self.type];
NSDictionary *json = @{
kRTCSessionDescriptionTypeKey : type,
kRTCSessionDescriptionSdpKey : self.sdp
};
return [NSJSONSerialization dataWithJSONObject:json options:0 error:nil];
}
@end
#import "RtcConnection.h"
@implementation RtcConnection
@end
#import "RtcHandle.h"
@implementation RtcHandle
@end
#import "RtcTransaction.h"
@implementation RtcTransaction
@end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment